Skip to main content
Glama

Biblioteca abierta de Cumplida

Precedentes de un artículo

precedentes_de_un_articulo
Read-onlyIdempotent

Los precedentes mexicanos que aplican o interpretan un artículo de la ley («CFF 42», «art. 51 de la LFPCA»), sólo lo que sirve de apoyo: lo obligatorio primero y, dentro, la SCJN antes que los Plenos, los Colegiados y el TFJA, lo más reciente primero. tema no filtra: pone primero los que lo tratan y dice cuántos lo tratan; fraccion (en romano, «III») sí deja fuera lo que habla de otra fracción. Cada uno dice si su relación con el artículo está confirmada o propuesta sin validar, el pasaje que lo nombra cuando dice algo más que el rubro y, si se puede saber, el texto que interpretó frente al que rige el día del hecho. Entrega 10 por página (limite) y dice si hay más: la siguiente, con desde (hasta 30 en total).

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": {
      "articulo": "<articulo>"
    },
    "name": "precedentes_de_un_articulo"
  }
}

Input Schema

NameRequiredDescriptionDefault
temaNoUn tema dentro del artículo, en español («plazo para desvirtuar»). No filtra: ordena primero los que lo tratan.
desdeNoDesde qué lugar de la lista seguir, cuando la respuesta anterior dijo `siguiente_desde`.
limiteNoCuántos por página (hasta 10; por omisión, 10).
articuloYesEl ordenamiento y el número: «CFF 69-B», «art. 51 de la LFPCA».
fraccionNoLa fracción en romano («III»): deja fuera lo que habla de otra fracción.
fecha_del_hechoNoEl día del hecho (AAAA-MM-DD): cada precedente dice si el texto que interpretó es el que rige ese día. Sin ella, hoy.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / articulo / description
      Added value: +"El ordenamiento y el número: «CFF 69-B», «art. 51 de la LFPCA»."
    • addedInput schema / properties / fecha_del_hecho / description
      Added value: +"El día del hecho (AAAA-MM-DD): cada precedente dice si el texto que interpretó es el que rige ese día. Sin ella, hoy."
    • addedInput schema / properties / fraccion / description
      Added value: +"La fracción en romano («III»): deja fuera lo que habla de otra fracción."
    • addedInput schema / properties / tema / description
      Added value: +"Un tema dentro del artículo, en español («plazo para desvirtuar»). No filtra: ordena primero los que lo tratan."
  2. Changed2 schema fields changed
    • addedInput schema / properties / desde
      Added value: +{
      +  "description": "Desde qué lugar de la lista seguir, cuando la respuesta anterior dijo `siguiente_desde`.",
      +  "maximum": 29,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedInput schema / properties / limite
      Added value: +{
      +  "description": "Cuántos por página (hasta 10; por omisión, 10).",
      +  "maximum": 10,
      +  "minimum": 1,
      +  "type": "integer"
      +}
  3. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only declare the safe read-only/idempotent profile, and the description goes well beyond them: it discloses the ranking logic, the per-item payload (confirmed vs unvalidated link to the article, the naming passage, the interpreted text versus the text in force at the date of the act) and pagination behavior. This is exactly the behavioral context annotations cannot carry.

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 with the resource and ranking rule, then parameter behaviors, then pagination. The two long sentences are dense but every clause carries operative information; minor cost is readability from packing many ideas into semicolon chains.

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

Completeness5/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 correctly takes on the burden of describing what each result contains (relationship status, passage, applicable text) and how paging works (10 per page, `desde` to continue, 30 total). Nothing an agent needs to call it or interpret the response is missing.

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 coverage is 100%, so baseline would be 3, but the description adds real meaning: it clarifies that `tema` orders rather than filters and reports how many items treat it, that `fraccion` (roman numeral) does exclude other fractions, and that the total across pages caps at 30 — a constraint only implied by the `desde` maximum in the schema.

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: retrieves Mexican precedents that apply or interpret a given article, with concrete article-identifier examples («CFF 42», «art. 51 de la LFPCA»). It also defines the result scope and ordering (binding first, then SCJN over Plenos/Colegiados/TFJA, most recent first), which distinguishes it from a general jurisprudence search.

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?

Usage is implied: you come here when you have a specific article and want supporting precedents. There is no explicit when-not-to-use or routing to alternatives such as buscar_jurisprudencia or leer_precedente, so the agent must infer the boundary from the tool name alone.

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