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
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 2 h ago | Passed | 402 | 231 ms | $0.007 |
| 6 h ago | Passed | 402 | 282 ms | $0.007 |
| 9 h ago | Passed | 402 | 135 ms | $0.007 |
| 13 h ago | Passed | 402 | 232 ms | $0.007 |
| 17 h ago | Passed | 402 | 306 ms | $0.007 |
| 21 h ago | Passed | 402 | 140 ms | $0.007 |
| 24 h ago | Passed | 402 | 135 ms | $0.007 |
| 28 h ago | Passed | 402 | 139 ms | $0.007 |
| 31 h ago | Passed | 402 | 294 ms | $0.007 |
| 35 h ago | Passed | 402 | 137 ms | $0.007 |
| 38 h ago | Passed | 402 | 147 ms | $0.007 |
| 42 h ago | Passed | 402 | 142 ms | $0.007 |
| 46 h ago | Passed | 402 | 135 ms | $0.007 |
| 2 days ago | Passed | 402 | 134 ms | $0.007 |
| 2 days ago | Passed | 402 | 136 ms | $0.007 |
History
| 11 Oct 2026 | Price changed from $0.005 to $0.007 |