Skip to main content
Glama

Get a ride route

get_ride_route
Read-onlyIdempotent

Requires sign-in and the routes:read permission. Get one saved ride route by route_id: summary, a simplified preview line as [lat, lng] pairs, waypoints, and gpx_download_url, a link to the full GPX file that expires in 15 minutes.

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": {
      "route_id": "<route_id>"
    },
    "name": "get_ride_route"
  }
}

Input Schema

NameRequiredDescriptionDefault
route_idYesThe id of a route from list_ride_routes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description still adds genuine behavioral context beyond them: the auth/permission gate and, notably, that gpx_download_url expires after 15 minutes, which is non-obvious and actionable.

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?

Two sentences with no filler; the permission gate is front-loaded before the payload description. The return-value list is dense but every item (preview pairs, waypoints, expiring GPX link) earns its place given there is no output schema.

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 no output schema, the description carries return-value burden and does so well, and it covers auth requirements. It stops short of describing failure behavior for a missing or unauthorized route_id, which is the only meaningful gap for this simple single-param read tool.

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 description coverage is 100% and the sole parameter's schema text already says it comes from list_ride_routes. The description restates 'by route_id' without adding format, validation, or edge-case meaning, so the baseline 3 applies.

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 names a specific verb and resource ('Get one saved ride route by route_id') and enumerates exactly what is returned: summary, a simplified preview line as [lat, lng] pairs, waypoints, and gpx_download_url. The singular 'one saved ride route by route_id' plus the reference to list_ride_routes clearly separates it from the listing sibling.

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?

It states a real precondition ('Requires sign-in and the routes:read permission') and implicitly routes the agent to list_ride_routes to obtain a route_id via the schema. However, there is no explicit when-to-use vs. when-not guidance or statement about what happens with an unknown/inaccessible route_id.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources