Skip to main content
Glama

get_activities

Retrieve a paginated list of fitness activities ordered newest-first. Browse large activity logs without needing date filters, using event_type to distinguish races and other categories.

Instructions

Get activities with pagination support.

Retrieves a paginated list of activities ordered newest-first. Use this for browsing through large activity lists when you do not need to filter by date range, or as a complement to get_activities_by_date.

Each activity includes an event_type field. Common values: "race", "training", "uncategorized" (no event type set by the user — common for Peloton imports and untagged runs). Filter for races with event_type == "race" rather than excluding "training", as many non-race activities appear as "uncategorized" rather than "training".

Args: start: Starting index (default 0) limit: Maximum number of activities to return (default 20, max 100)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
startNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.9/5.0
Behavior5/5

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

Because no annotations are provided, the description carries the full burden, and it delivers: pagination behavior, newest-first ordering, event_type semantics, common values, and the important caveat about 'uncategorized' activities and Peloton imports. This goes well beyond the minimal 'retrieves a list' statement.

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 description is well-structured and front-loaded, with purposeful paragraphs for purpose, usage, and parameter details. It is slightly redundant because the opening sentence and the second sentence both convey pagination support, but the overall length is justified by the valuable event_type guidance.

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?

Given the output schema exists, the description doesn't need to spell out return fields—it covers the important contextual points: pagination defaults, ordering, event_type filtering, and relationship to the date-filtered sibling. An agent has everything needed to call this correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, but the description fully compensates with an Args section: start is the starting index with default 0, limit is max activities with default20 and max100. This is exactly the meaning an agent needs beyond the bare integer types.

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 a specific verb and resource ('Get activities'), and adds critical distinguishing detail: paginated list, ordered newest-first. It also explicitly contrasts itself with get_activities_by_date, so an agent can select it 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?

It tells the agent exactly when to use the tool: 'when you do not need to filter by date range' or as a complement to get_activities_by_date. It also gives concrete filtering guidance for event_type, which is rare and highly actionable.

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

Deploy Server

Other Tools