Skip to main content
Glama

Aadt Top Segments

aadt_top_segments
Read-onlyIdempotent

The busiest road segments in a US state by AADT (annual average daily traffic), optionally within one county or functional class (1 Interstate ... 7 Local). From FHWA HPMS; per roadway section as reported by the state. Also the way to learn a state's route_id naming style.

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).
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).
f_systemNoOptional functional system 1-7: 1 Interstate, 2 other freeway, 3 other principal arterial, 4 minor arterial, 5 major collector, 6 minor collector, 7 local.

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.1/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so burden is low. The description adds provenance (FHWA HPMS, per roadway section as reported by the state) and the route_id-style learning use case, valuable context beyond annotations, though no pagination or result-size behavior is described.

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 tightly-packed sentences with the core resource and scope front-loaded and no filler. Slightly dense phrasing but every clause carries information.

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?

An output schema exists so return values need no explanation, and all five params are documented. The description covers purpose, scope, source, and a secondary use, leaving only minor gaps like pagination/limit behavior.

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 coverage is 100%, so the schema already documents all parameters including the f_system 1-7 mapping. The description repeats one example ('1 Interstate ... 7 Local') but adds no semantics beyond the schema, warranting the baseline 3.

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 (busiest road segments by AADT) with explicit scope (US state, optionally county or functional class) and distinguishes it from sibling AADT tools like aadt_by_route and aadt_near_point. Also names a secondary use (learning route_id naming style).

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?

Clearly indicates when this ranking-by-traffic tool is appropriate ('busiest segments', optional county/functional class narrowing) and hints at its route_id-discovery use. It does not name sibling alternatives or state explicit exclusions, so not a 5.

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.