Skip to main content
Glama

descargar_pdf

Return the public download URL for a specific Peru Official Gazette PDF from its booklet code and order number.

Instructions

URL de descarga del PDF de un dispositivo individual.

El MCP NUNCA almacena archivos: devuelve la URL publica en busquedas.elperuano.pe para que el usuario descargue por su cuenta.

Args: cuadernillo: sigla de publicacion (ver listar_tipos_publicacion). op: numero de orden, ej '2558398-1'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
opYes
cuadernilloYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and discloses the key non-obvious behavior: the MCP never stores files and returns a public URL on busquedas.elperuano.pe that the user must fetch themselves. It omits auth requirements, error cases, and URL validity/expiry, but the core behavior is well conveyed.

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 return value and the storage caveat, then the params. Sized well for a two-parameter tool, though the Args block restates field names already visible in the schema.

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?

No output schema exists, so the description correctly specifies what the tool returns (a public URL). Combined with the param explanations and the sibling cross-reference, an agent has enough to invoke this correctly; permission/error behavior is the only notable gap.

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 compensate, and it does: it explains that cuadernillo is a publication sigla (pointing to listar_tipos_publicacion) and that op is an order number with an example. Only formatting details such as accepted op patterns are missing.

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 resource (the PDF download URL for a single dispositivo) and corrects the misleading tool name by making clear it returns a URL rather than a file. It implicitly contrasts with descargar_cuadernillo (single device vs. whole cuadernillo) but never names that sibling explicitly.

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 rather than stated: it is for a single device and the user downloads on their own. It cross-references listar_tipos_publicacion to resolve the cuadernillo sigla, which is genuinely useful, but there is no explicit when-to-use / when-not-to-use guidance versus the sibling download/list tools.

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