Skip to main content
Glama

calculate_pediatric_dose

Compute pediatric medication dose from adult dose using weight, age, or body surface area method.

Instructions

Calculate pediatric dose from adult dose using weight, age, or BSA method. Agent contract: use structuredContent as the source of truth; preserve schema_version/status/sources/warnings/errors/meta when forwarding the result and never infer missing clinical facts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
localeNoBCP 47 locale for labels and messages (for example zh-TW).zh-TW
methodNoweight
child_bsaNo
dose_unitNomg
adult_doseYes
output_formatNoText rendering. structuredContent always follows the versioned outputSchema.json
child_age_yearsNo
child_weight_kgYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYes
metaYes
errorsYes
statusYes
sourcesYes
warningsYes
schema_versionYes
Behavior2/5

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

No annotations provided, so description must carry burden. It focuses on output contract (structuredContent) but omits behavioral traits like read-only nature, authentication needs, or side effects. Does not disclose that this is a computation, not a database lookup.

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 sentences, front-loaded with purpose. The agent contract adds necessary guidance but is concise. No wasted words.

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

Completeness2/5

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

Despite having an output schema, description lacks detail on input constraints, method selection criteria, and result interpretation. For a tool with 8 parameters and 30+ siblings, more context is needed for correct tool selection and use.

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

Parameters1/5

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

Schema description coverage is only 25% (only locale and output_format described). Description mentions method options but does not clarify how adult_dose, child_weight_kg, child_age_years, child_bsa relate to methods. Fails to compensate for low schema coverage.

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?

Clearly states the tool calculates pediatric dose from adult dose using weight, age, or BSA method. However, it does not explicitly distinguish from sibling tools like calculate_dose_by_weight or calculate_dose_by_bsa, which may cause confusion.

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?

No guidance on when to use this tool versus alternatives (e.g., calculate_dose_by_weight, calculate_dose_by_bsa). The agent contract only addresses output handling, not usage context.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/u9401066/pharmacy-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server