Skip to main content
Glama

Change tracks

track_write
Destructive

Change a leg's GPX track: import raw GPX text (inline, capped at 5 Mi UTF-16 code units — that is what the schema counts, so it is roughly 5 MB for plain-ASCII GPX and no less for a file full of non-ASCII names; the server-side pipeline caps are separate: 32 MB of bytes AND at most 75,000 trackpoints per file — a file over the inline cap goes through the REST upload route instead, and one over the point cap has to be split or simplified first), reprocess the leg's stored raw file at the current pipeline version, and delete the track (the leg reverts to statsSource 'manual', retaining its last computed stats). A file whose timed points span more than 60 days is refused on import and reprocess with leg_too_long (422), as no leg may be that long. IDs are 6-character case-sensitive alphanumeric strings. Timestamps are UTC ISO 8601. Distances are integer meters. Durations are integer seconds.

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only supply destructiveHint=true, and the description goes well beyond that: delete reverts the leg to statsSource 'manual' while retaining last computed stats, imports/reprocesses over 60 days of timed points are refused with leg_too_long (422), and the three separate size/point caps are spelled out. This is exactly the consequence-level detail a destructive tool needs.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Every fact is relevant, but the content is delivered as one dense paragraph with a nested multi-clause parenthetical that is hard to parse on first read. Splitting the three actions and the cap explanation into short separated clauses would have preserved the information while improving scanability.

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 three-action mutation tool with no output schema, the definition covers action effects, error codes, ID format, and unit conventions, which is nearly everything needed. The remaining holes are the maxSpeedKn parameter's behavior and what a successful import/reprocess/delete returns.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3, but the description adds real meaning the schema cannot: the 5,242,880 maxLength counts UTF-16 code units rather than bytes, and server-side caps (32 MB, 75,000 points) are separate and enforced later. The one gap is maxSpeedKn, whose purpose (presumably speed-plausibility filtering) and knots unit are never explained.

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?

Opens with a specific verb and resource ("Change a leg's GPX track") and then enumerates the three distinct operations it performs: import raw GPX, reprocess the stored raw file, and delete the track. An agent can distinguish it from track_read and from the other *_write siblings without opening the schema.

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?

Each action's effect is described concretely, and there is an explicit routing exclusion: a file over the inline cap "goes through the REST upload route instead" and one over the point cap must be split or simplified first. What is missing is an explicit statement of when to prefer reprocess over re-import, which is left to inference.

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