Skip to main content
Glama

Run details

get_run_details
Read-onlyIdempotent

Detailed analysis of one run (or ride/walk/hike) synced from the watch or imported from a file: summary, per-km splits, HR zone distribution, elevation, cadence, stride, power, training effect, pacing (first vs second half, fastest/slowest km), HR drift and a route summary (no raw GPS points). Pass activity_id (from get_activities) or a date; with neither, the most recent run is used.

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

Input Schema

NameRequiredDescriptionDefault
dateNoYYYY-MM-DD / today / yesterday; picks the longest matching activity that day
typeNoActivity type filter when using date or latest (default 'run'), e.g. 'cycling', 'hik'
activity_idNoHeza activity id (UUID) from get_activities

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so safety and idempotence are covered by structured data. Beyond that, the description adds only the useful scope caveat that raw GPS points are excluded, plus the default-to-latest behavior; it says nothing about response size, latency, or what happens when no matching activity 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?

Everything sits in two front-loaded sentences: purpose and payload first, invocation rules second. The long comma-delimited enumeration of metrics is dense but each item is informative; a bulleted or grouped structure would scan better, but no sentence is wasted.

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 no output schema, the description carries the burden of describing return content, which it does thoroughly, and it explains the optional-parameter fallback so an agent can call it with zero arguments. The main remaining gap is failure behavior when no matching activity exists for a given date or type.

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 coverage is 100%, so the baseline is 3, but the description adds genuine semantics on top: it links activity_id to get_activities as its provenance and establishes the precedence/fallback rule (id, then date, then most recent). The role of 'type' in the date/latest path is left to the schema, which already documents it adequately.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific resource (a single synced activity) and enumerates exactly what is returned: summary, per-km splits, HR zones, elevation, cadence, stride, power, training effect, pacing, HR drift, route summary. It also explicitly distinguishes scope by noting 'no raw GPS points,' so an agent knows this is analyzed detail rather than raw track data.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states the invocation paths clearly: 'Pass activity_id (from get_activities) or a date; with neither, the most recent run is used,' which names a sibling as the id source and documents the fallback. It does not, however, say when to prefer this over related tools like get_workout_session or get_activities for a given question, so routing is only partially covered.

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