Skip to main content
Glama
NicolasAEV

MCP Mercado Público

by NicolasAEV

Buscar Licitaciones

buscar_licitaciones

Search public procurement opportunities on Chile's Mercado Público. Filter results by date, status, supplier, or buying organization.

Instructions

Busca licitaciones en Mercado Público (ChileCompra). Sin parámetros opcionales retorna las licitaciones del día actual. Puedes filtrar por fecha, estado, proveedor u organismo. Para buscar por organismo usa nombreOrganismo (nombre o parte) o codigoOrganismo (código numérico). Sin fecha y con organismo/proveedor, busca automáticamente los últimos 30 días. Estados válidos: activas (publicadas hoy), publicada, cerrada, desierta, adjudicada, revocada, suspendida, todos. Códigos en la respuesta: Publicada=5, Cerrada=6, Desierta=7, Adjudicada=8, Revocada=18, Suspendida=19.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ticketNoTu ticket de acceso a la API de Mercado Público. Puedes obtenerlo en https://api.mercadopublico.cl/modules/IniciarSesion.aspx. Si el servidor fue configurado con la variable de entorno MERCADO_PUBLICO_TICKET, este parámetro es opcional.
fechaNoFecha en formato ddmmaaaa (ej: 07042026 para el 7 de abril de 2026). Si se omite, se usan los registros del día actual.
estadoNoEstado de la licitación: activas | publicada | cerrada | desierta | adjudicada | revocada | suspendida | todos. Usa "activas" para ver todas las publicadas hoy.
codigoProveedorNoCódigo numérico del proveedor en Mercado Público (ej: 17793). Úsalo junto a "fecha".
codigoOrganismoNoCódigo numérico del organismo público comprador (ej: 6945). Úsalo junto a "fecha".
nombreOrganismoNoNombre o parte del nombre del organismo comprador (ej: "Alto del Carmen", "Ministerio de Salud"). Se resuelve automáticamente a su código interno. Alternativa a codigoOrganismo cuando no se conoce el código numérico.
Behavior4/5

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

No annotations are provided, so the description carries full burden. It discloses key behaviors: default to current day, auto 30-day range, and valid states. However, it does not explicitly state read-only nature or rate limits, but given the search context, it is sufficiently transparent.

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?

The description is a single dense paragraph but front-loaded with core purpose. Each sentence provides essential information. Could be slightly more structured (e.g., bullet points) but overall concise and efficient.

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 6 parameters, no required ones, and no output schema, the description covers behavior, defaults, and enumerations well. However, it lacks information about pagination, result limits, and the format/mapping of output fields, which would be helpful for a search tool.

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%, but the description adds significant meaning beyond individual parameter descriptions: it explains state value meanings, the automatic 30-day behavior, and the relationship between fecha, codigoProveedor, codigoOrganismo, and nombreOrganismo. This adds value beyond the schema.

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 clearly states it searches licitaciones on Mercado Público (ChileCompra). It implicitly differentiates from sibling tools by specifying single-day default and filtering behavior, but does not explicitly name alternatives.

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 guidance on default behavior (today's results), filtering options (date, status, supplier, organization), and automatic 30-day search when no date is given with organization/supplier. Does not explicitly exclude other tools or mention when not to use.

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/NicolasAEV/mcp-mercado-publico'

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