Skip to main content
Glama

Ca Dmv Vehicle Registrations

ca_dmv_vehicle_registrations
Read-onlyIdempotent

Count vehicles registered in California from official DMV data, broken down by ZIP code, make, model year, fuel type or light/heavy duty. Each row is a count of registered vehicles from the California DMV "Vehicle Fuel Type Count by Zip Code" file, with annual snapshots back to 2019, so it answers "how many vehicles are registered in ZIP 90210", "how many Toyotas are registered in California", or "how many 2024-model-year vehicles are on California roads". For electric-vehicle share of the fleet use ca_dmv_ev_adoption; for a DMV office address use ca_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": {
      "zip": "94002"
    },
    "name": "ca_dmv_vehicle_registrations"
  }
}

Input Schema

NameRequiredDescriptionDefault
zipNoFive-digit California ZIP code, e.g. "90210".
dutyNoVehicle weight class: "Light", "Heavy" or "Unk".
makeNoVehicle make, matched as a substring, e.g. "TESLA", "FORD".
yearNoSnapshot year, 2019-2026. Defaults to 2026 (the most recent).
limitNoMax rows to return (default 25, max 200).
group_byNoBreakdown dimension: fuel (default), zip, make, model_year, duty.
fuel_typeNoFuel/drivetrain; plain words are mapped to California's labels, e.g. "electric", "diesel", "gas", "hybrid", "plug-in hybrid", "hydrogen".
model_yearNoFour-digit model year, e.g. "2024".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "zip": "94002"
      +  },
      +  {
      +    "group_by": "make",
      +    "limit": 10
      +  }
      +]
  2. Changed1 schema field changed
    • removedInput schema / examples
      Removed value: -[
      -  {
      -    "zip": "94002"
      -  },
      -  {
      -    "group_by": "make",
      -    "limit": 10
      -  }
      -]
  3. Changed1 schema field changed
    • changedInput schema / properties / year / description
      Previous value: -"Snapshot year, 2019–2026. Defaults to 2026 (the most recent)."New value: +"Snapshot year, 2019-2026. Defaults to 2026 (the most recent)."
  4. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds genuinely useful behavior beyond that: the underlying source file ("Vehicle Fuel Type Count by Zip Code"), the fact that each row is an aggregate count rather than an individual record, and the annual snapshot granularity back to 2019. It does not discuss result ordering or how truncation at the limit is signaled, which is the only remaining gap.

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?

Three sentences, front-loaded with the core capability and followed by provenance and then routing. The middle sentence is long and carries several ideas at once, but every clause (source file, count-per-row, snapshot range, example questions) contributes information an agent would otherwise have to guess.

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?

With 8 optional parameters, no output schema, and aggregate return values, the description does the important work of explaining what a row represents and what time coverage exists. An agent could call this correctly from the definition alone; only default grouping behavior and result ordering rely on the schema instead.

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 is already documented in the input schema, and the description largely restates those same breakdown dimensions. It adds a little framing by implying filter-vs-group relationships (e.g. counting Toyotas via make), but it never explains how filters interact with group_by, so the baseline of 3 is appropriate.

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 vehicles registered in California from official DMV data") and immediately enumerates the breakdown dimensions. It is clearly distinguishable from ca_dmv_ev_adoption and ca_dmv_offices, which are named and assigned different purposes.

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?

It gives three concrete example questions that map directly onto invocations, plus explicit routing rules: use ca_dmv_ev_adoption for EV share of the fleet and ca_dmv_offices for a DMV office address. Both the when-to-use and the when-not-to-use cases are stated.

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.