Skip to main content
Glama

update_activity

Update an existing Strava activity by providing the activity ID and only the fields you want to change, such as name, sport type, description, trainer, commute, or gear.

Instructions

Update an existing activity. Requires activity:write scope. Only provide the fields you want to change.

Args: activity_id: The Strava activity ID to update. name: New name for the activity. sport_type: New sport type (e.g. Run, Ride, Swim). description: New description. trainer: Set True/False for trainer flag. commute: Set True/False for commute flag. gear_id: ID of gear to associate (e.g. "b12345"). Use "none" to remove.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
activity_idYes
nameNo
sport_typeNo
descriptionNo
trainerNo
commuteNo
gear_idNo
Behavior4/5

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

No annotations are provided, so the description carries full burden. It discloses the scope requirement, partial update behavior, and special handling for gear_id ('Use 'none' to remove'). Mutation is implied but not explicitly stated.

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 description is front-loaded with the main action and scope, then organized with 'Args:' and bullet-like lines. It is clear but slightly wordy in the parameter explanations.

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?

Given 7 parameters, no annotations, and no output schema, the description covers parameters and behavior adequately. It explains partial update and parameter details but does not describe return values or rate limits.

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

Parameters5/5

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

Schema description coverage is 0%, so the description must add meaning. It explains all 7 parameters, including example for gear_id and notes on boolean flags. This provides significant value beyond the schema.

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 clearly states 'Update an existing activity,' which is a specific verb and resource. It distinguishes from sibling tools like create_activity and get_activity.

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?

The description specifies the required scope ('Requires activity:write scope') and instructs users to 'Only provide the fields you want to change.' While it doesn't explicitly list alternatives, the context makes usage clear.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/manojanasuri16/STRAVA-MCP-SERVER'

If you have feedback or need assistance with the MCP directory API, please join our Discord server