Skip to main content
Glama

Tn Dmv Impaired Driving Crashes

tn_dmv_impaired_driving_crashes
Read-onlyIdempotent

Count Tennessee injury and fatal traffic crashes involving alcohol or drugs, from the Department of Safety and Homeland Security crash file for calendar year 2022. Each record is one person involved in an impaired-driving crash, carrying crash severity (fatal, suspected serious injury, suspected minor injury), the driver age group and gender, the investigating law-enforcement agency, date, time and coordinates. Answers "how many fatal DUI crashes in Tennessee", "which age group is involved in the most alcohol-related crashes in Tennessee", "drug-involved crashes by police agency", or "impaired driving crashes by month". Group results by age_group, gender, severity, agency, substance or month, and get a sample of the underlying records with latitude and longitude for mapping.

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": {
      "group_by": "substance"
    },
    "name": "tn_dmv_impaired_driving_crashes"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax sample records returned alongside the counts (default 10, max 200).
agencyNoInvestigating agency substring. State troopers are published as "THP District 3 - Nashville" and similar, so "THP" selects all of them; city forces read "METROPOLITAN NASHVILLE POLICE DEPT", "MEMPHIS POLICE DEPT"; counties read "SHERIFF".
genderNoPublished as "M" or "F"; "male"/"female" are accepted.
group_byNoBreakdown dimension: age_group, gender, severity, agency, substance, month. Defaults to age_group.
severityNoCrash severity substring: "fatal", "serious injury", "minor injury".
age_groupNoAge band substring as published, e.g. "21 to 24", "80 & Up", "16 to 17".
substanceNo"alcohol", "drugs", "both" (alcohol and drugs together), or "either" (default, any impairment).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / substance / description
      Previous value: -"\"alcohol\", \"drugs\", \"both\" (alcohol and drugs together), or \"either\" (default — any impairment)."New value: +"\"alcohol\", \"drugs\", \"both\" (alcohol and drugs together), or \"either\" (default, any impairment)."
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so safety is covered. The description adds genuinely useful context beyond that: the data provenance, the fixed 2022 vintage, the record granularity (one person per row), the attribute set available, and that results pair counts with a sample of geocoded records.

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 statement before the enumeration of fields and example questions. It is dense rather than padded, though the second half overlaps noticeably with what the schema already says about group_by and the filterable dimensions.

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?

With seven optional parameters and no output schema, the description carries the burden of explaining the return shape, and it does: aggregate counts plus a capped sample of underlying records with coordinates. Combined with the stated data vintage and counting unit, an agent has everything needed to call it correctly on the first attempt.

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 description coverage is 100%, so the schema already documents every parameter including agency substring behavior, gender normalization, and substance values. The description echoes the group_by dimension list and notes lat/long come back for mapping, but adds no syntax or filtering nuance the schema lacks — baseline 3 applies.

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 (count injury/fatal crashes involving alcohol or drugs) with scope nailed down: Tennessee, Department of Safety and Homeland Security crash file, calendar year 2022. The 'each record is one person involved in a crash' line makes the counting unit unambiguous, which is exactly what an agent needs to avoid confusing persons with crashes.

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?

The four quoted example questions (fatal DUI counts, age group breakdown, drug crashes by agency, monthly trend) give concrete use cases that map directly to group_by values. What is missing is any exclusion or routing guidance — nothing says when a different tool (e.g., the driver service center sibling) would be the right choice, though the domain is narrow enough that confusion is unlikely.

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.