Skip to main content
Glama

CarDataSales — Spain DGT & Europe Car Registrations

get_spain_registrations_summary

Read-onlyIdempotent

Get an official Spain DGT passenger-car (M1) registrations executive summary for a given month (YYYY-MM) or year (YYYY), optionally filtered by Spanish Autonomous Community (CCAA). Returns total registrations, fuel/powertrain mix (BEV, PHEV, HEV, Petrol, Diesel, Gas), Top 5 brands, Top 5 models, Top 5 pure electric (BEV) models, and sales channel split (Particulares, Empresas, Alquiler).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_spain_registrations_summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
ccaaNoOptional Spanish Autonomous Community (e.g. 'Cataluña', 'Madrid', 'Navarra', 'Galicia', 'Andalucía'). Leave empty for all of Spain.
yearNoOptional target year in YYYY format (e.g. '2026', '2025', '2024'). Defaults to current latest DGT year.
monthNoOptional target month in YYYY-MM format (e.g. '2026-11'). Defaults to latest available DGT month when period='month'.
periodNoUse 'month' for a single month (default: latest available DGT month) or 'year' for YTD / full year.month

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, closed-world, non-destructive), so the description's added value is the payload disclosure: the exact breakdowns returned (fuel mix categories, Top 5 brands/models/BEV models, channel split). It adds source provenance ('official DGT') and default-period behavior, but says nothing about data freshness/lag or reporting caveats.

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?

Single front-loaded sentence that leads with verb and resource, then scoping parameters, then the returned contents. It is long, but each clause carries information that matters given there is no output schema; only the repeated period explanation slightly overlaps the schema.

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 no output schema, the description carries the return-value burden and does so thoroughly by enumerating every aggregate and top-5 list. What is missing is freshness/latency context and whether figures are counts only, plus any note on how the year mode aggregates relative to month mode.

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 all four parameters are already documented with examples and defaults. The description restates the period semantics (month = single month, year = YTD/full year) and the CCAA filter, which is genuinely useful framing but adds little beyond what the schema already states.

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 ('Get') plus a precisely bounded resource: 'official Spain DGT passenger-car (M1) registrations executive summary'. The segmentation scope (M1 passenger cars, month/year, optional CCAA filter) makes it distinguishable from siblings like get_spain_brand_summary or get_spain_ccaa_electrification_ranking without opening their schemas.

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?

Gives clear usage context: pick a YYYY-MM month or YYYY year, optionally narrow by Autonomous Community, and it names the default behavior (latest available period). It does not explicitly state when to prefer this over a sibling such as the brand-level summary, so the alternative-selection guidance is implied rather than spelled out.

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.

Resources