Skip to main content
Glama

Activities

get_activities
Read-onlyIdempotent

Runs, rides and other cardio (watch-synced, imported files and manual) in a range (default last 30 days, max 366), with distance, duration, pace (min/km), heart rate, watch training effect label and VO2 max estimate when available, and totals. Use get_run_details with an id for splits and HR zones.

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

Input Schema

NameRequiredDescriptionDefault
toNo
fromNo
typeNoFilter, e.g. 'run' matches running, trail_running, treadmill_running

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety needs no restating. Beyond that, the description adds real behavioral detail: the default window, the 366-day cap, the three ingestion sources, and the fact that some metrics (training effect, VO2 max) are only present 'when available' — a caveat an agent must account for.

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?

Two sentences, front-loaded with the resource and its sources, followed by the returned-metric list and then the sibling routing. The metric list is dense but every item earns its place by telling the agent what fields to expect; density is the only cost.

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 rightly carries the return-value burden and lists the metric families plus totals, and it flags conditional availability. It is complete enough to call correctly except for the unstated date format on from/to, the one real gap for a 3-parameter read tool.

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 only 33% — only the `type` filter is documented there, with the 'run matches trail_running/treadmill_running' prefix-matching note. The description partially compensates by explaining the range semantics for from/to (30-day default, 366 max) but never states the expected date format for those two parameters, so half the surface remains undocumented in both places.

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 the concrete resource (cardio activities: runs, rides, watch-synced, imported, manual) and enumerates the returned metrics (distance, duration, pace, HR, training effect, VO2 max, totals) so an agent knows exactly what data comes back. It explicitly routes to the sibling get_run_details for splits and HR zones, making the boundary between the two tools readable without opening either schema.

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?

Gives concrete usage constraints (default last 30 days, max 366-day range) and an explicit alternative for per-activity depth: get_run_details with an id. It stops short of stating when NOT to use this tool (e.g., for non-cardio workout data), so it is strong context rather than a full routing rule set.

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