Skip to main content
Glama

Ny Dmv Vehicle Registrations

ny_dmv_vehicle_registrations
Read-onlyIdempotent

Count vehicles registered in New York State from the NYS DMV record-level registration file, broken down by county, ZIP code, city, make, model year, body type, registration class or fuel type. Each of the 12.6 million source rows is one registration record, so this answers "how many cars are registered in Kings County", "how many Teslas are registered in New York", "how many pickup trucks are registered in ZIP 11201", "which New York county has the most registered vehicles", and how many registrations carry a scofflaw, suspension or revocation flag. County names are unabbreviated and upper case, with Brooklyn filed as KINGS. For electric-vehicle share use ny_dmv_ev_adoption; for a DMV office address use ny_dmv_offices.

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": {
      "limit": 5,
      "group_by": "county"
    },
    "name": "ny_dmv_vehicle_registrations"
  }
}

Input Schema

NameRequiredDescriptionDefault
zipNoFive-digit New York ZIP code, e.g. "11201".
cityNoCity or town of the registrant, e.g. "BROOKLYN", "BUFFALO", "ALBANY".
makeNoVehicle make; pass the everyday name, e.g. "TOYOTA", "TESLA", "FORD", "MERCEDES". New York stores makes cut to five characters (TOYOTA is filed as TOYOT), and the full name is cut to match automatically.
limitNoMax rows to return (default 25, max 200).
countyNoNew York county name, unabbreviated and matched case-insensitively. Brooklyn is "KINGS", Manhattan is "NEW YORK", Staten Island is "RICHMOND", Queens is "QUEENS", the Bronx is "BRONX".
group_byNoBreakdown dimension: county, zip, city, fuel, make, model_year, body_type, registration_class, record_type, state. Defaults to county.
body_typeNoBody-type code, e.g. "SUBN" (SUV/station wagon), "4DSD" (4-door sedan), "PICK" (pickup), "MCY" (motorcycle), "VAN".
fuel_typeNoFuel; plain words are mapped to New York's codes, e.g. "gas" -> GAS, "diesel" -> DIESEL, "electric" -> ELECTRIC, "cng" -> COMP N/G. The published codes are GAS, DIESEL, ELECTRIC, NONE, FLEX, COMP N/G, OTHER, PROPANE.
model_yearNoFour-digit model year, e.g. "2024".
record_typeNoWhich register to read: VEH, TRL, BOAT, SNOW. Defaults to VEH (road vehicles); TRL is trailers, BOAT is vessels, SNOW is snowmobiles.
registration_classNoRegistration class code, e.g. "PAS" (passenger), "COM" (commercial), "MOT" (motorcycle), "SRF" (semi-trailer).
scofflaw_indicatorNoSet "Y" to count only registrations flagged as scofflaw (unpaid tickets), "N" for the rest.
revocation_indicatorNoSet "Y" to count only revoked registrations, "N" for the rest.
suspension_indicatorNoSet "Y" to count only registrations under suspension, "N" for the rest.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / fuel_type / description
      Previous value: -"Fuel; plain words are mapped to New York's codes, e.g. \"gas\" → GAS, \"diesel\" → DIESEL, \"electric\" → ELECTRIC, \"cng\" → COMP N/G. The published codes are GAS, DIESEL, ELECTRIC, NONE, FLEX, COMP N/G, OTHER, PROPANE."New value: +"Fuel; plain words are mapped to New York's codes, e.g. \"gas\" -> GAS, \"diesel\" -> DIESEL, \"electric\" -> ELECTRIC, \"cng\" -> COMP N/G. The published codes are GAS, DIESEL, ELECTRIC, NONE, FLEX, COMP N/G, OTHER, PROPANE."
  2. 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 the read-only, idempotent, non-destructive profile, and the description adds real context: 12.6 million source rows with one registration per row, plus the undisclosed fact that scofflaw/suspension/revocation flags can be counted. It stops short of describing what a response looks like or how the grouping row cap interacts with the 12.6M-row base.

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 verb and resource, then usage examples, then the sibling routing rule — logical order with no wasted preamble. The middle clause runs long with six sample questions, but each maps to a distinct capability.

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?

For a 14-parameter tool with no required params, the definition covers what gets counted, how dimensions break down, and the geographic naming convention. With no output schema present, it should more explicitly state that results are aggregate counts per group and how the limit truncates them.

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 every parameter, including the five-character make truncation and the Brooklyn=KINGS convention, is already documented in structured fields. The description restates those conventions rather than adding new semantics, so the 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?

Names a specific verb and resource ("Count vehicles registered in New York State from the NYS DMV record-level registration file") and enumerates the breakdown dimensions. It also distinguishes itself from the two obvious siblings by name, so an agent can route without opening a schema.

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

Usage Guidelines5/5

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

The final sentence gives explicit routing: use ny_dmv_ev_adoption for electric-vehicle share and ny_dmv_offices for DMV office addresses. Concrete example questions ("how many cars are registered in Kings County") further define the intended usage envelope.

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.