Skip to main content
Glama

get_plan

Read-only

Get one of the user's training plans by id, with every day: its date, workout and status (upcoming, delivered, done or skipped).

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

Input Schema

NameRequiredDescriptionDefault
plan_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, non-destructive, closed-world), so the description adds value by disclosing the return granularity — one record expanded to every day, with the four possible status values spelled out. With no output schema, this partial payload description is genuinely useful, though it says nothing about behavior when the id is unknown.

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?

A single front-loaded sentence: the action and lookup key come first, then the returned structure, with the status vocabulary in parentheses. Nothing is redundant and no sentence is filler.

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 one-parameter read tool whose annotations already declare safety, the definition covers what it does and what comes back at a reasonable level. The main gap is the absence of any error or not-found behavior, which matters when looking up by a caller-supplied id.

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 one parameter and the schema coverage is 0%, so the schema provides only constraints (string, 1-128 chars) and no meaning. The description adds that the id identifies which of the user's plans to fetch, but gives no hint about id format or where an id comes from.

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?

The description names a specific verb and resource ("Get one of the user's training plans by id") and states the shape of the payload (every day with date, workout, status). It implicitly separates itself from list_plans by emphasizing a single plan by identifier, but never names a sibling explicitly.

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 implied rather than stated: an agent can infer it retrieves one existing plan by id as opposed to listing plans. There is no explicit when-to-use, when-not-to-use, or pointer to an alternative such as list_plans for discovery.

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