Skip to main content
Glama
elimorals

legalize-mx-mcp

by elimorals

diff

Compare two versions of Mexican legislation by date to identify changes between amendments. Provide a law or article ID, a start date, and an optional end date.

Instructions

Qué cambió entre la versión vigente en fecha_a y la de fecha_b (por omisión, la actual).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
fecha_aYes
fecha_bNo
max_caracteresNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden, and it does disclose one useful trait: fecha_b defaults to the current in-force version ('por omisión, la actual'). It says nothing about permissions, response shape, or limits, leaving meaningful gaps for an unannotated tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with zero filler; the core operation and the default behavior are both stated immediately.

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

Completeness2/5

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

For a 4-parameter tool with no annotations, no output schema, and 0% schema coverage, the description is too thin: it omits the required id, the truncation parameter, and any notion of what the diff returns.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 4 parameters. The description clarifies fecha_b's default-to-current semantics but never explains the required 'id' or the 'max_caracteres' (default 40000) parameter, so half the parameters remain opaque in both description and schema.

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 operation (what changed / diff) between the versions in force at fecha_a and fecha_b, which is a clear verb+resource pairing. It does not, however, distinguish itself from siblings like historial or leer_norma, so an agent must infer the boundary.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use guidance and no alternative tool is named. The agent can infer that this is for comparing two dated versions, but nothing states when to prefer diff over historial or leer_norma.

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