Skip to main content
Glama

Aadt By Route

aadt_by_route
Read-onlyIdempotent

US road traffic volume (AADT) for segments of a named route in one state, from FHWA HPMS. route is a case-insensitive PREFIX of the state's route_id (state-specific free text, e.g. "I089" in Vermont, "IH0035" in Texas, "SHS_101" in California); use aadt_top_segments to see a state's id style. A highway may carry several ids (e.g. IH0035-KG, IH0035-LG). Busiest segments first.

Input Schema

NameRequiredDescriptionDefault
yearNoHPMS data year (e.g. 2024). Default: newest year published for the state. Call aadt_layers to see which years exist.
limitNoMax segments (1-500, default 50).
routeYesroute_id prefix, e.g. "I089", "IH0035", "SHS_101".
stateYesTwo-letter USPS state code (50 states, DC, PR), e.g. "CA". Required: route_id and county_id are state-specific.
countyNoOptional state-coded county_id (county FIPS code).
min_aadtNoOptional minimum AADT.

Output Schema

NameRequiredDescriptionDefault
stateNo
caveatNo
sourceNo
returnedNo
segmentsNo
data_yearNo
truncatedNo
data_as_ofNo
narrowing_hintNo
total_matchingNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, open-world and non-destructive, so the bar is lower; the description still adds real value by disclosing prefix (not exact) matching, that one highway can carry multiple ids (IH0035-KG, IH0035-LG), and that results are ordered busiest-first. It omits any note on result volume or truncation behavior, which is the only remaining behavioral gap.

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 core purpose and source, then the route-prefix rule, then ordering. Dense but every clause carries information; the nested parentheticals make it slightly harder to scan than it needs to be.

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?

With a full input schema and an output schema, the description only needs to cover matching semantics and result shape, and it does both (prefix matching, multi-id highways, busiest-first ordering). Nothing an agent needs in order to call it correctly is missing.

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 coverage is 100%, so baseline is 3, but the description adds semantics the schema does not: route matching is case-insensitive and prefix-based, route_id is state-specific free text, and a single highway may map to several ids. That materially changes how an agent chooses the route value rather than restating 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?

States a specific resource (AADT for segments of a named route in one state) with source attribution (FHWA HPMS), and the route-prefix framing makes it clearly distinct from aadt_top_segments and aadt_near_point. An agent can tell exactly what this returns without opening the schema.

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

Usage Guidelines4/5

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

Explicitly routes the agent to aadt_top_segments when it needs to discover a state's route_id style, which is the main selection hazard here. It gives concrete per-state id examples (I089, IH0035, SHS_101) but doesn't state when to prefer aadt_near_point or aadt_top_segments for the actual data pull.

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.