# magent Clinical Frailty Scale (CFS) Calculator

> magent Clinical Frailty Scale (CFS) 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).

Returns the Rockwood 2005 CSHA Clinical Frailty Scale label and score for a caller-supplied integer 1–7

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/cfs
- 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-clinical-frailty-scale-cfs-calculator-450e7433
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2pAvPdU-9N40R1pmAhx0O

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-clinical-frailty-scale-cfs-calculator-450e7433
```

Example prompt: Look up the Rockwood 2005 Clinical Frailty Scale label for a CFS score of 5.

## When to prefer this

Use this endpoint when you need to resolve a Rockwood 2005 7-point CFS integer to its official published label in a clinical or documentation workflow. Prefer it over manual lookup tables to ensure consistent, authoritative labeling. Not appropriate for the 9-point CFS or CFS 2.0 label variants.

## Known failure modes

- CFS value outside 1–7 returns an error (8 and 9 from the later 9-point scale are not accepted)
- Non-integer or missing cfs query parameter causes a validation error
- Payment failure (x402) if USDC payment is not completed

## How this service works

Rockwood 2005 CSHA Clinical Frailty Scale 1-7 as assigned by the caller (Box 1). Returns cfs, score, max 7, and the published label. Does not implement the later 9-point CFS (8 very severely frail, 9 terminally ill) or CFS 2.0 label changes. Not a diagnosis; magent does not examine the patient.

## Output

Returns a JSON object containing the input CFS integer, the numeric score, the maximum possible score (7), and the published Rockwood 2005 CSHA label string (e.g. 'Mildly Frail'). Does not include 9-point CFS entries or CFS 2.0 label revisions.

## 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": [
      "cfs"
     ],
     "properties": {
      "cfs": {
       "type": "integer",
       "description": "Rockwood 2005 CSHA Clinical Frailty Scale 1-7 as assigned by the caller (1 very fit; 2 well; 3 well, with treated comorbid disease; 4 apparently vulnerable; 5 mildly frail; 6 moderately frail; 7 severely frail, completely dependent or terminally ill). magent does not examine the patient. The later 9-point CFS (8 very severely frail, 9 terminally ill) is not accepted."
      }
     }
    }
   },
   "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/magent-clinical-frailty-scale-cfs-calculator-450e7433/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)
