Skip to main content
Glama

Save a GPX ride route

import_ride_route
Idempotent

Requires sign-in and the routes:write permission. Save a GPX file to the traveller's ride routes. Pass the file contents as text in gpx (up to 64 KB) and an optional name. Returns the saved route, or duplicate=true if the same file is already saved.

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": {
      "gpx": "<gpx>"
    },
    "name": "import_ride_route"
  }
}

Input Schema

NameRequiredDescriptionDefault
gpxYesThe full GPX file contents as text (up to 64 KB).
nameNoOptional route name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations, it discloses the auth/permission requirement, the 64 KB payload ceiling, and the return behavior including the duplicate=true outcome on repeat. This explains the mechanism behind idempotentHint=true rather than merely restating it, and confirms no destruction of existing routes.

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?

Three tight sentences with no filler; the size limit and duplicate semantics each earn their place. Leading with the auth prerequisite rather than the action slightly delays the core purpose, but nothing is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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 the return contract ('returns the saved route, or duplicate=true') and does so explicitly. For a two-parameter write tool, auth, size cap, and duplicate handling are the material facts an agent needs, and all are present.

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%, so both gpx and name are already documented, and the description largely restates them ('as text', 'up to 64 KB', 'optional name'). It adds the 'traveller's' ownership context but no new format or validation detail beyond the schema.

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: 'Save a GPX file to the traveller's ride routes', with the file passed as text. This clearly separates it from the sibling readers (get_ride_route, list_ride_routes) and the deleter (delete_ride_route).

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 concrete preconditions ('Requires sign-in and the routes:write permission') and the exact input shape (file contents as text, optional name), which tells an agent when the call will succeed. It does not explicitly contrast with sibling tools or say what to do on a duplicate response, so it stops short of full routing guidance.

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