# magent Rome IV Fecal Incontinence Calculator

> magent Rome IV Fecal Incontinence 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).

Evaluates Rome IV (Rao 2016) criteria for fecal incontinence based on four boolean clinical criteria provided by the caller

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/rome_iv_fecal_incontinence
- 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-rome-iv-fecal-incontinence-calculator-e7f8d08d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3HLkw_fcMCq08ZK-rDWLb

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-rome-iv-fecal-incontinence-calculator-e7f8d08d
```

Example prompt: Check if this patient meets the Rome IV fecal incontinence criteria: they have recurrent uncontrolled passage of fecal material, developmental age is at least 4, criteria have been fulfilled for the last 3 months, and symptoms started more than 6 months ago.

## When to prefer this

Use this endpoint when you need a structured, rule-based Rome IV F1 fecal incontinence evaluation and the caller has already assigned all four clinical criteria as booleans. Prefer this over general LLM reasoning when you need reproducible, auditable classification against the Rao 2016 Rome IV standard. Not appropriate for diagnosis, manometry interpretation, or pediatric H3b classification.

## Known failure modes

- Missing required query parameters returns an error
- Passing non-boolean values for boolean fields causes a schema validation error
- Endpoint does not interpret ambiguous clinical histories — caller must assign all boolean values before calling
- Endpoint does not handle pediatric nonretentive fecal incontinence (H3b) — returns incorrect context if used for that population

## How this service works

Rao 2016 Rome IV fecal incontinence. rome_iv_fecal_incontinence is true iff recurrent uncontrolled passage of fecal material, developmental age at least 4 years, last-3-months criteria, and 6-month onset. The research 2–4 episodes in 4 weeks frequency remark is copy-only and not parsed. magent does not examine the patient or read manometry. Not a diagnosis, not pediatric nonretentive fecal incontinence (H3b), not Wexner constipation score.

## Output

Returns a boolean rome_iv_fecal_incontinence field: true if all four Rome IV criteria are met (recurrent uncontrolled fecal passage, developmental age ≥4, criteria fulfilled for last 3 months, onset ≥6 months prior), false otherwise. Does not perform diagnosis, does not cover pediatric nonretentive fecal incontinence (H3b), and does not parse the research frequency remark about 2–4 episodes in 4 weeks.

## 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": [
      "recurrent_uncontrolled_passage_of_fecal_material",
      "developmental_age_at_least_4",
      "fulfilled_last_3_months",
      "onset_at_least_6_months"
     ],
     "properties": {
      "fulfilled_last_3_months": {
       "type": "boolean",
       "description": "Criteria fulfilled for the last 3 months, as assigned (Rao 2016). true or false as assigned by the caller. magent does not take a history."
      },
      "onset_at_least_6_months": {
       "type": "boolean",
       "description": "Symptom onset at least 6 months prior to diagnosis, as assigned (Rao 2016 research timing, same as other magent Rome tools). true or false as assigned by the caller. magent does not take a history."
      },
      "developmental_age_at_least_4": {
       "type": "boolean",
       "description": "Developmental age at least 4 years, as assigned (Rao 2016). true or false as assigned by the caller. magent does not examine the patient."
      },
      "recurrent_uncontrolled_passage_of_fecal_material": {
       "type": "boolean",
       "description": "Recurrent uncontrolled passage of fecal material for at least 3 months in a person with developmental age at least 4 years (Rao 2016 Rome IV fecal incontinence F1 clinical definition). true or false as assigned by the caller. magent does not examine the patient."
      }
     }
    }
   },
   "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-rome-iv-fecal-incontinence-calculator-e7f8d08d/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)
