Skip to main content
Glama

olamap_optimize_route

Optimize the order of multiple stops to reduce travel time or distance, with optional start/end points, vehicle type, and priority-aware route planning.

Instructions

Optimize route order for multiple locations to minimize travel time

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_optimize_route"
  }
}

Input Schema

NameRequiredDescriptionDefault
locationsYes
end_locationNoEnding point coordinates "lat,lng" (optional)
vehicle_typeNocar
start_locationNoStarting point coordinates "lat,lng"
optimization_goalNotime

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?

With no annotations, the description carries the full behavioral burden and discloses almost nothing: not whether this is a pure computation returning an ordering versus something that renders a map, not whether it calls a routing service (latency/cost), and not what happens when start/end locations are omitted. It only restates the optimization objective, which the schema already expresses via optimization_goal.

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?

A single clean, front-loaded sentence with no filler, which is structurally sound. However, its brevity reflects under-specification rather than disciplined concision given the tool's five-parameter surface.

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 5-parameter tool with 40% schema coverage, no annotations, and no output schema, the agent lacks essential information: the return shape (ordered list? coordinates?), how the four optional parameters behave, and whether calling it produces any side effects. The description covers only the headline purpose.

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

Parameters2/5

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

Schema coverage is 40% across 5 parameters, so the description needs to compensate and does not. It says nothing about how 'priority' affects ordering, how start_location/end_location are handled when absent, or how vehicle_type changes travel-time estimates; 'minimize travel time' merely echoes the default optimization_goal='time'.

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?

Names a specific verb (optimize) and resource (route order for multiple locations) plus the objective (minimize travel time), so the operation is unambiguous. It does not distinguish itself from plausible siblings such as olamap_get_route_optimizer or olamap_plan_trip, which keeps it below a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase 'for multiple locations' implies a use case, but there is no explicit when-to-use, no when-not-to-use, and no named alternative for cases like single-origin directions or full itinerary planning. The agent must infer tool selection from the name alone.

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