Skip to main content
Glama

Leyes promulgadas (Parlamento)

leyes
Read-onlyIdempotent

Search Uruguayan laws enacted since 1985 by title (accent-insensitive), date range, or number; returns a direct IMPO link to the updated text.

Instructions

Leyes promulgadas desde 1985: por texto del título (sin importar tildes), por rango de fechas AAAA-MM-DD o por número. Devuelve el enlace al texto actualizado en IMPO.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "leyes"
  }
}

Input Schema

NameRequiredDescriptionDefault
desdeNo
hastaNo
buscarNo
numeroNo
cantidadNo

Output Schema

NameRequiredDescriptionDefault
notaYes
avisoNo
leyesYes
totalYes
bajadoYes
fuenteYes
copia_vencidaNo
duplicadas_descartadasYes
sin_numero_descartadasYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.14.0
    • addedOutput schema / properties / aviso
      Added value: +{
      +  "title": "Aviso",
      +  "type": "string"
      +}
    • addedOutput schema / properties / copia_vencida
      Added value: +{
      +  "title": "Copia Vencida",
      +  "type": "boolean"
      +}
  2. First observedv0.13.2

TDQS

A3.6/5.0
Behavior3/5

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

The annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds genuinely new behavioral information: the 1985 coverage floor and the fact that results point to the authoritative IMPO text. It does not explain pagination, result counts, or ordering, which leaves a gap for a list-returning tool.

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?

Two sentences, zero filler, with the resource and its coverage window front-loaded before the query modes. The telegraphic, list-like phrasing is dense but readable; nothing is repeated.

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?

An output schema exists and the annotations are rich, so the description need only carry the query-mode contract, which it does. It is nearly complete for a five-parameter search tool; the remaining gaps are result-limit semantics and whether filters combine.

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 0%, so the description has to compensate, and for four of the five parameters it does: buscar is accent-insensitive title text, desde/hasta are date ranges with the AAAA-MM-DD format spelled out, and numero is the law number. Only cantidad (the default-20 limit) is left undefined, and no mode-combination rules are given.

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 names a specific resource ('leyes promulgadas desde 1985') and enumerates the three access modes: title text (accent-insensitive), date range, or number. It also states what comes back (a link to the updated text on IMPO). It does not distinguish itself from the nearest sibling, proyectos_parlamento, which is why this is a 4 rather than a 5.

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 access modes imply how to query — for example, pass buscar for a title lookup, or pass desde/hasta for a date range — but they never say when to prefer one mode over another, whether the modes can be combined, or what happens when no filter is given. No alternatives or exclusions are stated; the guidance is implied, not explicit.

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