Skip to main content
Glama

get_activity_workouts

Read-only

Retrieve the workouts linked to a specific Garmin activity ID so you can review associated training sessions and their structure.

Instructions

运动关联训练。与官方客户端 get_activity_workouts 一一对应。参数和日期限制沿用官方接口。Return workouts associated with an activity ID.

Input Schema

NameRequiredDescriptionDefault
activity_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.5/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the read-only safety profile is covered structurally. The description's only added behavioral claim is that it maps one-to-one onto the official client's endpoint, and the 'date restrictions follow the official interface' line is never made concrete, so an agent learns nothing actionable about pagination, limits, or result shape.

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

Conciseness2/5

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

The description delivers the same content twice, first in Chinese ('运动关联训练') and again in English, and the one sentence that actually defines the tool is placed last. '与官方客户端 get_activity_workouts 一一对应' restates the tool name in tautological form, so several clauses fail the 'every sentence earns its place' test.

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 one-parameter tool with an unambiguous output schema absent, the description should at least say the response is a list of workouts and what happens on an activity with no workouts. It instead spends its budget on a bilingual restatement and a pointer to unspecified official-interface limits, leaving the agent under-informed on a very simple call.

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 description coverage is 0% for the single parameter, so the description must carry the meaning and does not: it says 'activity ID' but never clarifies accepted format, that both integer and string are allowed (per the anyOf), or where the ID comes from. The parameter restated in prose is essentially the same information as the schema's property name.

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?

The final English sentence states a specific verb and resource: 'Return workouts associated with an activity ID,' which tells an agent exactly what comes back and on what key. It does not, however, distinguish this from siblings like get_activity, search_activities, or download_activity, so an agent still has to infer why it would pick the workouts endpoint over a general activity fetch.

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

Usage Guidelines2/5

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

There is no statement of when to call this versus get_activity or search_activities, and no preconditions beyond the required ID. The remark '参数和日期限制沿用官方接口' gestures at constraints without naming any of them, which pushes the agent to external documentation rather than guiding usage.

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