Skip to main content
Glama

compare_activities

Compares two cycling activities side by side, returning key power and training metrics with deltas (B minus A) so you can quickly see performance differences.

Instructions

Side-by-side metrics for two rides, with deltas (b minus a).

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_a": "<activity_id_a>",
      "activity_id_b": "<activity_id_b>"
    },
    "name": "compare_activities"
  }
}

Input Schema

NameRequiredDescriptionDefault
ftpNo
activity_id_aYes
activity_id_bYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

No annotations are supplied, so the description bears the full burden. It does disclose one genuinely useful behavioral trait — deltas are computed as b minus a — which tells the agent the sign convention of returned values. It omits error behavior for invalid activity IDs, units, and which metrics are returned.

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 compact sentence with the delta convention front-loaded; nothing is wasted or padded.

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?

For a read-only comparison tool with no output schema and only three parameters, the description covers the core purpose but leaves the undocumented ftp parameter and the returned metric set unexplained. It is minimally adequate rather than complete.

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%, so the description must compensate. The phrase 'b minus a' establishes the roles of activity_id_a (baseline) and activity_id_b (comparison), but the ftp parameter is never mentioned and its effect (presumably normalization) is left entirely to the agent's guess.

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 specific operation (side-by-side comparison of two rides returning metrics plus deltas), which is clearly distinct from single-activity siblings like activity_summary. It does not explicitly name an alternative, but the purpose is unambiguous from the text alone.

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 when-to-use or when-not-to-use guidance, and no mention of activity_summary or any sibling as the alternative for single-ride lookups. The agent must infer from the name that this is the comparison tool.

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