Skip to main content
Glama

get_inspection_crash_summary

A carrier's roadside inspection, violation and crash summary on its own. Paid, flat price; billed whenever the USDOT number resolves, even if the carrier had no inspections (that is the finding). An unknown number is a free not_found.

inspections (SMS data, a 24-month window that ends weeks before today: read window_end): inspection counts by driver and vehicle, out-of-service counts and rates (FMCSA's own method; no national average is carried, so cite FMCSA's), violation counts in total and by BASIC, last inspection date. When there were no inspections the measures are null, never zero, and data_quality_flags says why: inspection_summary_no_inspections (in SMS, none in the window) or inspection_summary_unavailable (in neither SMS file, so SMS says nothing either way). A carrier inspected only after window_end reads as having none.

crashes (federally recordable crashes, trailing 730 days ending at the build date): counts by fatal, injury, tow-away and hazmat release, plus fatalities and injuries and the last crash date. A floor, not a total: about 19% of crash records carry no USDOT number and cannot be attributed to any carrier.

Counts, not a rating: this does not say a carrier is safe or unsafe, and it carries no contact information.

Input Schema

NameRequiredDescriptionDefault
usdot_numberYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so unusually well: it discloses billing rules, SMS 24-month window semantics (window_end), null-vs-zero behavior, the data_quality_flags values, that a carrier inspected only after window_end reads as none, and that crash counts are a ~19% undercount floor. This is rich operational context an agent could not get from the schema.

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-loads the core purpose and the billing/not_found rule, then breaks detail into two parallel sections (inspections, crashes) which is well-structured. It is long and dense but nearly every sentence carries semantic weight; only the trailing 'Counts, not a rating' framing is slightly redundant with the earlier null-vs-zero discussion.

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?

Given no output schema, no annotations, and a single opaque parameter, the description fills every gap an agent needs: what is returned, what the boundaries and known biases are, what the null semantics mean, and the billing risk. Nothing essential to correct invocation is missing.

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?

Only one parameter (usdot_number) with 0% schema description coverage. The description tells the agent what a USDOT number must resolve to and what happens when it doesn't, which adds real meaning, but it never describes format, bounds, or validation. Adequate but not compensating for the coverage 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: returns a carrier's roadside inspection, violation and crash summary, keyed by USDOT. It distinguishes itself from siblings like get_safety_history and lookup_carrier by explicitly framing the output as counts-based SMS/crash data rather than identity or history.

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?

Explains billing and resolution behavior (paid flat price, billed whenever USDOT resolves, free not_found for unknown numbers), which effectively tells an agent when this tool pays off versus erroring. It does not explicitly name a sibling alternative for inspection/crash data, so it stops short of full when-not guidance.

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