get_activity_segments
Retrieve segment efforts for a specific Strava activity to analyze performance on route sections.
Instructions
Get the segments of a specific activity.
Args: ctx: The MCP request context activity_id: The ID of the activity
Returns: List of segment efforts for the 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": {
"activity_id": "<activity_id>"
},
"name": "get_activity_segments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| activity_id | Yes |