Skip to main content
Glama
IshaanRSharma

mcp-server-dexcom-health

get_statistics

Compute glucose metrics for a chosen time window using Dexcom CGM readings, with adjustable thresholds and start/end offsets for targeted analysis.

Instructions

Get glucose statistics for a time period.

Args:
    minutes: Number of minutes to analyze (1-1440, default 1440 = 24h)
    start_minutes: Window start - minutes ago from now (e.g., 240 = 4 hours ago)
    end_minutes: Window end - minutes ago from now (e.g., 180 = 3 hours ago)
    low: Low threshold in mg/dL (default 70)
    high: High threshold in mg/dL (default 180)
    data: Optional external readings for persistence layer integration.

Examples:
    get_statistics(minutes=180)  # Stats for last 3 hours
    get_statistics(start_minutes=240, end_minutes=180)  # Stats for 4h to 3h ago

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
lowNo
dataNo
highNo
minutesNo
end_minutesNo
start_minutesNo
Behavior3/5

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

With no annotations provided, the description carries the full burden of disclosure. It explains window semantics (e.g., minutes ago) and includes defaults, but it does not explicitly state that the operation is read-only, what statistics are computed, or how low/high thresholds affect output. The behavior is partially transparent but lacks depth.

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?

The description is well-organized with an Args section and examples. It is concise, with no filler, and each sentence serves a purpose—whether defining a parameter or demonstrating usage. The Examples section adds practical value without bloat.

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

Completeness3/5

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

Despite 6 parameters and no output schema, the description doesn't explain what the returned statistics include (e.g., average, time-in-range, hypoglycemia counts) or how low/high thresholds influence the computation. This gap leaves an agent unsure whether the tool meets its exact needs. However, the examples and parameter details provide adequate basic context.

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 description coverage is 0%, and the description fully compensates by defining each parameter's range (1-1440 for minutes), units (mg/dL for thresholds), and semantic meaning (e.g., start_minutes as 'minutes ago from now'). Examples illustrate usage clearly. The only minor gap is the vague 'data' parameter, but overall parameter semantics are strong.

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 'Get glucose statistics for a time period', specifying a specific verb and resource. This distinguishes it from sibling tools like get_current_glucose and get_glucose_readings by focusing on aggregated statistics rather than individual or current readings.

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?

The description provides clear context through parameter explanations (minutes, start_minutes, end_minutes) and examples showing different time windows. However, it does not explicitly mention when to prefer this over sibling tools or provide exclusions like 'use get_glucose_readings for raw data', so it falls short of a 5.

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/IshaanRSharma/mcp-dexcom'

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