# magent Paradise 1984 Tonsillectomy Eligibility Calculator

> magent Paradise 1984 Tonsillectomy Eligibility 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 Paradise 1984 criteria for recurrent throat infection tonsillectomy eligibility based on episode frequency thresholds and qualifying episode features

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/paradise
- 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-paradise-1984-tonsillectomy-eligibility-calculator-8fc1a129
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-vaJ8whTc08Vua88C2_-u

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-paradise-1984-tonsillectomy-eligibility-calculator-8fc1a129
```

Example prompt: My patient had qualifying episodes — fever over 38.3°C and adenopathy — and had 7 or more throat infections in the past year but did not meet the 5-per-year-for-2-years or 3-per-year-for-3-years thresholds. Do they meet the Paradise 1984 criteria for tonsillectomy eligibility?

## When to prefer this

Use this endpoint when you need to apply the original 1984 Paradise criteria specifically — not the updated AAO-HNS 2019 guidelines. It is appropriate for clinical decision support workflows where a clinician or system has already counted episodes and assessed qualifying features (fever >38.3°C, cervical adenopathy, tonsillar exudate, or positive Group A strep culture) and needs a reliable boolean eligibility determination. Do not use this as a replacement for clinical judgment, patient examination, or as a tonsillectomy order.

## Known failure modes

- Missing required boolean query parameters returns a validation error
- Caller provides incorrect episode counts or feature assignments — the API cannot verify clinical data and will compute based on what is passed
- Non-boolean values for boolean parameters may cause a 400 error
- Network or service unavailability returns 5xx
- x402 payment failure prevents access to the computation

## How this service works

Paradise 1984 eligibility frequency for recurrent throat infection. paradise_criteria is true iff qualifying_episode_features and any of ge_7_episodes_preceding_year, ge_5_episodes_each_of_2_years, or ge_3_episodes_each_of_3_years. Caller assigns that counting episodes had fever >38.3 C, cervical adenopathy, tonsillar exudate, or group A beta-hemolytic streptococcus culture. magent does not examine the patient or count episodes. Not a tonsillectomy order. Not AAO-HNS 2019.

## Output

Returns a paradise_criteria boolean indicating whether the patient meets the 1984 Paradise eligibility thresholds for tonsillectomy: true if qualifying_episode_features is true AND at least one of the three frequency thresholds (≥7 episodes in past year, ≥5 in each of 2 years, or ≥3 in each of 3 years) is also true; false otherwise. Does not examine patients or count episodes.

## 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": [
      "ge_7_episodes_preceding_year",
      "ge_5_episodes_each_of_2_years",
      "ge_3_episodes_each_of_3_years",
      "qualifying_episode_features"
     ],
     "properties": {
      "qualifying_episode_features": {
       "type": "boolean",
       "description": "Caller assigns that counting episodes had the trial's published features: fever >38.3 C, or cervical adenopathy, or tonsillar exudate, or culture positive for group A beta-hemolytic streptococcus (Paradise 1984). true or false. magent does not examine the patient."
      },
      "ge_7_episodes_preceding_year": {
       "type": "boolean",
       "description": "Seven or more episodes of throat infection in the preceding year (Paradise 1984). true or false as assigned by the caller. magent does not count episodes."
      },
      "ge_3_episodes_each_of_3_years": {
       "type": "boolean",
       "description": "Three or more episodes in each of the preceding three years (Paradise 1984). true or false as assigned by the caller. magent does not count episodes."
      },
      "ge_5_episodes_each_of_2_years": {
       "type": "boolean",
       "description": "Five or more episodes in each of the preceding two years (Paradise 1984). true or false as assigned by the caller. magent does not count episodes."
      }
     }
    }
   },
   "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-paradise-1984-tonsillectomy-eligibility-calculator-8fc1a129/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)
