Skip to main content
Glama

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

Etiqueta ambiental según combustible y año

etiqueta_por_datos
Read-only

Indica qué etiqueta ambiental de la DGT corresponde en general a un turismo según su combustible y su año de matriculación (criterios de la DGT por norma Euro). Úsala cuando no se tiene la matrícula: "¿qué etiqueta tiene un diésel de 2014?". Es la regla general; la etiqueta exacta de un coche concreto se comprueba con su matrícula.

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": {
      "combustible": "<combustible>"
    },
    "name": "etiqueta_por_datos"
  }
}

Input Schema

NameRequiredDescriptionDefault
mesNoMes de matriculación (opcional; afina los diésel de 2015).
anioNoAño de primera matriculación.
combustibleYes
autonomia_electrica_kmNoSolo híbridos enchufables: autonomía eléctrica en km.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety and closed-world scope are covered. The description adds one genuinely useful behavioral caveat: the result is a general rule, not the definitive label for a specific vehicle, which tells the agent to hedge its answer. It does not describe the response shape or what happens for ambiguous cases (e.g. missing year), so it adds some but not rich context.

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?

Front-loads the purpose, then the usage trigger, then the caveat in three tight sentences. The example query earns its place by making the trigger concrete; a small amount of the caveat sentence overlaps with the purpose sentence.

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?

For a simple read-only classification lookup with four mostly-documented parameters and no output schema, the description covers purpose, trigger, and the key limitation. Only the treatment of missing or edge-case inputs (no year supplied, ambiguous fuel) is left unaddressed, which is a minor gap for this complexity.

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 75%, and the schema already documents the month refinement for 2015 diesels and the electric-range parameter for plug-in hybrids. The description only restates the fuel-year relationship at a high level and adds no syntax, defaults, or interaction detail beyond the schema. Baseline 3 is appropriate since the schema does most of the work.

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: which DGT environmental label corresponds to a passenger car given fuel and registration year, explicitly citing DGT/Euro-norm criteria. It also distinguishes itself from the sibling etiqueta_matricula by framing itself as the general rule rather than the plate-specific lookup.

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?

Gives an explicit trigger condition ("when you don't have the plate") with a concrete example query, and names the alternative path (checking the exact label via matrícula). Both when-to-use and when-not-to-use are covered.

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