Skip to main content
Glama

get_fitness

Read-only

Retrieve daily fitness (CTL), fatigue (ATL), form (TSB), and form as a percentage of CTL for a date range to track training load and recovery.

Instructions

Daily fitness (CTL), fatigue (ATL), Form (TSB = CTL - ATL) and Form as % of CTL.

Args: oldest: First day, YYYY-MM-DD. newest: Last day, YYYY-MM-DD (inclusive).

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": {
      "oldest": "<oldest>",
      "newest": "<newest>"
    },
    "name": "get_fitness"
  }
}

Input Schema

NameRequiredDescriptionDefault
newestYes
oldestYes

Output Schema

NameRequiredDescriptionDefault
resultYes

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 and openWorldHint=true, so the safety profile is covered. The description adds genuine domain context by defining CTL/ATL/TSB and the derived percentage, which an agent could not infer otherwise. It says nothing about window limits, missing-day handling, or data freshness, so it adds moderate but not rich behavioral context.

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?

The returned metrics are front-loaded in the first sentence, and the Args block is terse with no filler. The 'Args:' docstring framing is slightly mechanical but costs almost nothing.

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?

An output schema exists, so return values need not be explained, and both required parameters are documented with format. For a metrics query, though, an agent would still benefit from knowing timezone/units, behavior on days without data, and any cap on the date span; those gaps leave it only adequate.

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 description coverage is 0%, so the description carries the full burden and does so reasonably: it labels oldest as the first day and newest as the last day, supplies the YYYY-MM-DD format, and flags that the range is inclusive. It does not say whether oldest must precede newest or how the window is bounded, keeping it out of 5 territory.

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 resource and enumerates exactly what is returned: CTL, ATL, TSB and TSB as a percentage of CTL, even giving the formula TSB = CTL - ATL. That is far more precise than the name alone. It does not, however, differentiate this from siblings such as get_activities, so it stops short of a 5.

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?

There is no guidance on when to call this versus get_activities or get_planned, and no stated prerequisites. The only usage-shaped content is the required date window, which is really parameter documentation rather than when-to-use advice.

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