Skip to main content
Glama

ambiental_consulta_maestra

Read-only

Search Chilean environmental law in one step: query SMA, SEIA/RCA, environmental damage, wetlands, LO-SMA and get court rulings, doctrine, citations, and research plans.

Instructions

Módulo especial de derecho ambiental: PRIMERA consulta cuando la consulta o el caso es de materia ambiental (SMA, SEIA/RCA, daño ambiental, tribunales ambientales, humedales, LO-SMA). Busca en un solo paso entre las 886 sentencias de los Tribunales Ambientales, los anuarios y boletines 2TA/3TA, la biblioteca ambiental (libros del Concurso Nacional de Comentarios de Sentencias, informes en derecho, foros, manuales y material docente) y la doctrina ambiental; devuelve el plan, los resultados con texto literal y las citas [Hugging Face - ]. Con incluir_subgrafo=true añade el subgrafo de LegalGraphify y su ahorro de tokens.

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": "ambiental_consulta_maestra"
  }
}

Input Schema

NameRequiredDescriptionDefault
limiteNoMáximo de resultados (por defecto 8)
consultaYesConsulta o caso de materia ambiental (ej. 'daño ambiental en humedales urbanos', 'sanción SMA por incumplimiento de RCA')
incluir_subgrafoNoAñade el subgrafo de LegalGraphify con su ahorro de tokens (por defecto False: el primer subgrafo de cada proceso carga su índice)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.11.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/openWorldHint/destructiveHint=false, so the safety profile is covered. The description adds real behavioral value beyond that: it discloses that the search is single-step across multiple corpora, that it returns a plan plus literal-text results with citations in a specific [Hugging Face - <archivo>] format, and that incluir_subgrafo triggers LegalGraphify with token savings.

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 decisive routing cue ('PRIMERA consulta cuando... materia ambiental') before the source inventory. The enumeration of corpora and the citation/subgraph clauses are dense but each carries useful information; it is long but not padded.

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?

With no output schema, the description steps in to describe the return (plan, results with literal text, citations). All three parameters are documented and the read-only nature is clear from annotations. Minor gap: nothing about result limits behavior or how the plan is structured, but overall the agent has enough to invoke 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 description coverage is 100%, so the baseline is 3. The description reinforces the meaning of incluir_subgrafo (subgrafo LegalGraphify + ahorro de tokens) and contextualizes the consulta parameter, but adds little about 'limite' beyond what the schema already says, so it does not exceed the schema-driven baseline.

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 (busca/consulta) and a well-defined resource: the 886 sentencias of the Tribunales Ambientales plus biblioteca and doctrina ambiental, and positions itself as the 'PRIMERA consulta' for environmental matters. It never names the closest sibling (ambiental_buscar_jurisprudencia) or other alternatives, so differentiation is implied by the breadth of scope rather than stated.

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 a clear trigger condition ('PRIMERA consulta cuando la consulta o el caso es de materia ambiental') and enumerates the qualifying subject areas (SMA, SEIA/RCA, daño ambiental, tribunales ambientales, humedales, LO-SMA). It also explains when to set incluir_subgrafo=true, but offers no when-not-to-use guidance and does not name the sibling tools to use for non-environmental queries.

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