Skip to main content
Glama
samitugal
by samitugal

get-segment

Retrieve detailed Strava segment information including location, distance, grade, elevation, and effort/athlete counts by providing the segment ID.

Instructions

Returns detailed information about a segment — location, distance, grade, elevation, and effort/athlete counts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
segmentIdYesThe unique identifier of the segment to fetch.
Behavior3/5

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

No annotations are provided, so the description carries the burden of behavioral disclosure. The word 'Returns' indicates a read-only operation, which is helpful, but it does not mention authentication needs, error behavior, or any constraints. For a simple getter, the transparency is adequate but not rich.

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 a single sentence that immediately states the action and resource, then lists the key return fields. It is concise, front-loaded, and contains no superfluous words, earning a perfect score for structure.

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?

With one parameter and no output schema, the description provides sufficient context by listing the types of data returned (location, distance, grade, etc.). It gives an agent a clear idea of what to expect. It could be slightly more explicit about response units or format, but it is adequately complete for invocation.

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?

The input schema fully describes the only parameter 'segmentId' with 100% coverage. The description does not add any extra meaning to the parameter, so it stays at the baseline of 3 for high schema coverage. No additional parameter context is provided.

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 the tool 'Returns detailed information about a segment' and enumerates specific attributes (location, distance, grade, elevation, effort/athlete counts). This distinguishes it from sibling tools like get-segment-effort or get-segment-leaderboard, which focus on sub-resources. The verb+resource combination is precise and unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage for fetching detailed segment information, but it does not explicitly contrast with alternatives or state when not to use it. There is no mention of sibling tools or exclusions, so guidance is only implied by the purpose statement.

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

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