Skip to main content
Glama
garmin-everything-mcp

garmin-everything-mcp

by dlekdns08

get_badges_for_activity

Read-only

Retrieve badges earned by a specific Garmin activity from its activity ID to identify which achievements that workout unlocked.

Instructions

[read-only] Return badges earned by one activity. Signature: get_badges_for_activity(activity_id: int | str) -> list[dict[str, Any]]

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": {
      "activity_id": "<activity_id>"
    },
    "name": "get_badges_for_activity"
  }
}

Input Schema

NameRequiredDescriptionDefault
activity_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=true, so the '[read-only]' prefix adds nothing. The signature line is useful because it discloses the return shape (list[dict[str, Any]]) even though no output schema exists. However, it says nothing about empty results, error behavior, or what fields a badge record contains.

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?

The text is short and front-loads the purpose. The '[read-only]' tag duplicates annotation data, and the mechanical 'Signature:' block is not natural prose. It still earns its place because it conveys the return type.

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

Completeness3/5

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

This is a simple single-parameter read tool, and the return type is disclosed as a substitute for a missing output schema. Gaps remain: how badge dicts are shaped, what happens for activities without badges, and whether errors are raised. The description is adequate but thin for a tool an agent might otherwise conflate with the other badge endpoints.

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

Parameters3/5

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

Schema description coverage is 0%, so the description carries the burden. The signature says the parameter accepts 'int | str', which is more permissive than the schema's string-only type, and that is genuinely useful. However, it does not explain where to obtain an activity_id or what format is expected.

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 description states a specific verb and resource: 'Return badges earned by one activity.' That clearly distinguishes it from the day-scoped sibling get_badges_for_day. It does not explicitly name which other badge tools it is not, so it stops short of a 5.

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 guidance about when to choose this tool over get_badges_for_day, get_latest_earned_badges, or get_available_badges. The agent must infer from the function name that this tool is scoped to a single activity. No prerequisites are stated, such as needing a valid activity ID or the effect of an activity with no badges.

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