Skip to main content
Glama

buscar_resoluciones_teac

Search Spanish tax tribunal criteria and resolutions from TEAC/TEAR through DYCTEA; filter by binding doctrine, resolution date range, and number of results.

Instructions

Busca criterios de los Tribunales Económico-Administrativos (TEAC y TEAR) en DYCTEA (por internet).

Args: consulta: palabras que deben aparecer. SIN datos del cliente. solo_doctrina: True para limitarse a criterios vinculantes (doctrina del TEAC). desde, hasta: opcional, fechas de la resolución AAAA-MM-DD. max_resultados: 1-20.

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": {
      "consulta": "<consulta>"
    },
    "name": "buscar_resoluciones_teac"
  }
}

Input Schema

NameRequiredDescriptionDefault
desdeNo
hastaNo
consultaYes
solo_doctrinaNo
max_resultadosNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full disclosure burden. It does reveal that the source is an external database accessed over the internet (implying possible latency or availability issues) and warns against including client data, which is meaningful behavioral context. However, it says nothing about result ordering, negotiation of empty results, or whether DYCTEA access can fail or be rate-limited.

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-loaded purpose sentence followed by a compact per-argument list, with no filler. The one-line-per-parameter layout is easy to scan. Minor waste in the parenthetical acronym expansion, but it aids comprehension for a Spanish administrative corpus.

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?

An output schema exists, so return-value explanation is not required, and all five inputs are documented with format and bounds. What remains thin is the operating context: what DYCTEA is, whether coverage spans both TEAC and TEAR uniformly, and what an empty result means. Adequate for a search tool, but not exhaustive.

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 description coverage is 0%, so the description must compensate and largely does: it defines each of the five parameters, gives the date format AAAA-MM-DD, states the max_resultados range 1-20, and explains that solo_doctrina restricts to binding TEAC doctrine. Only 'consulta' lacks detail on search syntax or operator support (quoted phrases, boolean terms), which is the remaining gap.

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?

States a specific verb plus resource: search TEAC/TEAR criteria in DYCTEA. The parenthetical '(TEAC y TEAR)' clarifies the acronym set, and 'por internet' indicates an external lookup. It is distinguishable from siblings like buscar_jurisprudencia or buscar_normativa by naming the specific body and database, though it never explicitly contrasts with them.

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?

Offers one real usage rule: the query must not contain client data ('SIN datos del cliente'), and solo_doctrina is framed as a way to narrow to binding doctrine. There is no explicit statement of when to prefer this over buscar_jurisprudencia or buscar_consultas_dgt, so the agent must infer routing from the resource name alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.