Skip to main content
Glama
ssolis-ti

Compra Ágil MCP Server

descargar_y_leer_documento

Download a PDF document from Chilean government procurement using its ID, extract and return relevant text for auditing technical requirements.

Instructions

Descarga un documento adjunto de Mercado Público (bases técnicas/administrativas) en formato PDF usando su ID, extrae su texto y lo retorna al LLM. Útil para auditar requisitos técnicos de una oferta.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
id_documentoYesID único del documento. Ej: "123456".
queryNoSi se proporciona, busca y retorna solo fragmentos que contengan este término (case-insensitive).
max_caracteresNoLímite de caracteres a retornar (default 5000) para evitar saturar el contexto de la IA.
Behavior3/5

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

No annotations provided, so description must cover behavioral traits. It describes download and extraction but omits details on error handling, return format, or caching. The max_caracteres parameter context is a plus.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences that front-load the action and context. Every sentence adds value with no redundant information.

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?

Given no output schema or annotations, the description is adequate but incomplete. It doesn't specify return format, failure scenarios, or what happens with non-PDF documents. More detail would improve completeness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema covers 100% of parameters with good descriptions. The tool description adds minimal new semantic beyond the schema, such as the purpose of max_caracteres to avoid context saturation. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool downloads, extracts text, and returns it to the LLM for auditing Mercado Público documents. It specifies the source and format, and distinguishes from siblings like 'obtener_enlace_documento' which only gets a link.

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?

The description mentions a use case ('auditar requisitos técnicos de una oferta') but provides no explicit guidance on when not to use or mention alternatives. Usage is implied but not fully delineated.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ssolis-ti/compra-agil-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server