{"uid":"cap_omD6M9ba49N2OFrR76Upn","slug":"magent-ecog-performance-status-calculator-0b66f55a","name":"magent ECOG Performance Status Calculator","description":"Oken 1982 ECOG performance status: caller-assigned integer 0-4 (fully active; restricted strenuous activity, ambulatory, light work; ambulatory, all self-care, unable to work, up >50% waking hours; limited self-care, bed/chair >50% waking hours; completely disabled, no self-care, totally bed/chair). Grade 5 (dead) is not scored. Returns score, max 4, and a stable label. Not a performance-status assignment and not Karnofsky; magent does not observe the patient.","url":"https://api.magentlab.com/api/calc/ecog","method":"GET","headers":{},"bodySchema":{"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":["ecog"],"properties":{"ecog":{"type":"integer","description":"Oken 1982 ECOG performance status 0-4 as assigned by the caller (0 fully active; 1 restricted strenuous activity, ambulatory, light work; 2 ambulatory, all self-care, unable to work, up >50% waking hours; 3 limited self-care, bed/chair >50% waking hours; 4 completely disabled, no self-care, totally bed/chair). Grade 5 (dead) is not scored. magent does not observe the patient."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"path":"/api/calc/ecog","count":2,"items":[{"score":0,"formula":"ecog","citation":{"id":"oken-1982","doi":"10.1097/00000421-198212000-00014","pmid":"7165009","title":"Toxicity and response criteria of the Eastern Cooperative Oncology Group","source":"Am J Clin Oncol. 1982;5(6):649-655","authors":"Oken MM, Creech RH, Tormey DC, Horton J, Davis TE, McFadden ET, Carbone PP"},"max_score":4,"components":[{"factor":"ecog","points":0,"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.","ecog_grade":0,"ecog_label":"fully_active","formula_expression":"ECOG performance status = caller-assigned integer 0-4 (Oken 1982); max 4; grade 5 (dead) is not scored"},{"score":0,"formula":"ecog","citation":{"id":"oken-1982","doi":"10.1097/00000421-198212000-00014","pmid":"7165009","title":"Toxicity and response criteria of the Eastern Cooperative Oncology Group","source":"Am J Clin Oncol. 1982;5(6):649-655","authors":"Oken MM, Creech RH, Tormey DC, Horton J, Davis TE, McFadden ET, Carbone PP"},"max_score":4,"components":[{"factor":"ecog","points":0,"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.","ecog_grade":0,"ecog_label":"fully_active","formula_expression":"ECOG performance status = caller-assigned integer 0-4 (Oken 1982); max 4; grade 5 (dead) is not scored"}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_vAWgdd3VK_56TTqt7yHo_","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates and returns a structured ECOG performance status score (0–4) with label and citation, given a caller-assigned integer per the Oken 1982 scale","exampleAgentPrompt":"Look up the ECOG performance status label and structured score for a patient assigned a grade 2 — ambulatory but unable to work — using the Oken 1982 scale.","exampleUseCases":[{"title":"Oncology trial eligibility check","prompt":"My trial protocol requires ECOG ≤ 2. The patient has been assigned ECOG grade 2 — can you return the structured score, label, and citation so I can document it in the workflow?"},{"title":"Structured data entry for clinical pipeline","prompt":"I need to encode an ECOG performance status of 1 for a patient record — give me the full structured result with the Oken 1982 citation and the official label."},{"title":"Verify ECOG grade label for reporting","prompt":"What is the official Oken 1982 label for ECOG grade 3, and what does it mean? Return it in a structured format I can log."}],"resultDescription":"Returns a JSON object containing the ECOG score (integer 0–4), the ecog_grade, the ecog_label (e.g. 'fully_active'), max_score (4), a components breakdown, the formula expression, a full Oken 1982 citation (DOI, PMID, title, authors, source), and a disclaimer that this is not a medical device and a licensed clinician is responsible for patient care.","failureModes":["Missing or invalid 'ecog' query parameter — returns error if not provided","Integer out of range (e.g. 5 or negative) — grade 5 (dead) is explicitly not scored","Non-integer value for ecog parameter — type mismatch error","Payment not processed — x402 payment required error before response is returned"],"whenToPreferThis":"Use this endpoint when an AI agent needs a deterministic, citable, structured encoding of a caller-assigned ECOG performance status integer — especially in autonomous clinical, trial eligibility, or documentation workflows where a published reference (Oken 1982) and a stable label are required. Do not use if you need to assess or observe a patient's functional status, or if you need Karnofsky rather than ECOG scoring.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:35:14.420Z","isFirstParty":false}