Skip to main content
Glama

Export trip

export_trip
Read-only

Get a download URL for a road trip's route as a GPX, KML or KMZ file (openable in Garmin / Google Earth / any navigator). Read-only — the URL points at OrgLines' own authenticated export endpoint for the trip. Only the caller's own trip is reachable. Returns { format, download_url, filename }.

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": {
      "trip_id": "<trip_id>",
      "format": "<format>"
    },
    "name": "export_trip"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatYes
trip_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds real value by clarifying that the returned URL targets OrgLines' own authenticated export endpoint and is scoped to the caller's own trip, but it omits whether the URL expires or requires re-invocation, which matters for a URL-returning tool.

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?

Three short sentences, front-loaded with the action and artifact, followed by the auth/scope caveat and the return shape. No filler, and the return-shape sentence earns its place because no output schema exists.

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?

For a two-parameter read tool with no output schema, the description supplies the return fields, the auth/scoping context, and the format purposes. The only meaningful gap is URL lifetime/expiry, which an agent would need to know before caching or reusing the download link.

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 0%, so the description must carry the load. It does explain the format options in functional terms (openable in Garmin / Google Earth / navigators), but adds nothing about trip_id beyond the scoping note, and the enum values themselves are already in the schema; the simple, self-evident parameter names keep this at an adequate baseline.

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?

States a specific verb and resource: 'Get a download URL for a road trip's route as a GPX, KML or KMZ file.' The concrete artifact (download URL) and the accepted formats distinguish it immediately from sibling read tools like get_trip.

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?

Gives the operative constraint, 'Only the caller's own trip is reachable,' which frames when the tool will succeed. It does not explicitly route the agent away from siblings such as get_trip for metadata versus this tool for export, so the when-to-use versus alternatives is implied by the output shape rather than stated.

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