Skip to main content
Glama
sedoglia

Diabetes:M MCP Server

by sedoglia

get_iob

Read-onlyIdempotent

Determine current Insulin on Board (IOB) by factoring recent insulin doses and DIA to guide insulin dosing.

Instructions

Calculate the current Insulin on Board (IOB) - the amount of active insulin still working in the body. Uses recent insulin doses from the logbook and calculates decay based on Duration of Insulin Action (DIA). Useful for dosing decisions and understanding current insulin activity.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
diaNoDuration of Insulin Action in hours (how long insulin remains active). Default is 4 hours. Typical range: 3-5 hours depending on insulin type.
includeBasalNoWhether to include basal insulin in IOB calculation. Default is false (only bolus/correction insulin).
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint. Description adds non-obvious behavioral context: uses logbook data and DIA for decay calculation. Does not contradict annotations.

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 that are front-loaded and contain no fluff. Every sentence adds value: definition and usage context.

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 simple read-only tool with good annotations and full schema coverage, the description is fairly complete. Missing only an indication of return format (a single number or structured object), but still adequate.

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 coverage is 100% with detailed descriptions for both parameters. Description reiterates DIA but adds no new semantics beyond schema, so baseline score of 3 is appropriate.

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?

Clearly states the verb 'calculate' and the resource 'Insulin on Board (IOB)'. Distinguishes itself from sibling tools like get_insulin_analysis by specifically focusing on active insulin decay.

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

Usage Guidelines3/5

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

Provides context for use ('useful for dosing decisions') but does not explicitly state when not to use or compare with alternatives like get_insulin_analysis. Lacks explicit guidance on exclusion criteria.

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/sedoglia/diabetes-m-mcp'

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