Skip to main content
Glama

Universal Data — x402 + MPP Payment Setup

api_medical_egfr2021

Read-onlyIdempotent

Calculate adult race-free 2021 CKD-EPI creatinine eGFR with standardized creatinine in mg/dL. One call costs 0.01 USDC on Base x402; customer-owned provider credentials use X-Provider-Key header where needed.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "age_years": "<age_years>",
      "sex": "<sex>",
      "creatinine_mg_dl": "<creatinine_mg_dl>"
    },
    "name": "api_medical_egfr2021"
  }
}

Input Schema

NameRequiredDescriptionDefault
sexYesmale or female, required by validated equation
age_yearsYesAge in years, 18–120
creatinine_mg_dlYesSerum creatinine mg/dL

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), so the description is not obligated to repeat that. It instead adds genuinely non-obvious operational context: a per-call cost of 0.01 USDC on Base x402 and the X-Provider-Key header for customer-owned credentials. It stops short of describing failure modes (invalid sex value, out-of-range age) or the shape of the returned result.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two dense sentences, front-loaded with the calculation identity before commercial/transport details. Nothing is wasted, though 'where needed' is slightly loose and the cost/auth sentence packs two unrelated concerns together.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description is the only place a caller could learn what comes back (an eGFR numeric value in mL/min/1.73 m², presumably), and it never says. For a deterministic single-value calculator with fully documented inputs this is a modest but real gap, not a crippling one.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds clinically material meaning the schema does not: the creatinine must be standardized and the equation is for adults, which constrains how age_years is used. It does not restate per-parameter syntax, but the added assay/eligibility constraint is real value beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb ('Calculate') and a precise resource (adult race-free 2021 CKD-EPI creatinine eGFR), including the exact equation variant and input unit. This is enough to distinguish it from the many other api_medical_* calculator siblings (anion gap, BSA, corrected calcium, etc.) without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied rather than stated: 'adult' and '2021 race-free CKD-EPI' implicitly exclude pediatric patients and legacy race-based equations, but there is no explicit when-to-use, when-not-to-use, or pointer to alternatives (e.g., cystatin C-based or pediatric formulas). The agent must infer the eligibility window from the title-like phrasing.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources