Skip to main content
Glama

get_activities

Read-only

Retrieve completed activities between two dates with duration, distance, training load, power, and heart rate metrics to review training history; Strava-synced activities may lack details.

Instructions

Completed activities between two dates: type, duration, distance, training load, average and normalized power, intensity factor and average heart rate.

Activities that reached intervals.icu through Strava can't be read via the API and are listed without details.

Args: oldest: First day, YYYY-MM-DD. newest: Last day, YYYY-MM-DD (inclusive).

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": {
      "oldest": "<oldest>",
      "newest": "<newest>"
    },
    "name": "get_activities"
  }
}

Input Schema

NameRequiredDescriptionDefault
newestYes
oldestYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered. Beyond that, the description discloses a real behavioral quirk — activities ingested via Strava cannot be read through the API and appear without details — which an agent could not learn from the schema or annotations.

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?

Front-loaded with the returned content, then the important limitation, then the two arguments. It is tight overall, though enumerating fields duplicates the output schema and does not earn much space.

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?

An output schema exists, so the field list is arguably redundant, but the description still covers both required undocumented parameters and the major data-availability caveat. Gaps are minor: pagination/result limits, timezone handling, and result ordering are unaddressed.

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 0%, so the description must carry parameter meaning and it largely does: oldest is the first day, newest the last day and explicitly inclusive, with a YYYY-MM-DD format for oldest. It stops short of stating timezone or ordering semantics for the boundaries.

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?

States a specific verb+resource+scope: completed activities between two dates, plus the fields returned. It implicitly separates itself from planned activities (get_planned) by emphasizing "completed," but never names a sibling 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?

Usage is implied by the date-range framing, and the Strava note usefully warns that some returned activities carry no detail. There is no explicit when-to-use vs when-to-use-another-tool guidance, and no note on limits or typical date ranges.

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