Skip to main content
Glama

get_activity_details

Read-only

One activity in detail: laps and splits with pace and heart rate. A run also carries the weather during it, the terrain (climbs, pace uphill, flat and downhill, heart-rate drift), earlier runs of the same route and a link to an image of the run to post. A ride carries power figures, best efforts, time in power zones and climbs. A swim carries pace per 100 m, SWOLF, strokes and each interval with its rest.

Args: activity_id: The activity's id.

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": {
      "activity_id": "<activity_id>"
    },
    "name": "get_activity_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
activity_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

The annotations already establish readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds real selection context by spelling out the richness and sport-specific shape of the result, which helps an agent decide whether this call is worth making, though it says nothing about permissions, errors, or missing-data behavior.

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 sport-by-sport breakdown is front-loaded and each clause carries distinct information that supports tool selection. The trailing 'Args' block is waste, since it merely repeats the parameter name.

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?

Because an output schema exists, the bulk of the description (return-field enumeration) is partially redundant, and the space is not used for the missing pieces: how to obtain a valid id and what the integer-versus-string input means. Adequate for a single-parameter read tool, but with visible gaps.

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?

Schema description coverage is 0% and the sole parameter is documented only as 'The activity's id', a tautological restatement of the parameter name. It does not resolve the anyOf integer-or-string ambiguity or indicate that the value typically comes from get_activities.

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 states a concrete verb-resource pair (retrieve a single activity in detail) and enumerates what 'detail' means for each sport (laps/splits for all, weather/terrain for runs, power for rides, SWOLF for swims). This clearly separates it from the list-oriented sibling get_activities, though the sibling is never named.

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: an agent must infer that this tool is for one activity while get_activities covers the list, and there is no guidance on prerequisites such as where an activity_id comes from or what happens for unusual activity types.

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