71trust / 100

Calc Sms

by magent in Email & messaging

x402 APIPassing, checked 2 h ago

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.

POST https://api.magentlab.com/api/calc/sms

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
139 ms typical, 294 ms slowest 5%
Last check
2 h ago
Next check
any minute now

How to call it

# bash or zsh: see the payment challenge (nothing is charged)
curl -g -i -X POST 'https://api.magentlab.com/api/calc/sms' \
  -H 'content-type: application/json' \
  --data-raw '{"items":[{"motor":"obeys"},{"motor":"obeys"}]}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.magentlab.com%2Fapi%2Fcalc%2Fsms
const res = await pay("https://api.magentlab.com/api/calc/sms", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: "{\"items\":[{\"motor\":\"obeys\"},{\"motor\":\"obeys\"}]}",
});
console.log(await res.json());

Example input

{
  "items": [
    {
      "motor": "obeys"
    },
    {
      "motor": "obeys"
    }
  ]
}

Example output

{
  "count": 2,
  "items": [
    {
      "citation": {
        "authors": "Gill M, Windemuth R, Steele R, Green SM",
        "doi": "10.1016/j.annemergmed.2004.07.429",
        "id": "gill-2005",
        "pmid": "15635308",
        "source": "Ann Emerg Med. 2005;45(1):37-42",
        "title": "A comparison of the Glasgow Coma Scale score to simplified alternative scores for the prediction of traumatic brain injury outcomes"
      },
      "components": [
        {
          "factor": "motor",
          "points": 2,
          "present": true,
          "value": "obeys"
        }
      ],
      "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": "sms",
      "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",
      "max_score": 2,
      "motor": "obeys",
      "score": 2
    },
    {
      "citation": {
        "authors": "Gill M, Windemuth R, Steele R, Green SM",
        "doi": "10.1016/j.annemergmed.2004.07.429",
        "id": "gill-2005",
        "pmid": "15635308",
        "source": "Ann Emerg Med. 2005;45(1):37-42",
        "title": "A comparison of the Glasgow Coma Scale score to simplified alternative scores for the prediction of traumatic brain injury outcomes"
      },
      "components": [
        {
          "factor": "motor",
          "points": 2,
          "present": true,
          "value": "obeys"
        }
      ],
      "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": "sms",
      "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",
      "max_score": 2,
      "motor": "obeys",
      "score": 2
    }
  ],
  "path": "/api/calc/sms"
}

Security scan

  • Charges more than its listed price in payment
    Listed at $0.005, charges $0.007

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402231 ms$0.007
6 h agoPassed402282 ms$0.007
9 h agoPassed402135 ms$0.007
13 h agoPassed402232 ms$0.007
17 h agoPassed402306 ms$0.007
21 h agoPassed402140 ms$0.007
24 h agoPassed402135 ms$0.007
28 h agoPassed402139 ms$0.007
31 h agoPassed402294 ms$0.007
35 h agoPassed402137 ms$0.007
38 h agoPassed402147 ms$0.007
42 h agoPassed402142 ms$0.007
46 h agoPassed402135 ms$0.007
2 days agoPassed402134 ms$0.007
2 days agoPassed402136 ms$0.007

History

11 Oct 2026Price changed from $0.005 to $0.007