Skip to main content
Glama
adminpb

Nightscout MCP Server

by adminpb

get_treatments

Retrieve treatment records including insulin boluses, carb entries, notes, and exercise logs to analyze insulin and carbohydrate history for diabetes management.

Instructions

Get treatment records: insulin boluses, carb entries, notes, exercise logs, temp basals, and more. Use to understand insulin and carb history for analysis.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
countNoMax entries (default 50)
hoursNoHours to look back (default 24)
dateToNoEnd date (ISO 8601)
dateFromNoStart date (ISO 8601)
eventTypeNoFilter by event type: Meal Bolus, Correction Bolus, Carb Correction, Note, Exercise, etc.

Schema Changelog

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

  1. First observedv0.4.0

TDQS

A4/5.0
Behavior3/5

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

There are no annotations, so the description carries the burden of behavioral disclosure. It clearly implies a read operation via 'Get' and enumerates the record types returned. However, it does not describe output format, ordering, pagination behavior, or any limitations beyond what the schema already provides.

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 sentences, front-loaded with the core action and resource, followed by a purpose statement. There is no filler or repetition; every phrase contributes to selection and invocation.

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 read-only retrieval tool with no required parameters and a fully described schema, the description covers what the tool returns and why it would be used. The absence of an output schema is partially mitigated because the return values are obvious from the listed treatment record types, though some output details remain unspecified.

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%, so the schema already documents all five parameters. The description adds useful context by listing record types that map to the eventType filter, but it does not add meaning to count, hours, dateFrom, or dateTo beyond what the schema states.

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 uses a specific verb ('Get') and names a concrete resource ('treatment records') with explicit examples: insulin boluses, carb entries, notes, exercise logs, temp basals. This clearly differentiates it from siblings like get_glucose_history, which focuses on glucose readings rather than treatments.

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 phrase 'Use to understand insulin and carb history for analysis' gives a clear contextual purpose. However, it does not explicitly name alternatives or state when not to use the tool, so it stops short of full exclusion/alternative guidance.

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