Skip to main content
Glama

MapScale

Travel-time matrix

mapscale_matrix
Read-onlyIdempotent

Travel-time/distance matrix (≤25×25) — logistics, store-finder sort. sources and targets are [lng, lat] pair arrays.

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": {
      "sources": "<sources>",
      "targets": "<targets>"
    },
    "name": "mapscale_matrix"
  }
}

Input Schema

NameRequiredDescriptionDefault
profileNoMCP client UTF-8 budget: 512 bytes.driving
sourcesYes
targetsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds two genuinely useful operational facts beyond that: the 25x25 cardinality ceiling and the [lng, lat] coordinate ordering (longitude first, which is the opposite of the common lat/lng convention). It does not disclose units, partial-failure behavior, or what happens when the cap is exceeded.

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?

Two compact clauses with no redundant wording; the hard constraint (≤25×25) and the coordinate format are both front-loaded. The phrasing 'logistics, store-finder sort' is telegraphic and slightly cryptic, costing a point on clarity but not on length.

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

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description bears responsibility for return semantics, yet it never states units (seconds vs meters), whether both time and distance are returned, or the matrix's orientation (rows = sources, cols = targets). The 'matrix' framing at least implies the response shape, making this minimally viable rather than fully adequate for a two-array, 625-cell tool.

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 only 33% — sources and targets have no schema descriptions at all, only 'array of array of number' — so the description carries real weight by specifying they are [lng, lat] pair arrays, which resolves a genuinely dangerous ambiguity. The profile enum (driving/walking) is self-documenting in the schema, and the odd 512-byte 'UTF-8 budget' note on profile is not clarified here, so it is not a 5.

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?

The description names a concrete output artifact — a travel-time/distance matrix capped at 25x25 — and gives two concrete applications (logistics, store-finder sort), which separates it from sibling tools like mapscale_route or mapscale_isochrone that return paths or polygons. It stops short of explicitly contrasting with those siblings, so an agent must infer that a matrix means many-to-many rather than point-to-point.

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?

'logistics, store-finder sort' implies when this tool is appropriate, but there is no explicit when-not guidance, no mention of when to prefer mapscale_route for a single origin/destination, and no stated prerequisites such as coordinate support or profile restrictions. Usage is implied rather than directed.

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.