Skip to main content
Glama

plan_truck_route

Compute a truck route with hazard warnings along it. Each call counts against the plan's monthly routing quota.

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": {
      "origin": "<origin>",
      "destination": "<destination>",
      "truck": "<truck>"
    },
    "name": "plan_truck_route"
  }
}

Input Schema

NameRequiredDescriptionDefault
truckYestruck profile as in POST /routing/route, e.g. {"weight_t":36,"height_m":4.1,"length_m":21}; may be {}
unitsNometric or imperial
originYesstart point
waypointsNointermediate stops
destinationYesend point
departure_timeNoISO 8601 or now
include_geometryNokeep the route polyline in the output (large)

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?

With no annotations, the description must carry the burden, and it does contribute one genuinely useful behavioral fact: each call consumes the plan's monthly routing quota, so calls are costly and non-free. Beyond that it is silent on whether the operation is read-only, what happens for an unroutable truck profile, and what the hazard warnings look like.

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?

Two short sentences, purpose front-loaded, with the quota cost as a second, non-wasteful sentence. Nothing redundant.

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?

For a 7-parameter, nested-object tool with no output schema and no annotations, the description covers the what and the cost but not the shape of the returned route/hazard data or error conditions. Given the schema is fully self-documenting, this is close to complete but leaves the agent guessing about outputs.

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%, including the nested truck profile and geometry flag, so the schema already does the parameter work. The description adds no parameter-level meaning (no mention of required origin/destination/truck, units, or the large-output implication of include_geometry), which is acceptable but adds nothing.

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+resource ("Compute a truck route") and adds the distinguishing output characteristic ("with hazard warnings along it"). It doesn't contrast itself with the closest sibling, get_truck_corridor, but the action is unmistakable.

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?

Usage is only implied by the verb — the agent can infer this is the tool for point-to-point truck routing, but the description never says when to prefer it over get_truck_corridor or when not to call it (e.g. offline planning vs. corridor exploration).

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