# magent NIH Stroke Scale (Brott 1989) Calculator

> magent NIH Stroke Scale (Brott 1989) 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 original Brott 1989 NIH Stroke Scale total score (0–37) from 15 caller-assigned neurological examination integers

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/nihss
- 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-nih-stroke-scale-brott-1989-calculator-6436474f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FUkEjLjE6hULFmBejqnO2

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-nih-stroke-scale-brott-1989-calculator-6436474f
```

Example prompt: Calculate the Brott 1989 NIHSS score for a patient with: LOC 1, LOC questions 1, LOC commands 0, pupillary response 1, best gaze 1, best visual 1, facial palsy 2, best motor arm 2, best motor leg 2, plantar reflex 1, limb ataxia 1, sensory 1, neglect 1, dysarthria 1, best language 1.

## When to prefer this

Use this endpoint when you need to compute the original Brott 1989 15-category NIH Stroke Scale total score (0–37) from pre-assigned integer exam values, as distinct from the later 11-category NINDS form or the modified NIHSS (mNIHSS). Choose this when clinical documentation specifically references the 1989 version with pupillary response and plantar reflex items included. Not appropriate as a replacement for clinical examination, as a diagnostic tool, or for tPA eligibility decisions.

## Known failure modes

- Missing any of the 15 required query parameters returns a validation error
- Integer values outside the allowed enum range for any category cause a rejected request
- Non-integer or string values for numeric fields result in a schema error
- Network or server errors may return 5xx responses
- Payment failure or insufficient funds returns 402 Payment Required

## How this service works

Brott 1989 NIH stroke scale: 15 caller-assigned exam integers including pupillary response (0-2) and plantar reflex (0-3), with weaker-limb motor arm (0-4) and motor leg (0-3). Sum 0-37. Not the later NINDS 11-category form, not mNIHSS, and not a tPA order. magent does not examine the patient. No total-score severity bands in Brott 1989; later website cutoffs are not applied. Not a diagnosis and not a medical device.

## Output

Returns the summed Brott 1989 NIH Stroke Scale total score (integer, range 0–37) derived from the 15 caller-supplied neurological examination category integers. No severity band labels, no diagnosis, no treatment recommendation.

## 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": [
      "loc",
      "loc_questions",
      "loc_commands",
      "pupillary_response",
      "best_gaze",
      "best_visual",
      "facial_palsy",
      "best_motor_arm",
      "best_motor_leg",
      "plantar_reflex",
      "limb_ataxia",
      "sensory",
      "neglect",
      "dysarthria",
      "best_language"
     ],
     "properties": {
      "loc": {
       "enum": [
        0,
        1,
        2,
        3
       ],
       "type": "integer",
       "description": "Caller-assigned Brott 1989 level of consciousness (integer 0-3): 0 alert, 1 drowsy, 2 stuporous, 3 coma. magent does not examine the patient."
      },
      "neglect": {
       "enum": [
        0,
        1,
        2
       ],
       "type": "integer",
       "description": "Caller-assigned Brott 1989 neglect (integer 0-2): 0 no neglect, 1 partial neglect, 2 complete neglect. magent does not examine the patient."
      },
      "sensory": {
       "enum": [
        0,
        1,
        2
       ],
       "type": "integer",
       "description": "Caller-assigned Brott 1989 sensory (integer 0-2): 0 normal, 1 partial loss, 2 dense loss. magent does not examine the patient."
      },
      "best_gaze": {
       "enum": [
        0,
        1,
        2
       ],
       "type": "integer",
       "description": "Caller-assigned Brott 1989 best gaze (integer 0-2): 0 normal, 1 partial gaze palsy, 2 forced deviation. magent does not examine the patient."
      },
      "dysarthria": {
       "enum": [
        0,
        1,
        2
       ],
       "type": "integer",
       "description": "Caller-assigned Brott 1989 dysarthria (integer 0-2): 0 normal articulation, 1 mild to moderate, 2 near unintelligible or worse. magent does not examine the patient."
      },
      "best_visual": {
       "enum": [
        0,
        1,
        2
       ],
       "type": "integer",
       "description": "Caller-assigned Brott 1989 best visua
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/magent-nih-stroke-scale-brott-1989-calculator-6436474f/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)
