Skip to main content
Glama

check_route

Read-only

Get current California highway corridor conditions between two places, including CHP incidents, lane closures, chain controls, and nearby wildfires ordered by distance from the start.

Instructions

CALIFORNIA ONLY: current conditions along a curated California highway corridor. For a drive anywhere else in the US (or for drive times, traffic and weather on any drive) use plan_trip instead.

Give it a start and end place and it returns everything active along that stretch right now - CHP incidents, lane closures physically in place, chain controls, and wildfires within ~10 miles - ordered by miles from the start, plus a summary.

ALWAYS pass from_coords and to_coords ("lat,lon") when you know where the places are - for landmarks, small towns, or anything not a major city they are required for a good answer. Coordinates do two things: they let unlisted places resolve to the nearest corridor (e.g. "Alice's Restaurant" snaps to I-280 on the Peninsula), and they CLIP the route to the span actually being driven, so a trip to a mid-corridor destination doesn't report events beyond it.

Corridors covered: I-80 Sacramento-Reno, US-50 to South Lake Tahoe, I-5, US-101, SR-17, SR-99, SR-1, I-15 to Vegas, Bay Area freeways, Tahoe-area routes. This is NOT a general router: if nothing matches (even with coordinates), the response lists the covered corridors; fall back to the filtered tools with center= for anything else.

Freshness: CHP incidents refresh about once a minute; closures, chain controls, and fires are on a 5-minute cache. Current conditions only - this cannot forecast tomorrow's weather or closures.

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": {
      "from_place": "<from_place>",
      "to_place": "<to_place>"
    },
    "name": "check_route"
  }
}

Input Schema

NameRequiredDescriptionDefault
to_placeYes
to_coordsNo
from_placeYes
from_coordsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.82.1

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, and the description adds real context beyond them: what the response contains (CHP incidents, closures, chain controls, fires within ~10 miles), the ordering by miles from start, and per-data-type freshness (CHP ~1 minute, others 5-minute cache). It also discloses the graceful failure mode (response lists covered corridors) and the explicit limitation that it cannot forecast. Loses a point only because it doesn't say why coords clipping behaves as it does beyond the stated effect.

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?

Front-loaded with the geographic restriction, then fallback, then return content, then parameter guidance, then coverage, then freshness — a sensible order with clear paragraph breaks. It is on the long side and the corridor list plus the coordinate rationale could be tightened, but nearly every sentence carries actionable information.

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

Completeness5/5

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

There is no output schema, and the description compensates by enumerating what comes back, its ordering, and the accompanying summary. Coverage limits, the no-match fallback, freshness windows, and the current-conditions-only constraint together leave nothing an agent needs missing before calling.

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 description coverage is 0%, so the description must carry the burden and largely does: it specifies the 'lat,lon' format for from_coords/to_coords, explains that they are required for landmarks and small towns, and describes both effects (snapping unlisted places to the nearest corridor, and clipping the route span). from_place/to_place are only implicitly described as 'start and end place', which is the remaining gap.

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

Purpose5/5

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

States a specific verb and resource ('current conditions along a curated California highway corridor') and immediately bounds the geographic scope with 'CALIFORNIA ONLY'. It names the sibling it is not ('use plan_trip instead'), so an agent can distinguish it without opening either schema.

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

Usage Guidelines5/5

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

Explicit routing is given in both directions: plan_trip for anything outside California or for drive times/traffic/weather, and the filtered tools with center= as the fallback when no corridor matches. The when-not condition is concrete and testable against the response.

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