Skip to main content
Glama

De Dmv Crash Stats

de_dmv_crash_stats
Read-onlyIdempotent

Count reported traffic crashes in Delaware from the state's Public Crash Data file, broken down by year, county, weather, light condition, road surface, impact type or day of week, with filters for alcohol-involved, drug-involved, pedestrian, motorcycle, bicycle and work-zone crashes. Answers "how many car crashes happen in Delaware each year", "how many drunk driving crashes in Delaware", "pedestrian crashes in New Castle County", and "how many crashes involved a motorcycle in Delaware". Covers roughly 37,000 reported crashes a year for crash years 2009 through 2025, in the three Delaware counties: New Castle, Kent and Sussex.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "year": "2025",
      "group_by": "county"
    },
    "name": "de_dmv_crash_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearNoFour-digit crash year, 2009-2025, e.g. "2025".
limitNoMax rows to return (default 30, max 200).
countyNoDelaware county: "New Castle", "Kent" or "Sussex".
group_byNoBreakdown dimension: year (default), county, weather, light, road_surface, impact, day_of_week, crash_class.
work_zoneNotrue to count only crashes in a work zone.
drug_involvedNotrue to count only crashes flagged as drug-involved.
alcohol_involvedNotrue to count only crashes flagged as alcohol-involved.
bicycle_involvedNotrue to count only crashes involving a bicycle.
motorcycle_involvedNotrue to count only crashes involving a motorcycle.
pedestrian_involvedNotrue to count only crashes involving a pedestrian.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / year / description
      Previous value: -"Four-digit crash year, 2009–2025, e.g. \"2025\"."New value: +"Four-digit crash year, 2009-2025, e.g. \"2025\"."
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered and the description does not need to restate it. The description earns credit by adding data provenance and coverage bounds the agent could not infer otherwise: the Public Crash Data file as source, roughly 37,000 crashes per year, years 2009-2025, and the three named counties. It does not discuss result ordering or what a truncated result looks like (the 30/200 row cap lives only in 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?

The core capability is front-loaded in the first clause, followed by the dimension list, then example questions, then coverage bounds — a sensible order with no filler or marketing language. There is mild redundancy between the enumerated breakdown dimensions and the example questions, but both serve distinct roles (parameter reference vs. query routing).

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?

For a 10-parameter, zero-required aggregation tool with no output schema, the description supplies what an agent needs: the measured quantity (crash counts), the temporal scope (2009-2025), the geographic scope (three named counties), the available breakdowns, and the filters. Default behaviors (group_by defaulting to year, limit defaulting to 30) are handled in the schema, so their absence from the description is not a real gap.

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 100%, so the structured fields already define every parameter and a baseline of 3 would be defensible. The description adds real mapping value by pairing natural-language phrasings to parameter combinations — 'how many drunk driving crashes' to alcohol_involved, 'pedestrian crashes in New Castle County' to pedestrian_involved plus county — which goes beyond the terse schema strings.

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?

The description opens with a specific verb and resource ('Count reported traffic crashes in Delaware from the state's Public Crash Data file') and then enumerates the exact breakdown dimensions and filters, so an agent knows precisely what this tool aggregates. It is clearly distinct from the other de_dmv_* siblings (rebates, EV adoption, vehicle registrations), which are about vehicles and incentives rather than crash counts.

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?

Usage is signaled strongly through four concrete example questions ('how many car crashes happen in Delaware each year', 'pedestrian crashes in New Castle County', etc.), which effectively tell the agent which question shapes map to this tool. It stops short of naming when NOT to use it or pointing to a sibling for non-crash Delaware DMV data, so it is clear context without explicit exclusions.

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.