Skip to main content
Glama

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

Zona de bajas emisiones: ¿puede entrar mi coche?

zbe_consultar
Read-only

Para una ciudad española y una etiqueta ambiental de la DGT (0, ECO, C, B o SIN etiqueta), dice si ese coche puede entrar hoy en su zona de bajas emisiones (ZBE), en qué horario, con qué multa y cuándo se verificó el dato, con enlace a la ficha con las fuentes oficiales. Úsala para "¿puedo entrar en Madrid con etiqueta B?" o "¿hay ZBE en Valencia?". Si no se sabe la etiqueta, primero etiqueta_matricula o etiqueta_por_datos.

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": {
      "ciudad": "<ciudad>",
      "etiqueta": "<etiqueta>"
    },
    "name": "zbe_consultar"
  }
}

Input Schema

NameRequiredDescriptionDefault
ciudadYesMunicipio, p. ej. "Madrid", "Sant Cugat del Vallès", "Donostia-San Sebastián".
etiquetaYesEtiqueta DGT del vehículo (SIN = sin etiqueta).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/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 safety profile is covered. The description adds real behavioral value by disclosing what comes back: the schedule, the applicable fine, the data-verification date and a link to official sources. It does not explicitly warn about per-city coverage gaps (i.e. what happens if the city has no ZBE), which keeps it short of a 5.

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?

The core capability and its return fields are front-loaded in the first sentence, followed by usage examples and the fallback route. It is dense but every element earns its place; the two quoted example queries are slightly redundant with the general statement but aid matching.

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?

For a two-parameter read-only lookup with no output schema, the description covers input scope, expected outputs, freshness of the data and the alternative path when an input is missing. An agent has everything needed to decide and 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 coverage is 100% and the enum for 'etiqueta' is fully documented with SIN = sin etiqueta, so the schema does the heavy lifting. The description adds only the Spanish-city scope for 'ciudad' and implies the label must be a DGT category; no extra syntax or normalization guidance is given. Baseline 3 is appropriate.

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 and resource ('dice si ese coche puede entrar hoy en su zona de bajas emisiones') and enumerates the outputs (horario, multa, fecha de verificación, enlace a fuentes). It also names the sibling tools to use when the label is unknown, so it is clearly separable from etiqueta_matricula and etiqueta_por_datos.

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

Usage Guidelines5/5

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

Provides concrete triggering questions ('¿puedo entrar en Madrid con etiqueta B?', '¿hay ZBE en Valencia?') and an explicit precondition with the alternative path when the DGT label is not known. When-to-use and the fallback routing are both 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