Skip to main content
Glama

get_chain_controls

Read-only

Fetches current California mountain highway chain-control status from Caltrans by route or nearby checkpoints. Check R-1, R-2, or R-3 requirements before driving in snow.

Instructions

CALIFORNIA ONLY: current chain-control requirements on California mountain highways. For chain laws and traction advisories in other states (where the state publishes them) use get_nearby_events (kinds='chain').

Data: Caltrans chain-control status for fixed checkpoints on mountain routes (I-80 Donner, US-50 Echo Summit, SR-88, SR-89, and others). Levels: R-1 = chains OR snow tires required; R-2 = chains required except 4WD/AWD with snow tires on all four; R-3 = chains on ALL vehicles (rare, usually precedes closure). Refresh: 5-minute cache.

Filters: route (e.g. "80", "US-50", "SR-88"); center "lat,lon" with radius_km for all checkpoints around a place (e.g. around Truckee), whatever highway they are on.

Off-season (roughly May-October) there are usually no controls anywhere; the response says so explicitly rather than returning an empty list. Chain requirements can change hour to hour in storms - tell the user the data_as_of time and to carry chains anyway when snow is possible.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_chain_controls"
  }
}

Input Schema

NameRequiredDescriptionDefault
routeNo
centerNo
radius_kmNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.82.1

TDQS

A5/5.0
Behavior5/5

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

Goes well past the readOnlyHint/openWorldHint annotations: names the upstream source (Caltrans), the 5-minute cache refresh, the fixed-checkpoint data model, the off-season behavior (explicit 'no controls' rather than an empty list), and the instruction to surface data_as_of and advise carrying chains. This is exactly the operational context annotations cannot convey.

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?

Front-loaded with the most decision-relevant token ('CALIFORNIA ONLY'), then layered into labeled Data/Levels/Filters/Off-season blocks. Given the zero schema coverage and no output schema, the R-1/R-2/R-3 legend and storm volatility note all earn their space.

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?

No output schema exists, so the description supplies the return-shape semantics (levels legend, explicit off-season message, data_as_of field) and the volatility caveat. Nothing an agent needs to select or call the tool correctly is missing.

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

Parameters5/5

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

With 0% schema coverage the description carries the full burden and does it: route formats are exemplified ('80', 'US-50', 'SR-88'), center is specified as 'lat,lon' paired with radius_km, and the route-vs-center distinction is explained. Only the radius_km default value is left to the schema.

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?

Opens with a hard scope and a concrete resource: 'CALIFORNIA ONLY: current chain-control requirements on California mountain highways.' The verb+resource is unambiguous and the geographic restriction immediately separates it from the generic events tool.

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?

Explicitly routes the agent elsewhere for out-of-state chain laws, naming the sibling and the exact call (get_nearby_events, kinds='chain'). It also describes the two filtering modes (route vs. center+radius_km) with when-to-use context ('around a place ... whatever highway they are on').

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