Skip to main content
Glama

MapScale

Route between points

mapscale_route
Read-onlyIdempotent

Driving/walking route between waypoints (Thailand-tuned Valhalla). Mapbox-shaped response. Coordinates are [lng, lat] pairs.

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": {
      "coordinates": "<coordinates>"
    },
    "name": "mapscale_route"
  }
}

Input Schema

NameRequiredDescriptionDefault
profileNoMCP client UTF-8 budget: 512 bytes.driving
coordinatesYes2..25 [lng, lat] pairs, start to end (MCP client budget)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so safety is covered. The description adds genuinely useful context beyond that: the Valhalla backend tuned for Thailand and a 'Mapbox-shaped response', which tells the agent what to expect in the payload even without an output schema. It stops short of mentioning rate limits, error behavior, or how many waypoints are practical (that lives only in the schema).

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 short, front-loaded clauses with no filler; the core capability and the response shape come first. It is telegraphic rather than prose, and the parenthetical backend note earns its place, though a full sentence about usage would cost nothing.

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 only two parameters, rich annotations, and no output schema, the description covers the essentials: what it computes, the modes, coordinate convention, and the response shape. Missing only explicit alternative-routing guidance, which is the main gap for a tool in a large routing/geo family.

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 coverage is 100%, so both parameters are already documented, and the description's '[lng, lat] pairs' note largely restates the coordinates schema text. The one added nuance is confirming coordinate ordering is a hard requirement, but the driving/walking default and the 2..25 waypoint bound are left entirely to the schema.

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?

States a specific verb and resource (route between waypoints) plus the supported profiles (driving/walking) and the backend (Thailand-tuned Valhalla), so the agent knows exactly what the tool returns. It does not name the sibling it is not — e.g., mapscale_matrix for many-to-many costs or mapscale_isochrone for reachability — so differentiation is left to inference.

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 'route between waypoints' implies the use case (point-to-point travel directions), and the driving/walking mention hints at mode selection. However, there is no explicit when-to-use/when-not guidance and no pointer to mapscale_matrix or mapscale_isochrone as alternatives for different routing questions.

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.