Skip to main content
Glama

catalogo

Read-onlyIdempotent

Lists corpus documents with their validity status, optionally filtered by type (law, regulation, or DACG) and including abrogated norms, so you can identify which energy regulations apply.

Instructions

Lista los documentos del corpus con su estado.

Args:
    tipo: "ley", "reglamento" o "dacg" (opcional).
    incluir_abrogados: incluye las normas abrogadas.

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

Input Schema

NameRequiredDescriptionDefault
tipoNo
incluir_abrogadosNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already establish readOnlyHint=true, idempotentHint=true, and openWorldHint=false, so the safety profile is covered. The description adds that each document is returned with its status ('con su estado'), which is useful context, but says nothing about ordering, pagination, corpus size, or how abrogated norms appear in the output. With an output schema present, that omission is partly excused.

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?

Front-loaded with the purpose in one sentence, then a compact Args block covering both parameters. No redundant or filler text; the only mild weakness is the lack of explicit default values in the parameter notes.

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

Completeness3/5

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

For a two-optional-parameter listing tool with an output schema and clear read-only annotations, the description covers the essentials. It is nonetheless incomplete on default behavior for incluir_abrogados and on whether the listing is paginated or ordered, which an agent calling a catalog over a corpus would reasonably want to know.

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% and the schema defines no enums, so the description carries the parameter burden – and it does: it enumerates the accepted values 'ley', 'reglamento', 'dacg' for tipo and explains that incluir_abrogados controls inclusion of repealed norms. The one gap is that it never states that incluir_abrogados defaults to true, which could mislead an agent into thinking abrogated norms are excluded by default.

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 opens with a specific verb and resource: 'Lista los documentos del corpus con su estado', making clear this is a catalog/listing operation rather than a search or single-document read like the siblings buscar, documento, or leer_articulo. It stops short of explicitly naming those siblings as alternatives, so it falls just shy 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 Guidelines3/5

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

Usage is implied by the verb 'Lista' – an agent can infer this is the way to enumerate the corpus. However, there is no statement of when to prefer this over buscar for filtered results, and no exclusions or prerequisites mentioned.

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