Skip to main content
Glama
health-os

health-os

check_medication_safety

Read-only

Checks medication safety by totaling daily paracetamol across products and flagging biotin interference with planned lab tests; advises a doctor or pharmacist to assess interactions.

Instructions

Call for ANY question about medications: "can I take X", combining drugs, doses. Returns the standard refusal to assess interactions (a doctor/pharmacist must check) plus deterministic checks: total daily paracetamol across products and biotin interference with lab tests. paracetamol_products: [{name, mg_per_dose, doses_per_day}] — include combination cold/flu remedies with the mg of paracetamol per dose. Paracetamol among the current medications (by name, brand or ATC code) is always counted too; a product passed under its recorded name replaces that entry. planned_tests: marker codes, any case (e.g. ["TSH", "ferritin"]).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "check_medication_safety"
  }
}

Input Schema

NameRequiredDescriptionDefault
planned_testsNo
taking_biotinNo
paracetamol_productsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.3/5.0
Behavior4/5

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

Beyond the readOnlyHint/openWorldHint annotations, the description discloses important behavior: the tool always returns a fixed refusal to judge interactions, and only the paracetamol total and biotin interference are computed deterministically — so the agent knows the answer is partly boilerplate. It also explains the merge rule (paracetamol in current medications is always counted; a product passed under its recorded name replaces that entry). Minor gaps: no mention of what happens when inputs are omitted/null.

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?

Usage trigger is front-loaded, followed by return behavior, then per-parameter notes — a sensible order. The parameter prose is dense and slightly crammed into run-on clauses, but each sentence carries non-redundant information, so nothing is wasted.

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 3-parameter, all-optional read-only tool with an output schema, the definition covers purpose, return semantics, and two of three parameters in detail. The only substantive omission is the meaning of taking_biotin, which an agent must guess at from the interference note.

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 0%, so the description carries the full burden, and it does most of the work: paracetamol_products is defined field-by-field ({name, mg_per_dose, doses_per_day}), with guidance to include combination cold/flu products and how name matching interacts with existing records; planned_tests is described as marker codes, case-insensitive, with an example. taking_biotin is never explained — its effect and when to set it must be inferred from the biotin-interference mention.

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?

The description opens with a concrete scope statement ('Call for ANY question about medications: "can I take X", combining drugs, doses') and then names exactly what the tool returns: a standard refusal to assess interactions plus two deterministic checks (total daily paracetamol and biotin/lab-test interference). This clearly separates it from record_medication, get_medications, and the other medication siblings, which manage data rather than answer safety questions.

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

Usage Guidelines4/5

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

'Call for ANY question about medications' with three example phrasings gives an agent a strong positive trigger. It does not state exclusions (e.g., that listing or recording medications belongs to get_medications/record_medication), so an agent could over-route non-safety medication requests here, but the intended use case is unambiguous.

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