Skip to main content
Glama

Log medication taken

log_medication_taken

Log medication adherence events including taken, missed, skipped, delayed, or other status, with optional dose and notes.

Instructions

Log an adherence event: taken, missed, skipped, delayed, or other status.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteNo
userNo
statusNotaken
taken_tsNo
dose_takenNo
scheduled_tsNo
medication_idNo
medication_nameYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

Annotations indicate readOnlyHint=false and idempotentHint=false, so the description correctly implies a non-idempotent write operation. However, the description does not add behavioral context beyond that—no mention of required permissions, consequences, side effects, or rate limits. Listing possible statuses is helpful but insufficient for full transparency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single sentence of 11 words, which is very concise. However, the brevity comes at the expense of completeness—there is no structuring or breakdown of the tool's behavior. A slightly longer description with bullet points or parameter explanation would better serve the agent.

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?

Given 8 parameters, 0% schema coverage, and an output schema (not described), the description is insufficient. It does not explain the tool's scope, return value, or how to use optional parameters. The agent lacks essential context to correctly invoke the tool.

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 0% for 8 parameters, and the description does not explain any parameter meanings or relationships. The agent receives no guidance on required fields (medication_name), defaults, or optional parameters like note, dose_taken, or taken_ts. This is a critical gap.

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 clearly states the tool's purpose: 'Log an adherence event: taken, missed, skipped, delayed, or other status.' It specifies the verb 'log' and the resource 'adherence event', and lists possible values for the status field. This distinguishes it from sibling tools like add_medication (which adds a medication definition) and list_medication_logs (which retrieves logs).

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 description does not provide explicit guidance on when to use this tool versus alternatives. It implies usage when recording an adherence event, but no exclusions or context for when not to use it. Sibling tools like add_medication or list_medication_logs are not mentioned.

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/Cole-Will-I-Am/HealthLedger-MCP'

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