Skip to main content
Glama

list_glucose_readings

Read-onlyIdempotent

Read actually measured, timestamped blood glucose readings imported from Health Connect or Ultrahuman, in the user's glucose unit setting. selector, mutually exclusive: meal_id | workout_id | direct start_at/end_at range. meal_id: compares a recorded meal time with observed readings 30 minutes before to two hours after eating (or the context minutes you choose); an untimed meal cannot be compared. workout_id: before/during/after-workout readings using its EXACT stored started_at and duration_sec. range: bounded UTC-offset timestamps; default last six hours, max 48 hours. output: at most 400 measured points; narrow the range if exceeded. Missing readings are unknown, never zero or interpolated. Time alignment is correlation only, not evidence that food or exercise caused a glucose change. Lab tests belong in separate lab records.

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": "list_glucose_readings"
  }
}

Input Schema

NameRequiredDescriptionDefault
end_atNoExclusive end instant, ISO 8601 with UTC offset; default now.
meal_idNoStored food_log meal ID from list_meals. Uses the recorded local meal_time and the resolved user timezone.
start_atNoInclusive start instant, ISO 8601 with UTC offset; default six hours ago.
workout_idNoStored workout_sessions id.
after_minutesNoContext after a meal or workout, 0-360 minutes. Defaults: meal 120, workout 60.
before_minutesNoContext before a meal or workout, 0-360 minutes. Defaults: meal 30, workout 60.

Output Schema

NameRequiredDescriptionDefault
resultYesHuman-readable result text returned by the tool.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / end_at / description
      Previous value: -"Exclusive end instant with UTC offset, ISO 8601. Defaults to now. Cannot combine with meal_id or workout_id."New value: +"Exclusive end instant, ISO 8601 with UTC offset; default now."
    • changedInput schema / properties / meal_id / description
      Previous value: -"Stored food_log meal ID from list_meals. Uses the recorded local meal_time and resolved user timezone; untimed meals cannot be aligned."New value: +"Stored food_log meal ID from list_meals. Uses the recorded local meal_time and the resolved user timezone."
    • changedInput schema / properties / start_at / description
      Previous value: -"Inclusive start instant with UTC offset, ISO 8601. Defaults to six hours ago. Cannot combine with meal_id or workout_id."New value: +"Inclusive start instant, ISO 8601 with UTC offset; default six hours ago."
    • changedInput schema / properties / workout_id / description
      Previous value: -"Stored workout_sessions id to align using the exact started_at and duration_sec. Cannot combine with meal_id or a direct range."New value: +"Stored workout_sessions id."
  2. Changed6 schema fields changed
    • changedInput schema / properties / after_minutes / description
      Previous value: -"Context after a workout, 0-360 minutes. Default 60."New value: +"Context after a meal or workout, 0-360 minutes. Defaults: meal 120, workout 60."
    • changedInput schema / properties / before_minutes / description
      Previous value: -"Context before a workout, 0-360 minutes. Default 60."New value: +"Context before a meal or workout, 0-360 minutes. Defaults: meal 30, workout 60."
    • changedInput schema / properties / end_at / description
      Previous value: -"Exclusive end instant with UTC offset, ISO 8601. Defaults to now. Cannot combine with workout_id."New value: +"Exclusive end instant with UTC offset, ISO 8601. Defaults to now. Cannot combine with meal_id or workout_id."
    • addedInput schema / properties / meal_id
      Added value: +{
      +  "description": "Stored food_log meal ID from list_meals. Uses the recorded local meal_time and resolved user timezone; untimed meals cannot be aligned.",
      +  "type": "integer"
      +}
    • changedInput schema / properties / start_at / description
      Previous value: -"Inclusive start instant with UTC offset, ISO 8601. Defaults to six hours ago. Cannot combine with workout_id."New value: +"Inclusive start instant with UTC offset, ISO 8601. Defaults to six hours ago. Cannot combine with meal_id or workout_id."
    • changedInput schema / properties / workout_id / description
      Previous value: -"Stored workout_sessions id to align using the exact started_at and duration_sec. When provided, both range dates are derived instead."New value: +"Stored workout_sessions id to align using the exact started_at and duration_sec. Cannot combine with meal_id or a direct range."
  3. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so credit goes to added context: the 400-point output cap, the guarantee that missing readings are unknown rather than zero/interpolated, and the warning that time alignment is correlation only. It stops short of describing ordering or pagination behavior, but the safety and data-integrity traits are unusually well 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?

Front-loaded and dense with little waste, but the telegraphic fragment style ('selector, mutually exclusive:', 'range: bounded UTC-offset timestamps') reads as shorthand notes rather than prose and takes a moment to parse. Content is efficient; the formatting could be tightened into clearer sentences.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given an output schema exists, the description need not explain return shapes, and it correctly spends its words on invocation modes, bounds, and data-integrity caveats. For a six-parameter read tool with three mutually exclusive selectors, an agent has everything needed to call it correctly.

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 100%, so the baseline is 3; the description earns above that by explaining what meal_id and workout_id actually do (meal window 30 min before to 2 h after using recorded local time; workout window anchored on the exact stored started_at and duration_sec) and by flagging that an untimed meal cannot be compared. It restates some defaults already in the schema but adds real conceptual meaning.

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 concrete verb+resource (read measured, timestamped blood glucose readings), names the data sources (Health Connect, Ultrahuman), specifies the unit convention, and explicitly fences off lab tests to a separate record type, which distinguishes it from list_lab_results and list_lab_markers.

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

Usage Guidelines5/5

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

Gives an explicit mutually-exclusive selector (meal_id | workout_id | start_at/end_at range) and explains the condition that picks each mode, plus defaults (last six hours, 48-hour max) and the alternative destination for lab data. Little is left to inference about which invocation shape to use.

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.