Skip to main content
Glama
Arbodgad

strava-openapi-mcp

by Arbodgad

put_update_activity_by_id

Update a Strava activity's details such as name, type, commute, or gear by specifying its activity ID. Requires write access.

Instructions

Update Activity

Endpoint: PUT /activities/{id}

Description: Updates the given activity that is owned by the authenticated athlete. Requires activity:write. Also requires activity:read_all in order to update Only Me activities

This operation modifies Strava data. Scopes: required: activity:write; conditional: activity:read_all.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe identifier of the activity.
nameNoThe name of the activity
typeNoAn enumeration of the types an activity may have. Note that this enumeration does not include new sport types (e.g. MountainBikeRide, EMountainBikeRide), activities with these sport types will have the corresponding activity type (e.g. Ride for MountainBikeRide, EBikeRide for EMountainBikeRide)
commuteNoWhether this activity is a commute
gear_idNoIdentifier for the gear associated with the activity. ‘none’ clears gear from activity
trainerNoWhether this activity was recorded on a training machine
sport_typeNoAn enumeration of the sport types an activity may have. Distinct from ActivityType in that it has new types (e.g. MountainBikeRide)
descriptionNoThe description of the activity
hide_from_homeNoWhether this activity is muted
Behavior2/5

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

The description notes it modifies Strava data and lists required scopes, but with no annotations it carries the full behavioral burden. It does not disclose whether unspecified fields are preserved (partial vs. full update), what the response returns, or error behavior on invalid IDs.

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 structure is mostly clear but includes redundant scope information ('Requires activity:write...' repeated as 'Scopes: required: activity:write...'). The endpoint line is redundant with the tool name, making the description slightly less concise than it could be.

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

Completeness2/5

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

For a mutation tool with 9 parameters, no output schema, and no annotations, the description omits critical behavioral details. It does not explain whether the update replaces or merges fields, what the response contains, or how missing IDs are handled, leaving an agent under-informed.

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 coverage is 100%, so all parameters are already described in the input schema. The description adds no extra meaning to parameters, which meets the baseline for this dimension.

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 states a specific verb and resource ('Updates the given activity') and clarifies that the activity must be owned by the authenticated athlete. This clearly distinguishes it from the sibling create tool (post_create_activity) and read tools like get_activity_by_id.

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?

The description provides ownership and scope requirements but gives no guidance on when to use this tool versus alternatives. It does not mention that create should be used for new activities or that read tools retrieve activities, leaving usage context implicit.

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/Arbodgad/strava-openapi-mcp'

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