Skip to main content
Glama

Alpinkarte

Create elevation profile

create_elevation_profile
Read-onlyIdempotent

Draw an elevation profile from a GPX file with elevation data and return it as SVG.

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": "create_elevation_profile"
  }
}

Input Schema

NameRequiredDescriptionDefault
gpxYesContent of the GPX file (XML text)
sportNoColour preset by sport and difficulty
styleNoVisual style
titleNoHeading; defaults to the track name
aspectNoWidth divided by height
autoAxisNoDerive the elevation axis from the data even if the preset fixes it (recommended)
showPeakNoLabel the highest point
fillColorNoFill colour, #rrggbb
lineColorNoLine colour, #rrggbb
showStatsNoShow a line with length, ascent and descent
distanceStepNoDistance between kilometre marks; 0 = automatic
showWaypointsNoShow waypoints

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds two useful facts beyond that: the output is an SVG and the source must carry elevation data. It says nothing about what happens when elevation data is absent or about size limits on the GPX payload.

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?

A single front-loaded sentence with no filler. Source, action, and return format all appear in the first clause.

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 12 parameters, no output schema, and full schema coverage, the one thing the description must supply is the return type — and it does (SVG). The main residual gap is failure behavior for GPX files lacking elevation data, which is left unstated.

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% across all 12 parameters, including enum meanings and defaults, so the schema carries the semantics. The description adds no extra parameter meaning; baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Draw an elevation profile from a GPX file" names a specific verb and resource and adds the output form (SVG), so an agent can tell this apart from analyze_gpx or create_map_link. It stops short of explicitly contrasting itself with those siblings, but the operation is 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 phrase "with elevation data" implies a precondition (the GPX must actually contain elevation samples) and the SVG return hints at a rendering use case. However, there is no explicit when-to-use/when-not guidance and no mention of which sibling to pick for analysis versus visualization.

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