Skip to main content
Glama

tta_buscar_sentencias

Read-only

Search public Chilean Tax and Customs Court (TTA) rulings on SII assessments, tax code articles and Law 21.713. Query by RIT, tax type or issue to find relevant judgments.

Instructions

Busca sentencias públicas de los Tribunales Tributarios y Aduaneros (TTA, Ley N.° 20.322) sobre reclamos de liquidaciones o giros del SII, Código Tributario y Ley N.° 21.713.

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": {
      "query": "<query>"
    },
    "name": "tta_buscar_sentencias"
  }
}

Input Schema

NameRequiredDescriptionDefault
anioNoAño opcional (YYYY)
queryYesRIT, impuesto reclamado, norma del Código Tributario o materia (ej. 'gasto rechazado', 'Art. 21 LIR')
limiteNoMáximo de resultados
tribunalNoFiltro opcional por TTA jurisdiccional (ej. '1° TTA Santiago', 'TTA Valparaíso')
solo_cacheNoSi es True, responde solo desde caché local

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true and destructiveHint=false, so the safety profile is covered. The description adds that results are public sentencias and ties them to a specific legal framework, but says nothing about source coverage, freshness, or the cache behavior implied by the solo_cache parameter.

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 well-formed sentence with the resource and legal scope front-loaded and no redundant phrasing. It is efficient, though it spends some words on statute citations rather than on operational guidance.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a five-parameter search tool with no output schema, the definition covers the domain but not what a result record contains or how to broaden/narrow a search. Annotations and full schema coverage compensate partially, leaving a modest gap for an agent invoking it blind.

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%, so the schema already documents query, anio, tribunal, limite and solo_cache in detail. The description adds only thematic framing (the legal domain of the query) and no parameter-specific syntax or format guidance, which is the expected baseline when the schema does the heavy lifting.

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?

Uses a specific verb ("Busca") plus a precise resource ("sentencias públicas de los Tribunales Tributarios y Aduaneros") and scopes the subject matter to SII liquidaciones/giros, Código Tributario and Ley 21.713. An agent can tell this is TTA case-law search, though it never names a sibling to contrast against (e.g., sii_buscar_resoluciones_y_oficios), so differentiation is left to inference.

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?

The topical scope implies when the tool is appropriate — tax-claim disputes before the TTA — but there is no explicit when-to-use/when-not statement and no named alternative for overlapping sources such as SII rulings. Usage is implied rather than directed.

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

Deploy Server

Other Tools