Skip to main content
Glama

Ca Dmv Ev Adoption

ca_dmv_ev_adoption
Read-onlyIdempotent

Measure electric-vehicle adoption in California from DMV registration counts: how many battery-electric and plug-in hybrid vehicles are registered in a ZIP code or statewide, and what share of all registered vehicles that represents. Returns the full fuel mix with a plug-in share and an electrified share (which also counts conventional hybrids and hydrogen), or a breakdown of plug-in vehicles by make, ZIP or model year. Answers "EV share in ZIP 94002", "which ZIP codes in California have the most EVs", "how many Teslas are registered in California", and trend questions via the year argument (snapshots back to 2019).

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_ev_adoption"
  }
}

Input Schema

NameRequiredDescriptionDefault
zipNoFive-digit California ZIP code, e.g. "94002".
makeNoVehicle make, matched as a substring, e.g. "TESLA", "RIVIAN".
yearNoSnapshot year, 2019-2026. Defaults to 2026.
limitNoMax rows to return (default 25, max 200).
group_byNofuel (default) returns the whole mix plus EV share; zip, make or model_year return plug-in counts by that dimension.
model_yearNoFour-digit model year, e.g. "2025".

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."New value: +"Snapshot year, 2019-2026. Defaults to 2026."
  4. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered and the bar is lower. The description still adds real behavioral context the annotations don't: the data are historical snapshots back to 2019 with a 2026 default, and there are two distinct share metrics (plug-in vs. electrified, the latter also counting conventional hybrids and hydrogen). It says nothing about row-count behavior or how a statewide request differs from a ZIP request.

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 definition, then the return shapes, then example questions; each clause carries information and nothing is repeated from the schema. It is a dense block rather than a structured list, which slightly slows scanning of the four example queries.

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?

No output schema exists, so the description must convey return content — and it does, defining both share metrics and the two shapes of grouped output. For a six-optional-parameter read-only analytics tool with fully described params, an agent has everything needed to call it correctly.

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 every parameter is already documented and the baseline is 3. The description does add a little beyond the schema — group_by=fuel returning the whole mix plus shares, year as the trend control, and the phrase 'which ZIP codes have the most EVs' implying a ranked group_by=zip query — but it does not clarify how make and zip combine or whether limit applies to grouped output.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource — 'Measure electric-vehicle adoption in California from DMV registration counts' — and enumerates exactly what is returned (fuel mix, plug-in share, electrified share, breakdowns by make/ZIP/model year). It never names the nearest sibling (ca_dmv_vehicle_registrations) to route the agent explicitly, so the differentiation is implicit in the EV-share framing rather than stated.

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 context is concrete: it lists four example questions it answers ("EV share in ZIP 94002", "which ZIP codes have the most EVs", "how many Teslas", trends via year), which tells an agent precisely when this tool applies. It offers no explicit when-not guidance or named alternative, so it stops short of a 5.

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.