Skip to main content
Glama

leer_articulo

Read-onlyIdempotent

Retrieve the full text of a specific article, provision, or transitory from Mexico's energy regulations by document ID, acronym, or name and article number for accurate citation.

Instructions

Texto completo de un artículo, disposición o transitorio.

Args:
    documento: id, sigla o nombre (por ejemplo "LSE", "lse", "Reglamento de la LSH").
    articulo: "20", "8 bis", "1.2" (disposición de una DACG), "transitorio segundo" o la
        clave completa que dio buscar (p. ej. "transitorio primero (dof 2025-03-18)").

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

Input Schema

NameRequiredDescriptionDefault
articuloYes
documentoYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint=false, so the safety profile is covered and the description is not obligated to repeat it. The description does add that document identifiers are free-form (id, sigla or name, with a case variant "LSE"/"lse"), but says nothing about failure behavior for an unknown article or whether the returned text is complete vs. truncated.

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?

The purpose is front-loaded in a single sentence followed by a compact Args block, so an agent can parse it quickly. The wrapped line break inside the articulo entry is slightly awkward but nothing is redundant.

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?

This is a simple two-parameter read tool with an output schema, so return values need not be described. The description covers what both required parameters accept, which is what an agent needs to invoke it correctly; only the search-then-read workflow could be stated more explicitly.

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 carries the full burden, and it does so with concrete formats and examples for both parameters: documento takes an id, sigla or name ("LSE", "lse", "Reglamento de la LSH"); articulo takes "20", "8 bis", "1.2" or "transitorio segundo", including a full key with a DOF date. Only error/rejection semantics for malformed values are left unexplained.

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?

"Texto completo de un artículo, disposición o transitorio" names a specific resource (the full text of a legal article/provision/transitory article) and the retrieval action. The mention of "la clave completa que dio buscar" implicitly separates it from the search sibling, though the differentiation is not stated outright.

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 only implied: accepting the key that "buscar" returned suggests this tool is called after a search, which is useful workflow context. However, there is no explicit when-to-use vs. when-not statement, nor any pointer to the other siblings (documento, catalogo, linaje) for retrieving broader content.

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