Skip to main content
Glama

IronLog — Дневник тренировок и 7 калькуляторов

calculate_egfr

Read-onlyIdempotent

Справочный расчёт скорости клубочковой фильтрации (СКФ / eGFR) по формулам CKD-EPI 2021 (креатинин, цистатин C и комбинированная) со стадией KDIGO и пояснением для атлетов с большой мышечной массой.

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": {
      "sex": "<sex>",
      "ageYears": "<ageYears>",
      "creatinine": "<creatinine>"
    },
    "name": "calculate_egfr"
  }
}

Input Schema

NameRequiredDescriptionDefault
sexYes
ageYearsYes
creatinineYesКреатинин крови (в мкмоль/л или мг/дл)
cystatinMgLNoОпционально: цистатин C в мг/л (0.2–8.0)
creatinineUnitNoumol_l

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, closed-world, and non-destructive, so safety is covered. The description adds meaningful value beyond that: it discloses the computed outputs (KDIGO stage and an explanatory note for athletes with high muscle mass), which matters because there is no output schema.

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?

A single front-loaded sentence that packs formulas, outputs, and the athlete caveat without filler. It is dense but every clause carries information; slightly heavier parsing would be needed for non-Russian readers, but structurally sound.

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

Completeness4/5

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

For a 5-parameter read-only calculator with no output schema, the description adequately covers what is computed and what is returned (stage plus interpretive note). The remaining gap is formula-selection and unit-handling behavior, which is a moderate omission rather than a blocking one.

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

Parameters3/5

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

Schema description coverage is 40%, with only creatinine and cystatin documented inline; sex, ageYears, and creatinineUnit rely on enums and min/max alone. The description adds some meaning by naming creatinine and cystatin C as the drivers of the formula variants, but says nothing about unit handling (umol_l vs mg_dl) or the age/sex inputs, so it only partially compensates for the coverage gap.

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

Purpose4/5

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

The description names a specific verb (reference calculation) and resource (eGFR / GFR), and enumerates the exact formulas (CKD-EPI 2021: creatinine, cystatin C, combined) plus the KDIGO stage output. It does not differentiate itself from sibling calculators such as convert_lab_units, but the purpose is unambiguous on its own.

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?

The word 'справочный' (reference/informational) implicitly signals this is not a clinical decision tool, which is useful framing, but there is no explicit when-to-use, when-not-to-use, or guidance on choosing between the creatinine-only, cystatin-only, and combined formulas. The agent must infer that supplying cystatinMgL unlocks the other variants.

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