Skip to main content
Glama

set_preferred_device

DestructiveIdempotent

Save the user's optional preferred watch, by a device id that list_devices reports. Pass device_id: null to clear the preference. Enabled Garmin queue delivery uses this preference; Apple registrations represent paired watches collectively. Enabled linked Garmin installations can receive queued workouts; registration alone does not enable Connect IQ delivery.

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": {
      "device_id": "<device_id>"
    },
    "name": "set_preferred_device"
  }
}

Input Schema

NameRequiredDescriptionDefault
device_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already flag this as a non-read-only, destructive, idempotent write, and the description adds real context beyond that: null clears rather than errors, the preference drives enabled Garmin queue delivery, and Apple registrations represent paired watches collectively rather than a single device. It does not explain what is lost when the preference is overwritten, but the clearing behavior is disclosed.

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 core action, the id source, and the null-clearing rule are front-loaded and waste little space. The trailing sentences about Garmin queue delivery and Apple registrations are relevant but dense and slightly hard to parse, which keeps it off a 5.

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 one-parameter mutation with no output schema and annotations covering the safety profile, the description supplies what an agent needs: the id source, the clear sentinel, and the consequence of the setting. Missing only edge-case behavior such as an unrecognized device id or what happens to the prior preference.

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?

Schema coverage is 0%, so the description must carry the parameter burden, and it does: device_id must be an id reported by list_devices, and null is the explicit sentinel for clearing. That is meaningful semantics absent from the bare string|null schema, though it does not describe failure behavior for an unknown id.

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 opens with a specific verb and resource ('Save the user's optional preferred watch') and ties the identifier to a named sibling ('by a device id that list_devices reports'), so an agent can distinguish this from list_devices or send_workout_to_garmin immediately.

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?

It gives explicit call semantics: obtain the id from list_devices, and pass device_id: null to clear the preference. It also states the downstream effect (Garmin queue delivery uses this preference), which tells the agent when this matters. It stops short of naming when-not-to-call or how to recover from an invalid id.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources