Skip to main content
Glama

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

calculate_half_life

Read-onlyIdempotent

Справочный математический расчёт периода полувыведения (T½), времени выхода на равновесное плато (90%/97%), коэффициента накопления и выведения.

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": {
      "halfLife": "<halfLife>"
    },
    "name": "calculate_half_life"
  }
}

Input Schema

NameRequiredDescriptionDefault
unitNohours
amountNoКоличество в одном приёме (усл. ед.)
halfLifeYesПериод полувыведения T½ (0.1–365)
intervalNoИнтервал между приёмами в тех же единицах

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is fully covered and the description only needs to add computation-specific context. It does convey that this is a reference calculation with no external data access, but says nothing about units consistency between halfLife and interval, valid ranges, or how missing optional inputs are defaulted.

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 sentence with no filler, and the core output (T½) is front-loaded ahead of the derived metrics. It is dense but every clause names a distinct computed value rather than repeating the name or title.

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?

With no output schema, the description usefully enumerates the return values (T½, 90%/97% plateau times, accumulation and elimination coefficients), which is exactly what an agent needs to judge relevance. The remaining gap is that input semantics and modeling assumptions are left entirely to the 75%-covered schema.

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 75%, so the schema already defines halfLife, amount, and interval, and the unit enum is self-explanatory. The description adds no parameter-level meaning at all — amount and interval are never mentioned, and the requirement that interval use the same units as halfLife is not reinforced.

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 operation (mathematical calculation) and enumerates the exact quantities produced: half-life T½, time to 90%/97% steady-state plateau, accumulation coefficient, and elimination. That is far more specific than the bare tool name and separates it from the other calculate_* siblings, though it never states which domain (pharmacokinetics) the inputs model.

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

Usage Guidelines2/5

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

There is no guidance on when to use this versus the other calculators, no prerequisites, and no statement about assumptions such as linear/single-compartment kinetics that would tell an agent when the result is invalid. The word 'Справочный' hints at a reference/informational purpose but does not route the agent anywhere.

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