Skip to main content
Glama

CarDataSales — Spain DGT & Europe Car Registrations

get_spain_ccaa_electrification_ranking

Read-onlyIdempotent

Rank all 17 Spanish Autonomous Communities (plus Ceuta & Melilla) by 100% electric (BEV) and Zero-Emission (BEV+PHEV) market share, showing each region's current #1 propulsion technology and percentage-point gap for BEV to become the #1 technology.

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

Input Schema

NameRequiredDescriptionDefault
yearNoOptional YYYY year when period='year' (defaults to latest available DGT year).
monthNoOptional YYYY-MM month when period='month' (defaults to latest available DGT month).
periodNoAnalyze either a single month ('month') or full year / YTD ('year').month

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/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 the safety profile is covered. The description adds real behavioral value by disclosing the computed outputs (current #1 propulsion technology per region and the percentage-point gap for BEV to overtake), which is important since no output schema exists. It stops short of stating ordering direction, row count, or whether a national total row is included.

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 that leads with the verb and resource before piling on output detail. It is dense but every clause conveys information about what is returned; no filler or repetition.

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?

With no output schema, the description carries the burden of explaining results, and it does so by naming the ranking dimension and the two derived fields returned per region. Combined with fully documented parameters and safety annotations, an agent has enough to call it correctly; only minor details like sort order or tie handling are absent.

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%, with all three parameters documented including the period enum and default behavior for year/month. The description adds no additional meaning about how year, month, or period change the ranking logic, so the baseline of 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?

States a specific verb ("Rank") and a precisely bounded resource (the 17 Spanish Autonomous Communities plus Ceuta & Melilla), and names the metrics being ranked (BEV and BEV+PHEV market share). The regional-aggregate framing clearly separates it from the sibling tools, which are brand-level, plate-level, national-summary, and Europe-comparison oriented.

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?

There is no explicit when-to-use or when-not-to-use guidance, nor any named alternative such as get_spain_registrations_summary or get_europe_ev_comparison. The regional-ranking purpose is distinctive enough that an agent can infer the right context, but the definition itself does no routing work.

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