Skip to main content
Glama
garmin-everything-mcp

garmin-everything-mcp

by dlekdns08

get_training_plan_by_id

Read-only

Fetch details for a specific training plan by ID so you can review its workouts, schedule, and structure.

Instructions

[read-only] Return details for a specific training plan. Signature: get_training_plan_by_id(plan_id: int | str) -> dict[str, Any]

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "plan_id": "<plan_id>"
    },
    "name": "get_training_plan_by_id"
  }
}

Input Schema

NameRequiredDescriptionDefault
plan_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

The '[read-only]' tag merely restates the supplied readOnlyHint=true annotation and earns no credit. Beyond that, the description discloses nothing extra: no error behavior for unknown IDs, no note on what 'details' includes, no pagination or rate-limit context, and no indication of whether the lookup crosses account boundaries despite openWorldHint=true.

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

Conciseness4/5

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

Two lines, front-loaded with the read-only marker and the action, with no filler prose. The signature line is slightly redundant with the input schema but does carry the int|str type detail.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-required-parameter read tool with annotations and no output schema, the definition is minimally adequate: you know it fetches one plan by ID. It stops short of describing the returned 'details' payload or how to handle a missing plan, which is the main thing an agent would still need.

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 0% and the schema only labels the field 'Plan Id' with type string, so the description has to carry the load. The signature adds genuine value by declaring plan_id accepts int | str, but it does not explain the expected ID format or where to obtain a valid plan_id, and it conflicts with the schema's string-only typing.

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?

States a specific verb and resource: 'Return details for a specific training plan', with the ID-based access made explicit by the name and signature. It does not differentiate itself from the near-identical sibling get_adaptive_training_plan_by_id or from the list-style get_training_plans, so an agent can see what it does but not precisely which sibling to prefer.

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?

The phrase 'a specific training plan' weakly implies the caller already has a plan_id, but there is no explicit when-to-use, when-not-to-use, or alternative named. Given a sibling named get_adaptive_training_plan_by_id operating on a similar resource, the absence of any routing guidance is a real gap.

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