Skip to main content
Glama
adminpb

Nightscout MCP Server

by adminpb

a1c_estimator

Estimate future HbA1c from current CGM data and optional last lab result. Sets expectations before your next lab visit using weighted glucose trends.

Instructions

Estimate future HbA1c based on current CGM data and optional last lab result. Uses GMI from recent data weighted with historical HbA1c decay. Useful before lab visits to set expectations.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
last_a1cNoLast measured HbA1c (%). Used for weighted projection.
target_dateNoDate of next lab test (YYYY-MM-DD). If omitted, estimates for 30 days from now.
last_a1c_dateNoDate of last HbA1c test (YYYY-MM-DD).

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.4.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden. It discloses the computation method ('GMI from recent data weighted with historical HbA1c decay') and indicates reliance on existing CGM data. It does not mention edge cases or accuracy caveats, but there are no destructive or auth-related behaviors to disclose.

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?

Three short sentences, each with a distinct role: action, method, and use case. Front-loaded with the operative verb and contains no filler.

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-optional-parameter estimator with no output schema, the description conveys the return concept (estimated future HbA1c) and a practical context (pre-lab visit). It leaves minor gaps around parameter pairing and exact return format, but the core calling context is adequately covered.

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 description coverage is 100%, so the baseline is 3. The description adds value by clarifying that the lab result is optional and by explaining the weighting logic behind the historical parameters. It does not explicitly state that last_a1c and last_a1c_date should be supplied together, which would have strengthened it.

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 opens with a specific verb and object ('Estimate future HbA1c') and names the inputs ('current CGM data and optional last lab result'). No sibling tool performs prediction, so this clearly distinguishes a1c_estimator from the surrounding read/analysis tools.

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?

It provides a clear use case: 'Useful before lab visits to set expectations.' It does not name alternative tools or exclusion conditions, but no sibling offers A1c estimation, so the context is sufficiently clear.

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

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/adminpb/Nightscout-MCP'

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