Skip to main content
Glama

get_glucose_stats

Read-only

Calculate glucose statistics such as average glucose, GMI, time-in-range, and variability to support diabetes management and identify improvement areas.

Instructions

Calculate comprehensive glucose statistics including average glucose, GMI (estimated A1C), time-in-range percentages, and variability metrics. The response includes data_coverage with the time window the readings actually span, which is usually shorter than requested because LibreLinkUp only serves roughly the last 12 hours. Essential for diabetes management insights and identifying areas for improvement.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysNoNumber of days to analyze (1-14). Default: 7. Note: LibreLinkUp data availability may be limited.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only supply readOnlyHint=true, and the description adds meaningful behavioral context: the LibreLinkUp ~12-hour data availability limit and the fact that response data_coverage will usually be shorter than requested. Useful, though no rate-limit or error behavior is disclosed.

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?

Three sentences, front-loaded with the deliverable and followed by the practical caveat. The closing "Essential for diabetes management insights" is slightly promotional filler, but 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?

With no output schema and one optional parameter, the description does the needed work by naming the returned statistics and the data_coverage caveat. It is essentially complete for this tool's complexity.

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 description coverage is 100% for the single 'days' parameter (range 1-14, default 7, availability caveat), so the schema already carries the semantics. The description adds no further parameter detail, making the baseline 3 appropriate.

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?

Specific verb+resource ("Calculate comprehensive glucose statistics") with an explicit enumeration of outputs (average glucose, GMI, time-in-range, variability), which clearly separates it from siblings like get_glucose_trends and get_glucose_history.

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?

States the general value ("diabetes management insights") and warns about the 12-hour data window, but gives no explicit routing to alternatives such as get_glucose_trends or get_glucose_history, leaving the when-to-use choice implied.

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