Skip to main content
Glama
hhopke
by hhopke

Icu Get Gap Histogram

icu_get_gap_histogram
Read-onlyIdempotent

Analyze time-in-zone distribution of grade-adjusted pace for one activity to assess trail running effort when raw pace is misleading.

Instructions

Time-in-zone DISTRIBUTION of grade-adjusted pace (GAP) within a single activity — elevation-normalized.

Use for trail running where raw pace is misleading. For raw (non- elevation-normalized) pace use icu_get_pace_histogram.

Input Schema

NameRequiredDescriptionDefault
activity_idYesActivity ID to analyze

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already establish this as a read-only, idempotent, non-destructive open-world query, so the safety profile is covered. The description adds real semantic context beyond that: it explains that the output is a time-in-zone distribution and that values are elevation-normalized. It does not discuss cost, pagination, or data availability for activities without elevation data, which keeps it out of the top band.

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 short sentences, with the core definition and the elevation-normalization qualifier front-loaded before the sibling redirect. Every clause carries information; nothing is padding.

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?

An output schema exists, so return values need not be explained, and the annotations cover the safety profile. With a single fully documented parameter and a clear statement of what the histogram represents, nothing an agent needs to call this correctly is missing.

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?

There is only one parameter (activity_id) and schema description coverage is 100%, so the schema fully carries the load. The phrase 'within a single activity' reinforces the scoping but adds no syntax or constraint detail beyond the schema, which matches the baseline for fully documented parameters.

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?

States a specific operation (time-in-zone distribution of grade-adjusted pace), a specific scope (a single activity), and the key qualifier (elevation-normalized). It also names the sibling it is not, so an agent can distinguish it from icu_get_pace_histogram without opening either schema.

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

Usage Guidelines5/5

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

Gives an explicit use case (trail running where raw pace is misleading) and an explicit routing rule to the alternative (raw pace -> icu_get_pace_histogram). Both when-to-use and when-to-use-something-else are stated outright.

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

Deploy Server

Other Tools