Skip to main content
Glama

get_activities_by_date

Read-only

Fetch Garmin Connect activities within a date range, optionally filtered by activity type. Automatically paginates to retrieve all results.

Instructions

paginates internally: fetches fixed pages of 20, incrementing start by 20, until an empty page (normal end) or 2000 pages without one (throws GarminError)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
enddateNoCalendar date, YYYY-MM-DD (UTC)
sortorderNo
startdateYesCalendar date, YYYY-MM-DD (UTC)
activitytypeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true. The description does add genuine behavioral context beyond that — fixed 20-item pages, automatic pagination, and a GarminError thrown after 2000 pages — which is real error/pagination disclosure an agent cannot get from the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single compact sentence with no padding, so raw length is fine. However it front-loads implementation internals rather than the tool's purpose, so the most important information is absent rather than merely late.

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

Completeness2/5

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

For a read tool with no output schema and four parameters, the description omits the date-range semantics, filter behavior, and result shape. Pagination is covered, but that is one narrow aspect of what an agent needs to invoke this correctly.

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 coverage is 50%, so the description would need to compensate for undocumented sortorder and activitytype, which it does not. Worse, it references a `start` offset incremented by 20 while the schema's date parameter is `startdate`, a naming mismatch that could mislead the agent about whether a pagination parameter exists.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description never states what the tool retrieves — activities for a date range — and instead documents only internal pagination mechanics. The name alone conveys purpose, so the prose adds no distinguishing signal against siblings like get_activities, get_activities_for_date, or get_activity.

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

Usage Guidelines1/5

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

No when-to-use guidance, no prerequisites, and no mention of the several overlapping activity-retrieval siblings in the toolset. The agent is left to guess which of get_activities, get_activities_for_date, or this tool to call.

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