Skip to main content
Glama

compras_publicas_buscar

Read-only

Search Mercado Público/ChileCompra records for tenders, purchase orders, suppliers, or direct deals with verifiable legal citations to support procurement research and compliance checks.

Instructions

Busca licitaciones públicas, órdenes de compra, proveedores o tratos directos en Mercado Público / ChileCompra (datos abiertos OCDS y API oficial), con citas legales verificables.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "compras_publicas_buscar"
  }
}

Input Schema

NameRequiredDescriptionDefault
tipoNoTipo de registro en Mercado Público / ChileCompralicitaciones
queryYesTérmino de búsqueda, servicio, producto o nombre de licitación
limiteNoMáximo de resultados a devolver
organismoNoFiltro opcional por nombre o código del organismo comprador
solo_cacheNoSi es True, responde únicamente desde la caché local
codigo_licitacionNoCódigo específico de licitación (ej. '1234-5-LP26')

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true and destructiveHint=false, so the safety profile is covered. The description adds real context beyond that: it discloses the data provenance (open OCDS data and the official API) and that results carry verifiable legal citations. It does not mention rate limits, auth requirements, or how the local cache behaves, which keeps it at a 3.

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?

A single, front-loaded sentence with the verb and resources first and the provenance/citation detail in a parenthetical. Nothing is redundant, though the parenthetical is dense and could be split for readability.

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?

For a read-only search tool with six fully-described parameters, annotations covering the safety profile, and no output schema, the definition covers resource scope and data provenance adequately. It could say more about what a result record looks like (beyond 'citas legales verificables') and about result volume, but nothing essential to calling it correctly is missing.

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 description coverage is 100%, so all six parameters are already documented in the schema, including the four-value `tipo` enum. The description's enumeration of record types loosely maps to `tipo` but adds no syntax, format, or interaction detail beyond what the schema states. Baseline 3 applies when the schema does the heavy lifting.

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 names a specific verb ('Busca') plus four concrete resources (licitaciones, órdenes de compra, proveedores, tratos directos) and the data source (Mercado Público / ChileCompra, OCDS, API oficial). An agent immediately knows this is a procurement search tool. It does not, however, distinguish itself from the sibling compras_publicas_cruzar_probidad, so it stops short 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 only implied: 'search procurement records' plus an enumeration of record types that hints at which `tipo` to pick. There is no explicit when-to-use vs. when-not, no mention of the probity-cross-check sibling, and no guidance on when to prefer `solo_cache` versus a live API call. Minimum viable but with clear gaps.

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