Skip to main content
Glama
intervals-icu-mcp
by hhopke

Icu Get Best Efforts

icu_get_best_efforts
Read-onlyIdempotent

Find peak efforts within a single activity for a selected stream and target duration or distance, such as 20-minute power or 5k splits.

Instructions

Find the top-N peak efforts WITHIN a single activity for a given stream + target duration or distance.

Different from get_*_curves (which span many activities). Useful for "what was my best 20-min power on this ride?" or "show my top 5k splits in this run." Requires at least one of duration or distance.

Input Schema

NameRequiredDescriptionDefault
countNoNumber of efforts to return (default 8)
streamNoStream to search for best efforts: 'watts', 'heartrate', or 'pace'watts
distanceNoDistance of each effort in meters (e.g., 5000 for 5k). At least one of 'duration' or 'distance' is required.
durationNoDuration of each effort in seconds (e.g., 60 for 1-min, 1200 for 20-min). At least one of 'duration' or 'distance' is required.
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 cover the read-only, idempotent, non-destructive profile, so the remaining burden is low. The description adds genuine behavioral context the annotations don't: the analysis is confined to one activity and at least one of duration/distance must be supplied. It stops short of describing result ordering/format, but the output schema covers return values.

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 tight sentences: the core operation and constraint come first, the sibling disambiguation second, and usage examples third. No filler, no repetition of schema content.

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?

With annotations covering safety, an output schema covering return values, and a fully documented 5-parameter schema, the description supplies exactly the missing piece: single-activity scoping and the duration/distance requirement. Nothing an agent needs to call this correctly is absent.

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 all five parameters are already documented with defaults and examples. The description's examples ('20-min power', '5k splits') reinforce duration/distance semantics but add no syntax or interaction detail beyond the schema. Baseline 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?

Uses a specific verb ('Find the top-N peak efforts') bounded by an explicit scope ('WITHIN a single activity') and a parameterized resource ('stream + target duration or distance'). It also names the class of siblings it differs from ('get_*_curves'), so an agent can distinguish it without opening schemas.

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?

Explicitly states when to use this tool versus the curve tools ('which span many activities') and supplies two concrete use cases ('best 20-min power on this ride', 'top 5k splits in this run'). It also states a hard precondition: at least one of duration or distance is required.

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