Skip to main content
Glama

linaje

Read-onlyIdempotent

Look up which norm replaced a Mexican energy document and which norms it replaced, including dates and legal basis, using its ID, acronym, or name.

Instructions

Qué norma sustituyó a esta y a cuáles sustituyó ella, con fecha y fundamento.

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": "linaje"
  }
}

Input Schema

NameRequiredDescriptionDefault
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=true, openWorldHint=false and idempotentHint=true, so safety is covered. The description adds that the response carries a date and a 'fundamento', which is useful behavioral signal, but says nothing about auth needs, ambiguity handling, or what happens when no lineage exists; the output schema carries the return shape.

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?

One front-loaded sentence states the whole purpose, followed by a compact Args note. Nothing is redundant, though the 'Args:' boilerplate is slightly mechanical for a single parameter.

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?

For a single-parameter read tool with an output schema and full annotation coverage, the definition supplies what an agent needs: the query it performs, the fields it returns (date, basis), and the accepted identifier forms. Missing only explicit sibling routing, which the annotations and output schema otherwise compensate for.

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 0%, so the description must carry the parameter, and it does: 'documento' accepts an id, a sigla (acronym), or a name — three distinct identifier forms the bare string schema does not convey. It stops short of giving format examples or saying how partial names are resolved, keeping it from 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 states a specific query: which norm replaced this one and which norms it replaced, including date and legal basis. That is a clear verb+resource ('lineage of a norm') that an agent can distinguish from generic lookups, though it never names the siblings (documento, buscar) to sharpen 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 Guidelines3/5

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

Usage is only implied: an agent can infer this is the tool for succession/derogation relationships rather than fetching the text of a norm. There is no explicit when-to-use, when-not-to-use, or named alternative (e.g. leer_articulo for article text).

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