Skip to main content
Glama

Read training history

get_workouts
Read-only

What was trained, day by day (newest first, at most 60 days): each movement with its sets, weights in kg and distances in metres. Narrow it to one movement or a span.

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

Input Schema

NameRequiredDescriptionDefault
toNoOmit for today.
fromNo
movementNoOne movement only, as named.

Output Schema

NameRequiredDescriptionDefault
daysYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds genuinely non-obvious behavior: newest-first ordering, a hard 60-day window, and units (kg, metres), which prevents misinterpretation of returned values. It does not say what happens when the range is empty or whether the 60-day cap truncates silently.

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 dense sentence front-loads what is returned, then the ordering and cap, then the filters. No filler and no repetition of annotation-supplied safety claims.

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?

With an output schema present, return shape need not be described, and the description covers ordering, time bound and units adequately. The one remaining gap is the default start of the window when only 'to' is supplied, which matters for a tool with all-optional parameters.

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 67%, and the description only restates the filter intent ('one movement or a span') that the schema already conveys via the movement and to parameters. The undocumented 'from' parameter gains no default or boundary behavior from the description beyond the implied 60-day limit.

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 the resource (training history) and its contents precisely: movements with sets, weights in kg, distances in metres, ordered newest first. An agent can tell this is a read of workout logs, distinct in substance from food/journal siblings, though no sibling is named 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?

'Narrow it to one movement or a span' tells the agent the two filtering modes, which implies when to use the filters. However, it never says when to prefer this over get_day/get_days or how it relates to log_workout, so routing is left to inference.

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.