Skip to main content
Glama
garmin-everything-mcp

garmin-everything-mcp

by dlekdns08

get_stamina_curve

Read-only

Retrieve a stamina curve for running or cycling, optionally for a specific YYYY-MM-DD date, to track endurance changes over time.

Instructions

[read-only] Return the latest stamina curve for sport_type (running/cycling). Signature: get_stamina_curve(cdate: str | None = None, sport_type: str = 'running') -> dict[str, Any] Dates are YYYY-MM-DD.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_stamina_curve"
  }
}

Input Schema

NameRequiredDescriptionDefault
cdateNoDate as YYYY-MM-DD.
sport_typeNorunning

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, and the "[read-only]" prefix merely repeats that. The description does add real behavioral context — the call always returns the most recent curve rather than a historical range — which constrains expectations usefully, but says nothing about what happens if no stamina data exists for the given date.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded in the first clause, which is good. But the embedded Signature line largely restates the input schema, the "[read-only]" tag restates annotations, and "Dates are YYYY-MM-DD" duplicates the cdate schema description — a short description with a noticeable share of redundant text.

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 two-optional-parameter read tool this is close to sufficient: purpose, allowed sport values and date format are all conveyed, and there is no output schema to compensate for. The residual gap is minimal — the return payload is only typed as dict[str, Any] with no hint of its contents, and the cdate semantics remain unexplained.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 50%: cdate carries a description ("Date as YYYY-MM-DD") while sport_type has none, so the description meaningfully compensates by enumerating the accepted values running/cycling and flagging the default. It does not, however, explain what cdate actually scopes — the reference date for the curve, a window end, or a fallback — which leaves the more ambiguous parameter undefined.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Specific verb+resource: "Return the latest stamina curve", with the sport_type domain narrowed to (running/cycling). This distinguishes it adequately from the power-curve siblings (get_power_curve, get_activity_power_curve) by resource, though it never names them explicitly.

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

Usage Guidelines2/5

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

No when-to-use guidance and no exclusions; nothing tells an agent why it would pick a stamina curve over a power curve, or when to pass cdate versus leaving it null. The word "latest" is the only usage signal, and it is descriptive rather than instructive.

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