Skip to main content
Glama

Apuntar insulina

log_insulin
Idempotent

Apunta la insulina que la persona dice que se ha puesto (unidades y tipo). Solo guarda lo que ella cuenta; esta herramienta no sugiere ni calcula dosis.

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": {
      "units": "<units>"
    },
    "name": "log_insulin"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNorapid, long or mixed. Default rapid.
timeNoWhen it happened, in the user's local time: 'HH:MM' (today), 'YYYY-MM-DDTHH:MM', or ISO 8601 with offset. Omit it for right now. Never in the future.
unitsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=true and openWorldHint=false, so safety and repeat-call behavior are covered structurally. The description adds the meaningful constraint that this is a passive recorder that never computes or recommends a dose, which is real context beyond the annotations, but it says nothing about what happens on a rejected or duplicate entry or how a bad value is handled.

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

Conciseness5/5

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

Two short sentences: the first front-loads what is stored, the second immediately bounds what the tool will not do. There is no filler and no repeated field names.

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 three-parameter logging tool with no output schema, the description covers purpose, the recorded payload, and the key behavioral limit. The only real omissions are the relationship to log_medication and any note on what a successful call returns or how the entry is identified afterward.

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 coverage is 67%, so the schema already documents the enum for kind and the accepted formats and no-future constraint for time. The description only names units and type, adding nothing about defaults, format, or the meaning of 'mixed' beyond what the schema states, which matches the baseline when the schema does the heavy lifting.

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 verb and resource in the user's language ("Apunta la insulina") and scopes the payload to units and type, so an agent knows exactly what gets recorded. It does not explicitly distinguish itself from the nearest sibling, log_medication, which is the main thing keeping it from a 5.

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?

It states the operating condition clearly: record only what the person reports, with no dose suggestion or calculation. That is a useful boundary, but it gives no guidance on when to pick this over log_medication for an injectable, nor any prerequisites such as needing the kind before logging.

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.