Skip to main content
Glama
ssolis-ti

Compra Ágil MCP Server

buscar_compras_agiles

Search and filter Chilean public procurement processes by keyword, status, region, and date range. Returns summarized results including code, name, status, budget, and buyer institution.

Instructions

Busca procesos de Compra Ágil en Mercado Público de Chile. Permite filtrar por palabras clave, estado del proceso, región geográfica y rango de fechas de publicación. Retorna un listado resumido con código, nombre, estado, presupuesto e institución compradora. Nota: los parámetros 'q' (búsqueda por texto) e 'id' (código exacto) son mutuamente excluyentes. Estados válidos: publicada, cerrada, desierta, cancelada, proveedor_seleccionado. Regiones: códigos del 1 al 16 (ej: 13 = Metropolitana, 5 = Valparaíso).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
qNoPalabras clave para buscar en el nombre/descripción del proceso. Ej: "materiales electricos". No usar junto con "id".
idNoCódigo exacto de una Compra Ágil. Ej: "1057539-228-COT26". No usar junto con "q".
estadoNoEstado(s) del proceso, separados por coma. Valores: publicada, cerrada, desierta, cancelada, proveedor_seleccionado. Ej: "publicada,proveedor_seleccionado".
regionNoCódigo(s) de región del organismo comprador, separados por coma (1-16). Ej: "13" para Metropolitana, "13,5" para Metropolitana y Valparaíso.
publicado_desdeNoFecha mínima de publicación en formato ISO-8601. Ej: "2026-01-01T00:00:00Z".
publicado_hastaNoFecha máxima de publicación en formato ISO-8601. Ej: "2026-01-31T23:59:59Z".
palabras_clave_requeridasNoLista de palabras clave separadas por comas que DEBEN estar presentes en el nombre de la compra (filtro local. Ej: "software,desarrollo").
palabras_clave_excluidasNoLista de palabras clave separadas por comas que NO DEBEN estar en el nombre de la compra (filtro local. Ej: "soporte,licencias").
ordenar_porNoCriterio de ordenamiento. "FechaPublicacion" para las más recientes primero, "FechaUltimaModificacion" (default) para las últimas modificadas.
tamano_paginaNoResultados por página (10-50, default 15).
numero_paginaNoNúmero de página a consultar (comienza en 1).
Behavior3/5

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

With no annotations, the description must carry the burden. It states the return format (summary list with code, name, status, budget, institution) but does not disclose whether the tool is read-only, requires authentication, or has rate limits. It adequately describes what it returns, but lacks deeper behavioral context.

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?

The description is five sentences with no filler. First sentence states purpose, second lists filters, third describes return, fourth is a key note, fifth lists valid values. Front-loaded with purpose and efficient.

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?

Given 11 parameters and no output schema, the description covers purpose, filters, return fields, mutual exclusivity, and valid values. It doesn't explain pagination details (covered by schema), but is otherwise complete for a search tool. Could mention ordering default but not critical.

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 100%, so baseline is 3. The description adds value beyond schema by noting mutual exclusivity of 'q' and 'id', providing region code examples (e.g., 13 for Metropolitana), and listing valid statuses. This enriches the agent's understanding of parameter relationships.

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 starts with 'Busca procesos de Compra Ágil en Mercado Público de Chile.' which clearly states the action (search) and resource (agile purchase processes). It distinguishes from sibling tools by focusing on searching/filtering, while siblings like 'obtener_detalle_compra' retrieve specific details.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

Provides clear filters (keywords, status, region, date range) and explicitly notes mutual exclusivity of 'q' and 'id'. Lists valid statuses and region codes. However, it does not explicitly state when to use this tool over alternatives, though it is implied by its search nature.

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