# McGrath 1985 CHEOPS Score Calculator

> McGrath 1985 CHEOPS Score 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 Children's Hospital of Eastern Ontario Pain Scale (CHEOPS) total score (range 4–13) by summing six caller-assigned behavioral category values.

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/cheops
- 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/mcgrath-1985-cheops-score-calculator-18180ea2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-f0fW5ppzDN-5zEXFrsEo

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 mcgrath-1985-cheops-score-calculator-18180ea2
```

Example prompt: Calculate the CHEOPS score for a child I just observed: cry is 2 (moaning), facial is 2 (grimace), child verbal is 2 (pain complaints), torso is 1 (neutral), touch is 1 (not touching wound), and legs is 1 (neutral).

## When to prefer this

Use this endpoint when you need the original McGrath 1985 CHEOPS total score computed from six observer-assigned behavioral subscores for a pediatric patient. Prefer it over alternatives when you specifically need CHEOPS (not FLACC, not BOPS, not another pediatric pain scale), and when you already have the six rated subscores from a bedside observer and only need the published arithmetic sum returned.

## Known failure modes

- Missing required query parameter (cry, facial, child_verbal, torso, touch, or legs) returns a validation error
- Integer out of published range (e.g., cry=0 or cry=4) may return a validation error or out-of-range result
- Non-integer values for subscores cause schema validation failure
- Network or payment (x402) errors prevent response

## How this service works

McGrath 1985 CHEOPS from six caller-assigned observational categories (cry 1-3; facial 0-2; child_verbal 0-2; torso, touch, and legs 1-2). magent sums only (published range 4-13) and does not observe the child. No invented analgesic cutoffs. Not a pain diagnosis or analgesic order. Not FLACC. Not BOPS.

## Output

Returns the integer CHEOPS total score (published range 4–13), computed as the arithmetic sum of the six caller-supplied behavioral category values (cry 1–3; facial 0–2; child_verbal 0–2; torso 1–2; touch 1–2; legs 1–2). The endpoint does not observe the child, does not apply analgesic cutoffs, and does not issue a pain diagnosis or analgesic order.

## 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": [
      "cry",
      "facial",
      "child_verbal",
      "torso",
      "touch",
      "legs"
     ],
     "properties": {
      "cry": {
       "type": "integer",
       "description": "Caller-assigned McGrath 1985 CHEOPS cry (integer 1-3; 0 is not published): 1 no crying; 2 moaning or crying; 3 scream. magent does not observe the child."
      },
      "legs": {
       "type": "integer",
       "description": "Caller-assigned McGrath 1985 CHEOPS legs (integer 1-2; 0 is not published): 1 neutral; 2 squirm/kicking, drawn up/tense, standing, or restrained. magent does not observe the child."
      },
      "torso": {
       "type": "integer",
       "description": "Caller-assigned McGrath 1985 CHEOPS torso (integer 1-2; 0 is not published): 1 neutral/resting; 2 shifting, tense, shivering, upright, or restrained. magent does not observe the child."
      },
      "touch": {
       "type": "integer",
       "description": "Caller-assigned McGrath 1985 CHEOPS touch (integer 1-2; 0 is not published): 1 not touching wound; 2 reaching, touching, grabbing, or arms restrained. magent does not observe the child."
      },
      "facial": {
       "type": "integer",
       "description": "Caller-assigned McGrath 1985 CHEOPS facial (integer 0-2): 0 smiling; 1 composed/neutral; 2 grimace. magent does not observe the child."
      },
      "child_verbal": {
       "type": "integer",
       "description": "Caller-assigned McGrath 1985 CHEOPS child verbal (integer 0-2): 0 positive statements; 1 none or other non-pain complaints; 2 pain complaints (both-complaints also 2; there is no published 3). magent does not observe the child."
      }
     }
    }
   },
   "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/mcgrath-1985-cheops-score-calculator-18180ea2/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)
