Skip to main content
Glama

get_segment

Retrieve detailed information about a specific Strava segment, including distance, grade, elevation, location, star count, effort count, and personal record.

Instructions

Get detailed info about a segment: distance, grade, elevation, location, star count, effort count, and your PR.

Args: segment_id: The Strava segment ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
segment_idYes
Behavior2/5

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

No annotations provided. The description implies a read operation but does not explicitly state safety, permissions, or error conditions. With no annotation support, the description fails to disclose behavioral traits.

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?

Description is brief and front-loaded with purpose. Includes an 'Args' section. No unnecessary words, but could be slightly more structured.

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 no output schema, the description lists several return fields (distance, grade, elevation, etc.). For a simple one-parameter tool, this is adequate. However, lacks mention of pagination or limits.

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 0%, so the description must compensate. It adds 'The Strava segment ID' to the single parameter, which provides some meaning beyond the schema title. However, it lacks details like where to obtain the ID or constraints.

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 'Get detailed info about a segment' and lists specific data returned (distance, grade, elevation, etc.). It is specific and distinguishes from siblings like get_segment_efforts or get_starred_segments.

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?

No guidance on when to use this tool versus siblings such as explore_segments or get_segment_efforts. The description only mentions the segment_id parameter without context.

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