# magent MINDS (Minnesota Detoxification Scale) Calculator

> magent MINDS (Minnesota Detoxification Scale) Calculator is a paid API for AI agents from api.magentlab.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Computes the DeCarolis 2007 MINDS alcohol withdrawal severity score (0–46) from caller-assigned clinical observations across nine subscales

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/mminds
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/magent-minds-minnesota-detoxification-scale-calculator-86323c9e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_c4y6r7MBpcAoRhst4pPdg

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability magent-minds-minnesota-detoxification-scale-calculator-86323c9e
```

Example prompt: Calculate the MINDS alcohol withdrawal score for a patient with pulse over 110, diastolic BP between 90 and 110, moderate tremor, beads of sweat, grade-2 hallucinations, somewhat greater agitation, oriented to only 2 things, no delusions, and no seizures.

## When to prefer this

Use this endpoint when you need a programmatic, reproducible computation of the DeCarolis 2007 MINDS alcohol withdrawal score and already have observer-assigned clinical values for all nine subscales. It is ideal for clinical decision-support pipelines, EHR integrations, or AI agents that collect structured withdrawal observations and need a standardized numeric severity output without any patient examination or benzodiazepine dosing logic.

## Known failure modes

- Missing required query parameters (pulse, diastolic_bp, tremor, sweat, hallucinations, agitation, orientation, delusions, seizures) returns a 400-level error
- Invalid enum values for categorical fields return validation errors
- Payment not provided or failed x402 flow returns 402 Payment Required
- Network timeout or service unavailability returns 5xx error
- Caller supplies clinically inconsistent combinations (e.g. intubated + pacing agitation) — the API applies weights mechanically without clinical validation

## How this service works

DeCarolis 2007 MINDS (Minnesota Detoxification Scale) 0-46: pulse and diastolic BP lt_90/90_to_110/gt_110 → 0/1/2; tremor and sweat 0/2/4/6; hallucinations 0-3; agitation 0/3/6/9; orientation 0/2/4/6 (intubated 0); delusions and seizures 6 if true. magent publishes those DeCarolis 2007 weights, not a RASS modification, and does not examine the patient. Not a benzodiazepine order.

## Output

Returns the computed MINDS (Minnesota Detoxification Scale) total score from 0 to 46, derived from the nine caller-supplied subscale values using DeCarolis 2007 weights: pulse (0/1/2), diastolic BP (0/1/2), tremor (0/2/4/6), sweat (0/2/4/6), hallucinations (0–3), agitation (0/3/6/9), orientation (0/2/4/6; intubated=0), delusions (0 or 6), seizures (0 or 6). Higher scores indicate greater withdrawal severity.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "required": [
      "pulse",
      "diastolic_bp",
      "tremor",
      "sweat",
      "hallucinations",
      "agitation",
      "orientation",
      "delusions",
      "seizures"
     ],
     "properties": {
      "pulse": {
       "enum": [
        "lt_90",
        "90_to_110",
        "gt_110"
       ],
       "type": "string",
       "description": "Caller-assigned DeCarolis 2007 pulse band: lt_90 (0; pulse <90), 90_to_110 (1), or gt_110 (2; pulse >110). magent does not measure pulse."
      },
      "sweat": {
       "enum": [
        "absent",
        "moist_palms",
        "beads",
        "drenching"
       ],
       "type": "string",
       "description": "Caller-assigned DeCarolis 2007 sweat: absent (0), moist_palms (2), beads (4), or drenching (6). magent does not examine the patient."
      },
      "tremor": {
       "enum": [
        "absent",
        "visible",
        "moderate",
        "severe"
       ],
       "type": "string",
       "description": "Caller-assigned DeCarolis 2007 tremor: absent (0), visible (2), moderate (4), or severe (6). magent does not examine the patient."
      },
      "seizures": {
       "type": "boolean",
       "description": "Caller-assigned DeCarolis 2007 seizures. true scores 6. magent does not examine the patient."
      },
      "agitation": {
       "enum": [
        "normal",
        "somewhat_greater",
        "moderately_fidgety",
        "pacing_thrashing"
       ],
       "type": "string",
       "description": "Caller-assigned DeCarolis 2007 agitation: normal (0), somewhat_greater (3), moderately_fidgety (6), or pacing_thrashing (9). Not a RASS item. magent does not examine the patient."
      },
      "delusions": {
       "type": "boolean",
       "description": "Caller-assigned DeCarolis 2007 delusions. true scores 6. magent does not examine the patient."
      },
      "orientation": {
       "enum": [
        "x3",
        "x2",
        "x1"
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/magent-minds-minnesota-detoxification-scale-calculator-86323c9e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.magentlab.com](https://www.zero.xyz/host/api.magentlab.com/llms.txt)
