Skip to main content
Glama

Training plan

get_training_plan
Read-onlyIdempotent

Upcoming scheduled workouts from the active plan: date, workout type, distance/duration targets, description.

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_training_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
days_aheadNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and closed-world scope, so the safety profile is fully covered. The description adds that results are limited to the active plan and enumerates the fields returned, which is useful since there is no output schema. It says nothing about ordering, handling of rest days, or what happens when no active plan exists.

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?

One front-loaded sentence with no wasted clauses; the resource is stated first and the returned fields follow. Minor ambiguity: '...targets, description' reads as a field name in a list that also resembles the tool's own description, and the sentence is a verbless fragment.

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 simple read-only lookup with a single input and no output schema, listing the returned fields compensates reasonably well. The gaps are the lookahead parameter semantics and the no-active-plan/empty-result case, which together keep it at minimum-viable rather than complete.

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

Parameters2/5

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

There is one parameter (days_ahead) with 0% schema description coverage, and the description never mentions it, so the agent gets no explanation of the lookahead window beyond the default of 14. The description's field list covers outputs, not the input, leaving the single input under-specified in both structured and unstructured sources.

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: 'Upcoming scheduled workouts from the active plan', and scopes it to the active plan, which is meaningful differentiation. It stops short of naming a sibling alternative, but the resource is concrete enough that an agent can distinguish it from get_training_load or get_activity_stats.

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?

Usage is only implied by the phrase 'upcoming scheduled workouts' — a reader infers this is the forward-looking, plan-preview tool. There is no when-to-use/when-not, no mention of how it relates to get_training_load or get_active_goal, and no stated preconditions (e.g., that an active plan must exist).

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources