Skip to main content
Glama
andronaft

health-os

record_allergy

Add a reported allergy to the health record with allergen, reaction, severity, and verification status. Stores it as approved immediately for later review and query.

Instructions

Add an allergy the user reports (stored immediately as approved, with manual provenance). allergen: what causes it (e.g. penicillin); reaction: e.g. rash, anaphylaxis; severity: mild / moderate / severe; verified: true only if confirmed by a doctor or test — unverified allergies are still treated as real; allergen_type: drug / food / environmental / other. Check get_allergies first to avoid duplicates.

Input Schema

NameRequiredDescriptionDefault
allergenYes
reactionNo
severityNo
verifiedNo
allergen_typeNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations declare non-readonly, non-idempotent, non-destructive, but the description adds genuinely non-obvious behavior: entries are stored immediately as approved with manual provenance, and unverified allergies are still treated as real. It could go further on duplicate handling given dedup is recommended.

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?

Front-loads the action and side effect, then a compact parameter glossary, then a dedup warning. Dense but every line carries needed information given the empty schema.

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 annotations present and an output schema existing, the description covers creation semantics, provenance, parameter meanings, and dedup. Minor gaps remain around duplicate handling and whether edits/removals are possible.

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

Parameters5/5

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

Schema coverage is 0% and the description fully compensates, defining each of the 5 parameters with examples (Penicillin) and candidate values for severity and allergen_type, plus the critical semantic that unverified allergies are still treated as real.

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+resource ('Add an allergy the user reports') and immediately distinguishes itself from the sibling get_allergies by telling the agent to check that first. The scope and write semantics are unambiguous.

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?

Gives explicit operative guidance: check get_allergies first to avoid duplicates, and use verified=true only when doctor/test-confirmed. Clear context, though it does not state when not to record an allergy (e.g. duplicate handling behavior).

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