Skip to main content
Glama

Hydrate and read an activity’s Strava segments

get_activity_segments

Fetch persisted segment efforts for a Strava activity by hydrating the matching activity first. Use when segment data appears missing, requires athleteId and activityId.

Instructions

For a selected activity’s segments, climbs, KOM/PRs, or per-segment analysis: automatically hydrate the matching Strava activity before returning its persisted segment efforts. Use this before saying segment data is unavailable. Requires athleteId from list_athletes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
refreshNo
athleteIdYes
activityIdYes
Behavior3/5

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

With no annotations provided, the description carries the full burden. It does disclose a key behavioral trait: the tool automatically hydrates the Strava activity before returning persisted segment efforts. However, it does not clarify whether hydration involves external API calls, potential delays, side effects, or what happens when data cannot be hydrated.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is compact, front-loaded with the use case, and each sentence adds value: what it does, when to use it, and what prerequisite to satisfy. There is no filler or repetition.

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?

The tool has no annotations, no output schema, and no parameter descriptions, yet the description does not explain the semantics of limit or refresh, nor describe what the returned segment efforts look like. It gives a solid high-level purpose but is insufficient for an agent to correctly configure and call the tool in all cases.

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

Parameters2/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 compensate, but it only explains that athleteId comes from list_athletes. It does not explain activityId, limit, or refresh semantics. A four-parameter tool with no schema descriptions leaves too much for the agent to infer.

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 specifies the verb and resource: it hydrates the matching Strava activity and returns persisted segment efforts. It also defines the intended scope—segments, climbs, KOM/PRs, or per-segment analysis—which distinguishes it from sibling hydration tools that focus on broader activities or history.

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 gives explicit guidance on when to use the tool: 'Use this before saying segment data is unavailable.' It also provides a prerequisite by noting that athleteId comes from list_athletes. It does not mention when not to use it or name alternative sibling tools, but the context is 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/rifusaki/catence'

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