Skip to main content
Glama

set_activity_name

Rename an existing Garmin Connect activity by providing its activity ID and the new name.

Instructions

Rename an existing Garmin activity.

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>",
      "newName": "<newName>"
    },
    "name": "set_activity_name"
  }
}

Input Schema

NameRequiredDescriptionDefault
newNameYesNew activity name
activityIdYesGarmin activity ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the entire behavioral burden. It implies a mutation and that the target must already exist ("existing"), but discloses nothing about required permissions, name length/character constraints, reversibility, or what happens if the activity ID is invalid or not found.

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?

A single front-loaded sentence with no filler or redundancy. It is efficient, though the terseness borders on under-specification rather than deliberate economy.

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?

The tool is simple (2 required scalar params, full schema coverage, no output schema), so a short description is defensible. Still, for an unannotated mutation tool it should say at minimum what the rename affects and what an agent should expect on failure or invalid input.

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 100%, so activityId and newName are already documented in the schema. The description adds no extra meaning such as name length limits, trimming behavior, or whether duplicate names are allowed, so the baseline of 3 applies.

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?

States a specific verb and resource ("Rename an existing Garmin activity"), which is narrower than the sibling update_activity and thus implicitly distinct. It does not explicitly name or contrast with that sibling, so it stops short of full differentiation.

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 when-to-use guidance at all: no indication of when to prefer this over update_activity, no prerequisites (e.g., the activity must exist and be owned by the authenticated user), and no note on whether the tool merely changes the name or touches other fields.

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