# magent HII (Hack 2014 Impairment Index) Calculator

> magent HII (Hack 2014 Impairment Index) 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 Hack 2014 H-Impairment Index (HII) from up to five caller-assigned bedside task scores (gross motor, mentation/speech, tracing curve, nystagmus, finger-to-nose), returning a normalized 0–1 impairment score.

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/hii
- 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-hii-hack-2014-impairment-index-calculator-7e0a5749
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CJ5yUlX8RMh3pLgQ1zInk

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-hii-hack-2014-impairment-index-calculator-7e0a5749
```

Example prompt: Calculate the Hack 2014 H-Impairment Index for a patient who scored 2 on gross motor, 3 on mentation and speech, 1 on tracing curve, and 2 on nystagmus — finger-to-nose was not attempted.

## When to prefer this

Use this endpoint when you need to programmatically compute the Hack 2014 H-Impairment Index from clinician-assigned bedside task scores, especially when one or more tasks were not attempted (partial completion). Prefer this over manual calculation to ensure correct normalization by the number of completed tasks. Not a substitute for clinical judgment, diagnosis, or legal sobriety determination.

## Known failure modes

- Missing all task parameters — no completed tasks to average
- Task score out of range — only integers 0–4 are accepted per task
- Invalid query parameter type — non-integer values rejected
- API payment failure (x402) if USDC payment not provided

## How this service works

Hack 2014 H-Impairment Index (HII). Five caller-assigned bedside tasks (gross motor, mentation and speech, tracing curve, nystagmus, finger-to-nose), each integer 0-4. HII is completed-sum / (4 × completed tasks); denominator 20 if all five; range 0-1. Omit a task that was not attempted. Serial decline is not modeled. Does not take blood alcohol concentration. Not a diagnosis, discharge order, or legal sobriety test. magent does not examine the patient.

## Output

Returns the normalized HII score as a decimal between 0 and 1, computed as the sum of completed task scores divided by 4 times the number of completed tasks (maximum denominator 20 if all five tasks are completed). Tasks omitted from the request are excluded from the denominator.

## 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": [],
     "properties": {
      "nystagmus": {
       "enum": [
        0,
        1,
        2,
        3,
        4
       ],
       "type": "integer",
       "description": "Caller-assigned Hack 2014 HII nystagmus (integer 0-4). Omit when that task was not attempted. magent does not examine the patient."
      },
      "gross_motor": {
       "enum": [
        0,
        1,
        2,
        3,
        4
       ],
       "type": "integer",
       "description": "Caller-assigned Hack 2014 HII gross motor function (integer 0-4). Omit when that task was not attempted. magent does not examine the patient."
      },
      "tracing_curve": {
       "enum": [
        0,
        1,
        2,
        3,
        4
       ],
       "type": "integer",
       "description": "Caller-assigned Hack 2014 HII tracing curve (integer 0-4). Omit when that task was not attempted. magent does not examine the patient."
      },
      "finger_to_nose": {
       "enum": [
        0,
        1,
        2,
        3,
        4
       ],
       "type": "integer",
       "description": "Caller-assigned Hack 2014 HII finger-to-nose (integer 0-4). Omit when that task was not attempted. magent does not examine the patient."
      },
      "mentation_speech": {
       "enum": [
        0,
        1,
        2,
        3,
        4
       ],
       "type": "integer",
       "description": "Caller-assigned Hack 2014 HII mentation and speech (integer 0-4). Omit when that task was not attempted. magent does not examine the patient."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/magent-hii-hack-2014-impairment-index-calculator-7e0a5749/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)
