Skip to main content
Glama

eldesguace.net · ZBE, etiqueta DGT e ITV (España)

Etiqueta ambiental DGT por matrícula

etiqueta_matricula
Read-only

Devuelve la etiqueta ambiental de la DGT (0, ECO, C, B o sin etiqueta) de un vehículo español a partir de su matrícula (formato actual 1234ABC o antiguo provincial como M1234AB). Úsala cuando pregunten "qué etiqueta tiene mi coche" o "puede entrar mi coche en la ZBE". Solo devuelve la etiqueta y el tipo de vehículo. Límite: 1 consulta por segundo, 10 por minuto, 30 por hora y 100 al día.

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": {
      "matricula": "<matricula>"
    },
    "name": "etiqueta_matricula"
  }
}

Input Schema

NameRequiredDescriptionDefault
matriculaYesMatrícula española, con o sin espacios. Ej.: 1234 ABC.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the description's added value is the explicit rate limits (1/s, 10/min, 30/hour, 100/day) and the statement that only the label and vehicle type are returned. It does not say what happens for an unrecognized or foreign plate, which is the main remaining behavioral gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four sentences, each doing work: purpose and output, accepted formats, when to use, output scope and rate limits. Purpose is front-loaded and there is no filler.

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, but the description states exactly what is returned (label plus vehicle type), the value domain, and the rate constraints. For a single-parameter read-only lookup, nothing an agent needs to invoke it correctly is missing.

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% and the single parameter is documented with an example, so the baseline is 3. The description goes beyond it by spelling out both valid plate families (current 1234ABC and old provincial formats like M1234AB), which meaningfully reduces malformed input.

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?

Specific verb and resource: returns the DGT environmental label for a Spanish vehicle from its plate, and it enumerates the possible results (0, ECO, C, B, sin etiqueta). It also names the accepted plate formats, so an agent knows exactly what the tool consumes and produces without opening the schema.

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 concrete triggering questions ('qué etiqueta tiene mi coche', 'puede entrar mi coche en la ZBE'), which is real when-to-use guidance. It stops short of naming alternatives or exclusions, and the ZBE example overlaps with the sibling matricula_puede_entrar, so the agent gets context but not explicit routing.

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