Skip to main content
Glama

documento

Read-onlyIdempotent

Fetch a Mexican energy regulation's publication data, validity, lineage, and article index using its ID, abbreviation, or name.

Instructions

Ficha de un documento: datos de publicación, vigencia, linaje e índice de artículos.

Args:
    documento: id, sigla o nombre.

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

Input Schema

NameRequiredDescriptionDefault
documentoYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and a closed-world scope, so the safety profile is covered. The description adds useful behavioral context by listing the sections returned (publication data, validity, lineage, article index). It says nothing about what happens when the identifier matches no document, which is the main remaining behavioral gap.

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 summary sentence is front-loaded and dense with useful content, and the Args block is short. The docstring-style Args section is slightly redundant with the one-property schema, but it is not verbose enough to hurt.

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 an output schema present, the description need not explain return values, and for a single-parameter read-only lookup it gives enough to call the tool correctly and anticipate the payload. Missing only guidance on identifier ambiguity or no-match handling.

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 parameter burden, and it does so well: it states the single argument accepts an id, a sigla (abbreviation) or a name. That is meaningful disambiguation an agent could not get from the schema's plain 'string' typed 'Documento'. No format examples or fallback behavior are given, so it is not a 5.

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 (a document's record) and enumerates the content returned: publication data, validity, lineage and article index. That is far more concrete than the bare tool name 'documento'. It does not explicitly contrast itself with siblings such as 'linaje' or 'leer_articulo', even though it overlaps with both, so it stops short of 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 Guidelines2/5

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

There is no when-to-use or when-not-to-use statement and no named alternative. An agent must infer that this is the document lookup and that 'buscar' or 'catalogo' serve discovery instead. Usage is only implied by the resource being described.

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