Skip to main content
Glama

Clerk - IA Legal Dominicana

Explorar valores de un filtro

explorar_facetas
Read-only

Publica el vocabulario REAL de un filtro, con el número de documentos de cada valor. Un valor con conteo es un valor que funciona como filtro, y esta es la única fuente fiable de esos valores.

Con contiene se busca dentro de la faceta. Si no aparece, la respuesta dice que ese valor no existe con esa grafía y ofrece las parecidas, en lugar de dejar que se filtre por él y devuelva un cero que parece un hecho del mundo.

Con terminos o tribunal los conteos son los de ESA búsqueda, que es como se ve qué salas o materias tienen algo del tema antes de gastar una consulta.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
topeNoCuántos valores devolver.
facetaYesQué filtro explorar. Acepta tanto el nombre que usa buscar_jurisprudencia (sala, materia, via) como el interno (instancia, ambitos, tipoproceso).
contieneNoFiltra los valores que contengan este texto (sin tildes ni mayúsculas).
terminosNoAcota los conteos a esta búsqueda.
tribunalNoAcota los conteos a estos tribunales.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so safety is covered. The description adds genuine behavior beyond them: a value with a count is a working filter, `contiene` falls back to offering similar spellings instead of returning a misleading zero, and counts under `terminos`/`tribunal` are scoped to that search. It does not cover response format details beyond counts.

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?

Three short paragraphs, front-loaded with the core purpose, then the `contiene` behavior and the count-scoping behavior. Each paragraph carries distinct information, though the prose is slightly verbose for the amount of content.

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 5 parameters, full schema coverage, and no output schema, the description correctly supplies the return-value semantics (counts per value, scoped counts) that the schema cannot. It is complete enough to call correctly, missing only edge-case behavior such as the `tope` cap interaction.

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 100%, so the baseline is 3, but the description adds real meaning: `contiene` searches within the facet and triggers the similar-spelling fallback, while `terminos`/`tribunal` scope the counts to that specific search rather than global totals. This goes beyond the schema's one-line parameter descriptions.

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?

The description states a specific verb and resource: it publishes the real vocabulary of a filter with per-value document counts, and asserts it is the only reliable source of those values. This clearly separates it from the buscar_* and leer_* siblings by function, though it never names an alternative tool explicitly in the description text.

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?

It gives clear context for when to use it: to discover which values actually work as filters and to see which chambers or subjects touch a topic 'antes de gastar una consulta'. There is no explicit when-not or named-alternative guidance, but the intended moment of use is well conveyed.

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