Skip to main content
Glama

route_hgv

Compute an HGV-legal route between two waypoints. ($2.00)

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>"
    },
    "name": "route_hgv"
  }
}

Input Schema

NameRequiredDescriptionDefault
originYes
paymentNoOptional payment: x402 base64 payment payload, or MPP voucher (mpp.v1...). Without it, the tool returns a payment_required challenge.
destinationYes
vehicle_height_mNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it discloses only the price ($2.00). It says nothing about the payment flow, despite the schema showing a payment_required challenge, nor about rate limits, failure modes when no legal HGV route exists, or what the response contains.

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 short, front-loaded fragments with zero padding; the purpose and price land immediately. The terseness is efficient rather than muddled, though the parenthetical price slightly interrupts the core statement.

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 paid, mutating-cost tool with no annotations, no output schema, and 3 of 4 parameters undocumented, this is far too thin. An agent cannot tell how payment works, what a successful response looks like, or how the vehicle height constraint is applied.

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 description coverage is only 25% (payment is the sole documented property), so the description should compensate for origin, destination, and vehicle_height_m. Instead it adds no format or meaning for origin/destination and never mentions vehicle_height_m, which is arguably the most consequential input for HGV-legal routing.

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?

"Compute an HGV-legal route between two waypoints" gives a specific verb (compute), a specific resource (route), and a qualifier (HGV-legal) that separates it from a generic router like route_matrix or estimate_sip_route_cost. It stops short of naming any sibling or stating what makes a route "HGV-legal" differs from a plain route.

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 description never says when to pick this tool over route_matrix, estimate_hgv_toll_class, or estimate_sip_route_cost, nor any when-not condition. The only usage signal is implicit in "between two waypoints" and "HGV-legal"; there are no exclusions or prerequisites stated.

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