Skip to main content
Glama

CarDataSales — Spain DGT & Europe Car Registrations

get_spain_brand_summary

Read-onlyIdempotent

Get annual Spain DGT registrations summary for a specific automotive brand (e.g. 'TOYOTA', 'TESLA', 'BYD', 'LEAPMOTOR', 'DACIA', 'VOLKSWAGEN'), with optional head-to-head comparison against a second brand and optional CCAA filter. Returns YTD units, market share, fuel mix, Top 5 models, and multi-year trend (2023–2026).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "brand": "<brand>"
    },
    "name": "get_spain_brand_summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
ccaaNoOptional Spanish Autonomous Community filter.
yearNoTarget year ('2026', '2025', '2024', '2023').2026
brandYesPrimary car brand name (e.g. 'BYD', 'TESLA', 'TOYOTA', 'KIA', 'MG').
compare_brandNoOptional second brand name for side-by-side comparison.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/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 closed-world, so safety is covered. The description adds genuinely new behavioral information: the payload contents and the 2023–2026 multi-year horizon, which tells the agent how rich the result is. It stops short of noting behavior for unknown brands or years with no data.

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?

A single front-loaded sentence opens with the action and scope, then the optional capabilities, then the return fields. It is long but every clause carries information; only the brand-example list is slightly padded.

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?

There is no output schema, so the description must carry the return-value burden, and it does by naming all five output components. With four fully described parameters and clear annotations, the definition is complete enough to call correctly; missing no-data/failure behavior is a minor gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3; the description earns more by clarifying what compare_brand produces (a side-by-side head-to-head, not just a filter) and by stating the year range 2023–2026 that the trend output spans. It still does not say whether brand matching is case-sensitive or requires canonical names, which the uppercase examples only hint at.

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?

Specific verb+resource: 'Get annual Spain DGT registrations summary for a specific automotive brand', plus a concrete enumeration of what comes back (YTD units, market share, fuel mix, Top 5 models, 2023–2026 trend). It does not differentiate itself from the sibling get_spain_registrations_summary, so an agent must infer that the sibling is the all-brand aggregate.

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

Usage Guidelines3/5

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

Usage context is implied rather than stated: the optional compare_brand signals head-to-head use and the optional CCAA signals regional slicing, with brand examples showing the expected naming style. There is no explicit when-to-use/when-not guidance and no routing to the similar sibling tools, leaving the alternative selection to inference.

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