Skip to main content
Glama

List activities

list_activities
Read-onlyIdempotent

List the authenticated user's activities (planned and completed workouts), newest first. Filter by date range, sport type and completed state. A fulfilled plan is returned once, as the completed workout — its description and steps are not the plan. To read the plan (title, description, structured steps), call get_activity with plannedActivityId, or set includePaired=true to also return the planned row. Do not treat the completed row's description as the prescription. Summary fields only: routes never come back here, and the recorded time-series comes from get_activity_details one activity at a time.

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": "list_activities"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoOnly return activities on or before this calendar day (YYYY-MM-DD).
fromNoOnly return activities on or after this calendar day (YYYY-MM-DD).
limitNoMaximum activities to return (1-200).
offsetNoNumber of activities to skip, for paging through `total`.
completedNotrue returns only workouts that were actually done; false returns only planned workouts, including ones that were never completed. Omit to get both.
sportTypeNoOnly return activities of this sport type.
includePairedNoWhen a planned workout gets fulfilled, the plan and the completed workout stay separate linked activities, and the planned one is hidden by default. The plan's description and steps live only on that planned row — they are not copied onto the completed workout. Set true to also return those planned rows, or fetch plannedActivityId with get_activity. A fulfilled session then appears twice, so do not sum distance, duration or load across the result. No effect when completed is true.

Output Schema

NameRequiredDescriptionDefault
limitYes
totalYes
offsetYes
activitiesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / sportType / enum
      Previous value: -[
      -  "run",
      -  "bike",
      -  "swim",
      -  "hike",
      -  "yoga",
      -  "tennis",
      -  "golf",
      -  "soccer",
      -  "skiing",
      -  "nordicski",
      -  "skierg",
      -  "row",
      -  "kayak",
      -  "strength",
      -  "surf",
      -  "other"
      -]New value: +[
      +  "run",
      +  "bike",
      +  "swim",
      +  "hike",
      +  "yoga",
      +  "tennis",
      +  "golf",
      +  "soccer",
      +  "skiing",
      +  "nordicski",
      +  "skierg",
      +  "row",
      +  "kayak",
      +  "climb",
      +  "strength",
      +  "surf",
      +  "other"
      +]
  2. Changed2 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  3. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), yet the description adds substantive behavior: a fulfilled plan is returned once as the completed workout, plan description/steps are not copied onto it, and only summary fields come back (no routes). It also warns that a fulfilled session can appear twice, so aggregation across results is invalid — a real trap an agent would otherwise fall into.

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?

Purpose and ordering are front-loaded in the first sentence, then filtering, then sibling routing, then output-shape caveats — a sensible progression. It is dense with little waste, though the fulfilled-plan caveat is restated across three sentences, adding some redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 7-parameter list tool with full schema coverage, annotations and an output schema, the definition supplies everything an agent needs: what is filtered, what is returned, what is deliberately excluded, and which sibling to call for the missing pieces.

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 interpretation beyond field-level docs: it frames date range, sportType and completed as the filter axes and explains the completed/includePaired interaction and its consequence on result composition. The includePaired wording largely mirrors the schema text, which keeps this from a 5.

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?

States a specific verb and resource ('List the authenticated user's activities'), plus ordering ('newest first') and scope (planned and completed workouts). It explicitly separates itself from get_activity (plan details) and get_activity_details (time-series), so an agent can pick correctly without opening schemas.

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

Usage Guidelines5/5

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

Gives explicit routing rules: use get_activity with plannedActivityId to read the plan, set includePaired=true to also return the planned row, and use get_activity_details for recorded time-series one activity at a time. It also names the condition where a parameter is inert ('No effect when completed is true'), which prevents a common misuse.

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