Skip to main content
Glama
amansk

LibreLink MCP Server

by amansk

get_glucose_history

Retrieve historical glucose readings as timestamped values. Analyze past levels, identify patterns, or check overnight values, with customizable time ranges up to 720 hours.

Instructions

Retrieve historical glucose readings for analysis. Returns an array of timestamped glucose values. Useful for reviewing past glucose levels, identifying patterns, or checking overnight values. Default retrieves 24 hours of data.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hoursNoNumber of hours of history to retrieve (1-720). Default: 24. Examples: 1 for last hour, 8 for overnight, 168 for one week
Behavior4/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 behavioral disclosure. It states the return format ('array of timestamped glucose values') and the default behavior ('Default retrieves 24 hours of data'). This is sufficient for a simple read-only operation, though it does not disclose details like chronological ordering or unit of measure.

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 three succinct sentences, each adding distinct value: purpose, return type, and common use cases with the default behavior. There is no redundancy or fluff, and the most important information is front-loaded.

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?

For a simple tool with one optional parameter and no output schema, the description is complete: it explains what the tool does, what it returns, and the default window. It omits minor details like timezone or units, but these are not critical for a basic history retrieval tool given the clarity of the schema.

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?

The schema description covers 100% of parameters with detailed information: range (1-720), default (24), and examples (1, 8, 168). The description adds only a reinforcement of the default, providing no additional semantic value beyond the schema. Baseline 3 is appropriate when schema does the heavy lifting.

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 retrieves historical glucose readings, using a specific verb ('retrieve') and resource ('historical glucose readings'). This distinguishes it from sibling tools like get_current_glucose, which focuses on current readings, and get_glucose_stats, which provides statistical summaries rather than raw data.

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 explicit use cases: 'reviewing past glucose levels, identifying patterns, or checking overnight values.' This gives clear context for when to use the tool, but it does not explicitly mention alternatives or exclusion rules, such as 'for current glucose, use get_current_glucose.'

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/amansk/librelink-mcp-server'

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