# Gill 2005 Simplified Motor Score (SMS) Calculator

> Gill 2005 Simplified Motor Score (SMS) 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-15).

Computes the Gill 2005 Simplified Motor Score (SMS) from a single caller-assigned motor category: obeys (2), localizes (1), or withdrawal_or_less (0).

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/sms
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gill-2005-simplified-motor-score-sms-calculator-4c9eada7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cXtswK43obOqJYLmgU0WM

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 gill-2005-simplified-motor-score-sms-calculator-4c9eada7
```

Example prompt: Calculate the Simplified Motor Score for a patient who localizes pain — use the Gill 2005 SMS and give me the numeric score.

## When to prefer this

Choose this endpoint when you need a fast, deterministic, citation-backed computation of the Gill 2005 SMS from a single motor category already assigned by a clinician. It is not a replacement for GCS, does not perform patient examination, and should not be used for triage or intubation decisions. Prefer over manual lookup when integrating SMS scoring into automated clinical documentation or decision-support pipelines.

## Known failure modes

- Invalid or missing 'motor' query parameter returns an error — only 'obeys', 'localizes', or 'withdrawal_or_less' are accepted
- Incorrect HTTP method (e.g. POST) returns a method-not-allowed error
- Payment failure or missing x402 header results in payment-required response

## How this service works

Gill 2005 Simplified Motor Score (SMS) from one caller-assigned motor category: obeys (2, obeys commands), localizes (1, localizes pain), or withdrawal_or_less (0, withdrawal to pain or less). Companion to GCS, not a replacement protocol and not a triage or intubation order. magent does not examine the patient. Deterministic published score with citation.

## Output

Returns the numeric SMS score (0, 1, or 2) corresponding to the input motor category, along with the published Gill 2005 citation and label interpretation. No clinical judgment or patient examination is performed.

## 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": [
      "motor"
     ],
     "properties": {
      "motor": {
       "enum": [
        "obeys",
        "localizes",
        "withdrawal_or_less"
       ],
       "type": "string",
       "description": "Gill 2005 Simplified Motor Score motor category as assigned by the caller. obeys (2, obeys commands), localizes (1, localizes pain), or withdrawal_or_less (0, withdrawal to pain or less). magent does not examine the patient."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "path": "/api/calc/sms",
  "count": 2,
  "items": [
   {
    "motor": "obeys",
    "score": 2,
    "formula": "sms",
    "citation": {
     "id": "gill-2005",
     "doi": "10.1016/j.annemergmed.2004.07.429",
     "pmid": "15635308",
     "title": "A comparison of the Glasgow Coma Scale score to simplified alternative scores for the prediction of traumatic brain injury outcomes",
     "source": "Ann Emerg Med. 2005;45(1):37-42",
     "authors": "Gill M, Windemuth R, Steele R, Green SM"
    },
    "max_score": 2,
    "components": [
     {
      "value": "obeys",
      "factor": "motor",
      "points": 2,
      "present": true
     }
    ],
    "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
    "formula_expression": "SMS = 2 if motor=obeys (obeys commands), 1 if motor=localizes (localizes pain), 0 if motor=withdrawal_or_less (withdrawal to pain or less); Gill 2005 Simplified Motor Score; max 2"
   },
   {
    "motor": "obeys",
    "score": 2,
    "formula": "sms",
    "citation": {
     "id": "gill-2005",
     "doi": "10.1016/j.annemergmed.2004.07.429",
     "pmid": "15635308",
     "title": "A comparison of the Glasgow Coma Scale score to simplified alternative scores for the prediction of traumatic brain injury outcomes",
     "source": "Ann Emerg Med. 2005;45(1):37-42",
     "authors": "Gill M, Windemuth R, Steele R, Green SM"
    },
    "max_score": 2,
    "components": [
     {
      "value": "obeys",
      "factor": "motor",
      "points": 2,
      "present": true
     }
    ],
    "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
    "formula_expression": "SMS = 2 if motor=obeys (obeys commands), 1 if motor=localizes (localizes pain), 0 if motor=withdrawal_or_less (withdrawal to pain or less); Gill 2005 Simplified Motor Score; max 2"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gill-2005-simplified-motor-score-sms-calculator-4c9eada7/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)
