Skip to main content
Glama

set_activity_dogs

Sets which active dogs joined a Garmin Connect activity using activity ID and dog IDs; pass an empty array to remove all dogs from that activity.

Instructions

Sets which of the account's active dogs joined an activity; [] removes them all. The mobile app's "Include dog" (Garmin's web client has no control for it): a partial PUT /activity-service/activity/{id} of metadataDTO. Garmin needs hasDog: true WITH dogProfileIds (the ids alone are ignored); [] sends {hasDog: false}, which removes them. Garmin stores ANY id, even another account's or a deleted dog's, so the ids are checked against getDogs("active") first (one extra request), matching the apps, which do not offer retired dogs. Read back on getActivity(...).metadataDTO and…

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": {
      "activityId": "<activityId>",
      "dogIds": "<dogIds>"
    },
    "name": "set_activity_dogs"
  }
}

Input Schema

NameRequiredDescriptionDefault
dogIdsYes
activityIdYesNumeric id

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.13.0

TDQS

A4.3/5.0
Behavior4/5

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

Goes well past the annotations by disclosing the underlying mechanics: a partial PUT of metadataDTO, the requirement that `hasDog: true` accompany `dogProfileIds`, and that ids are validated against `getDogs("active")` at the cost of one extra request. The removal path via `{hasDog: false}` is also explained, consistent with destructiveHint=false (the dog record is untouched).

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?

Front-loads the core action and the empty-list rule before diving into protocol details, so the most important information is first. It is dense but nearly every clause earns its place; the trailing "Read back on ... and…" is cut off mid-sentence.

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

Completeness4/5

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

For a two-parameter mutation with no output schema, the description covers validation behavior, the required payload shape, and how to verify the result via getActivity metadataDTO. The garbled/truncated final sentence and the unexplained activityId type union are the only gaps.

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?

With 50% schema coverage (only activityId has a description), the description carries dogIds: it defines `[]` as removing all dogs and explains that stored ids are unvalidated arbitrary values checked against the active list. activityId is only implied via the URL path, so its type union (integer|string) is not explained.

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: "Sets which of the account's active dogs joined an activity." It also pins the scope (account's active dogs) and the empty-value semantics, so an agent can distinguish it from the other set_activity_* siblings without opening a schema.

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

Usage Guidelines4/5

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

Explains the real-world trigger (the mobile app's "Include dog", which Garmin's web client lacks) and the `[]` removal case, giving clear context for when to call it. It doesn't explicitly name an alternative tool or state when not to call it, but no real alternative exists in the siblings.

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