Skip to main content
Glama

Search public tenders

search_tenders
Read-onlyIdempotent

Use this first to find ChileCompra public tenders matching a need. Pass Spanish keywords for best results (e.g. 'firewall', 'notebook', 'ciberseguridad'). Returns only tenders still open for bids (set include_closed=true for history), ordered by match score and then the soonest closing date, each with tender_id, retrieved_at and source_url. Andes adds the synonyms Chilean buyers use (e.g. 'ciberseguridad' also finds 'seguridad informática', 'firewall', 'SOC'): audit.expanded_terms lists them and each result's matched_terms says which term hit. One concept per word is best; accents do not matter. audit.index_last_synced_at and audit.index_open_tenders describe the whole index: zero results with a recent sync means nothing open matches today. Call get_tender_detail before deciding anything. Access: open to anonymous agents (rate-limited); a free AndesPass key raises the limit.

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": "search_tenders"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum results, 1 to 100.
queryYesKeywords in the market's language (Spanish for ChileCompra).
response_modeNo`structured`, `compact` or `human`.structured
include_closedNoAlso return tenders whose bids have closed (history).
preferred_languageNoThe user's BCP-47 tag (see `get_tender_detail`).en-US
include_original_evidenceNoAdd annotated source fields to each result.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / properties / include_closed / description
      Added value: +"Also return tenders whose bids have closed (history)."
    • addedInput schema / properties / include_original_evidence / description
      Added value: +"Add annotated source fields to each result."
    • addedInput schema / properties / limit / description
      Added value: +"Maximum results, 1 to 100."
    • addedInput schema / properties / preferred_language / description
      Added value: +"The user's BCP-47 tag (see `get_tender_detail`)."
    • addedInput schema / properties / query / description
      Added value: +"Keywords in the market's language (Spanish for ChileCompra)."
    • addedInput schema / properties / response_mode / description
      Added value: +"`structured`, `compact` or `human`."
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive), yet the description adds substantive behavior: synonym expansion via Andes, the fields in audit.expanded_terms and matched_terms, result ordering (match score then soonest closing), and the access model (anonymous but rate-limited; AndesPass key raises the limit). It also gives an interpretation rule for zero results tied to audit.index_last_synced_at, which is real operational context an agent could not infer.

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 usage and return shape, then synonyms, query tips, the zero-result caveat, the next-step pointer, and access. Every sentence carries information, though the audit/synonym block is dense enough that it reads as a run-on rather than cleanly separated.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present, return values need not be explained, yet the description still summarizes ordering and key fields. Combined with rate-limit/access disclosure and the empty-result interpretation rule, nothing an agent needs to call this correctly is missing.

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 covers all six parameters at 100%, so baseline is 3; the description earns above that by adding query-construction guidance (Spanish keywords, one concept per word, accents irrelevant, example terms) and clarifying that include_closed switches the default open-only filter. Limit, response_mode and preferred_language are left entirely to the schema, so it is not exhaustive.

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?

States a specific verb and resource ('find ChileCompra public tenders matching a need') and immediately distinguishes itself from the detail sibling ('Call get_tender_detail before deciding anything'). An agent can tell what this tool returns (open tenders with tender_id, retrieved_at, source_url) without opening a schema.

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

Usage Guidelines5/5

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

It says to 'use this first', names the follow-up tool (get_tender_detail) before acting on results, and gives an explicit alternative path ('include_closed=true for history'). The default-vs-history condition is stated rather than inferred.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources