# magent Tokyo Guidelines 2018 Acute Cholecystitis Grader

> magent Tokyo Guidelines 2018 Acute Cholecystitis Grader 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).

Applies the Yokoe 2018 TG18 criteria to classify acute cholecystitis diagnosis (none/suspected/definite) and severity grade (I/II/III) from caller-assigned clinical findings

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/tokyo_cholecystitis
- 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-tokyo-guidelines-2018-acute-cholecystitis-grader-2742f605
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZDwtxfqGwuTJzBhC9OpZ9

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-tokyo-guidelines-2018-acute-cholecystitis-grader-2742f605
```

Example prompt: Grade this patient's acute cholecystitis using the Tokyo 2018 TG18 criteria: Murphy's sign is positive, RUQ tenderness is present, fever is true, elevated CRP is true, elevated WBC is true, imaging findings are positive; for severity flags: hypotension requiring vasopressors is false, decreased consciousness is false, PF ratio <300 is false, oliguria or creatinine >2 is false, PT-INR >1.5 is false, platelets <100k is false, WBC >18000 is true, palpable tender RUQ mass is false, duration >72h is false, marked local inflammation is false.

## When to prefer this

Use this endpoint when you need to programmatically apply the Yokoe 2018 TG18 acute cholecystitis diagnosis and severity grading criteria to pre-assessed clinical findings. Prefer this over manual lookup when building clinical decision support workflows, automated triage pipelines, or EHR integrations that need consistent, rules-based TG18 grading. Do not use for cholangitis (different guideline), appendicitis (Alvarado/RIPASA/PAS), or when imaging or lab interpretation is needed — the caller must supply all boolean flags.

## Known failure modes

- Missing required query parameters returns a validation error
- All local/systemic signs false yields diagnosis 'none' and no severity grade
- Imaging absent with local and systemic signs present yields 'suspected' rather than 'definite'
- Misclassification risk if caller incorrectly assigns boolean flags (garbage in, garbage out)
- Not applicable to cholangitis or appendicitis — wrong endpoint for those conditions

## How this service works

Yokoe 2018 TG18 (=TG13) acute cholecystitis. Definite if local signs (Murphy or RUQ mass/pain/tenderness), systemic signs (fever, elevated CRP or WBC), and imaging; suspected if local and systemic without imaging; else none. Suspected/definite: Grade III if any organ dysfunction, else Grade II if any Grade II flag, else Grade I. Severity none when diagnosis is none. Not cholangitis or Alvarado/RIPASA. magent does not examine, assay, or read imaging. Not a medical device.

## Output

Returns the Tokyo Guidelines 2018 (TG18/TG13) acute cholecystitis diagnosis category (none, suspected, or definite) and severity grade (I, II, or III) based on the caller-supplied boolean clinical findings. No physical examination, laboratory assay, or imaging interpretation is performed by the API.

## 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": [
      "murphy",
      "ruq_mass_pain_tenderness",
      "fever",
      "elevated_crp",
      "elevated_wbc",
      "imaging_findings",
      "hypotension_vasopressors",
      "decreased_consciousness",
      "pfr_lt_300",
      "oliguria_or_creatinine_gt_2",
      "pt_inr_gt_1_5",
      "platelets_lt_100k",
      "wbc_gt_18000",
      "palpable_tender_ruq_mass",
      "duration_gt_72h",
      "marked_local_inflammation"
     ],
     "properties": {
      "fever": {
       "type": "boolean",
       "description": "Fever as assigned by the caller (Yokoe 2018 TG18 systemic sign of inflammation B). true or false. magent does not measure temperature."
      },
      "murphy": {
       "type": "boolean",
       "description": "Murphy's sign as assigned by the caller (Yokoe 2018 TG18 local sign of inflammation A). true or false. magent does not examine the patient."
      },
      "pfr_lt_300": {
       "type": "boolean",
       "description": "PaO2/FiO2 <300 as assigned by the caller (Yokoe 2018 TG18 Grade III respiratory dysfunction). true or false. magent does not interpret blood gas or ventilator settings."
      },
      "elevated_crp": {
       "type": "boolean",
       "description": "Elevated C-reactive protein as assigned by the caller (Yokoe 2018 TG18 systemic sign of inflammation B). true or false. magent does not assay CRP."
      },
      "elevated_wbc": {
       "type": "boolean",
       "description": "Elevated white blood cell count as assigned by the caller (Yokoe 2018 TG18 systemic sign of inflammation B). true or false. magent does not assay WBC."
      },
      "wbc_gt_18000": {
       "type": "boolean",
       "description": "White blood cell count >18,000/mm³ as assigned by the caller (Yokoe 2018 TG18 Grade II). true or false. magent does not assay WBC."
      },
      "pt_inr_gt_1_5": {
       "type": "boolean",
       "description": "PT-INR >1.5 as assigned by the caller (Yoko
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/magent-tokyo-guidelines-2018-acute-cholecystitis-grader-2742f605/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)
