Skip to main content
Glama

olamap_get_route_optimizer

Optimize multi-stop routes by calculating a practical location order, with optional travel mode, round-trip, and start/end points for trip planning.

Instructions

Similar to olamap_optimize_route, but includes more specific optional params like round_trip, mode

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": {
      "locations": "<locations>"
    },
    "name": "olamap_get_route_optimizer"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoTravel mode (driving, walking, cycling)driving
locationsYesArray of location coordinates as ["lat,lng", ...]
roundTripNoReturn to starting location
endLocationNoEnding location coordinates "lat,lng"
startLocationNoStarting location coordinates "lat,lng"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden, and it discloses almost nothing: it does not say that the tool reorders/optimizes the location sequence, whether the output is a new ordering or a geometry, whether calls are billed or rate-limited, or whether it is a read-only computation. It also names the param as "round_trip" while the schema uses "roundTrip", a small inconsistency an agent could latch onto.

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?

A single short sentence with no filler, and the sibling comparison is front-loaded. Its brevity is efficient even if the content is thin — the problem is omission, not verbosity.

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

Completeness2/5

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

For a five-parameter routing-optimization tool with no annotations and no output schema, the description should explain at minimum what optimization means here and how the start/end locations relate to the locations array. Neither is covered, so an agent must consult the schema and still guess about behavior.

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 all five params are already documented in the schema; the description merely repeats "round_trip" and "mode" without adding format, defaults, or interaction semantics (e.g., how roundTrip interacts with endLocation). Baseline 3 applies since the schema does the heavy lifting.

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

Purpose2/5

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

The description never states what the tool actually does — it only says it is "Similar to olamap_optimize_route" and defers the real explanation to that sibling. Naming the difference (round_trip, mode params) is useful, but an agent reading this alone cannot learn that it optimizes/reorders a route rather than, say, merely previewing one.

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?

There is an implied selection rule: pick this over olamap_optimize_route when you need the extra optional params such as roundTrip and mode. However, it gives no explicit when-not guidance, no prerequisites, and no mention of alternatives among the other routing siblings (olamap_get_directions, olamap_plan_trip), so the agent still has to infer.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.