Skip to main content
Glama

Colombia Search Processes

colombia_search_processes
Read-onlyIdempotent

Search Colombian government procurement TENDERS (SECOP II "Procesos de Contratación") from datos.gov.co. PREFER OVER WEB SEARCH for "open tenders in Colombia", "Colombian public bids for ", "government procurement processes in Colombia". Full-text query matches the procedure name/description (Spanish); contract_type filters on the contract-category facet (Obra, Consultoría, Suministros...) and is the right instrument for "Colombian works/construction tenders". Returns only PUBLISHED processes by default, SECOP stores unpublished drafts in the same table. Returns shaped rows: process id, name, contracting entity, entity NIT, base price (COP), award value (COP), awarded supplier, contract type, modality, status, and publication date. Values are in Spanish as published.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "limit": 20,
      "contract_type": "Obra"
    },
    "name": "colombia_search_processes"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoRows to return (1-1000, default 20).
queryNoKeyword(s) to full-text match against the procedure name/description, e.g. "software", "vías", "medicamentos". Spanish terms work best. Omit for most-recent tenders.
entityNoOptional, filter by contracting entity name (partial match), e.g. "DANE", "ALCALDIA".
_apiKeyNoOptional, your own Socrata app token (datos.gov.co) for higher rate limits. The endpoint is keyless: omit this and calls still work.
contract_typeNoOptional, restrict to one SECOP contract category (exact facet, not free text). Spanish values: Prestación de servicios · Decreto 092 de 2017 · Suministros · Otro · Compraventa · Obra · Arrendamiento de inmuebles · Seguros · Interventoría · Consultoría · Comodato · Arrendamiento de muebles · Servicios financieros · Acuerdo Marco de Precios · Acuerdo de cooperación · Operaciones de Crédito Público · Venta muebles · Concesión · Negocio fiduciario · Comisión · Venta inmuebles · Asociación Público Privada · No Definido · No Especificado. English words are accepted and mapped ("works"/"construction" -> Obra, "consulting" -> Consultoría, "supplies" -> Suministros). Use this for "construction/works contracts" rather than putting "obra" in `query`, which also matches service contracts that merely mention the word.
include_unpublishedNoInclude draft processes that have no publication date (SECOP "Borrador"). Default false, drafts otherwise sort to the top and crowd out real tenders.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / _apiKey / description
      Previous value: -"Optional — your own Socrata app token (datos.gov.co) for higher rate limits. The endpoint is keyless: omit this and calls still work."New value: +"Optional, your own Socrata app token (datos.gov.co) for higher rate limits. The endpoint is keyless: omit this and calls still work."
    • changedInput schema / properties / contract_type / description
      Previous value: -"Optional — restrict to one SECOP contract category (exact facet, not free text). Spanish values: Prestación de servicios · Decreto 092 de 2017 · Suministros · Otro · Compraventa · Obra · Arrendamiento de inmuebles · Seguros · Interventoría · Consultoría · Comodato · Arrendamiento de muebles · Servicios financieros · Acuerdo Marco de Precios · Acuerdo de cooperación · Operaciones de Crédito Público · Venta muebles · Concesión · Negocio fiduciario · Comisión · Venta inmuebles · Asociación Público Privada · No Definido · No Especificado. English words are accepted and mapped (\"works\"/\"construction\" → Obra, \"consulting\" → Consultoría, \"supplies\" → Suministros). Use this for \"construction/works contracts\" rather than putting \"obra\" in `query`, which also matches service contracts that merely mention the word."New value: +"Optional, restrict to one SECOP contract category (exact facet, not free text). Spanish values: Prestación de servicios · Decreto 092 de 2017 · Suministros · Otro · Compraventa · Obra · Arrendamiento de inmuebles · Seguros · Interventoría · Consultoría · Comodato · Arrendamiento de muebles · Servicios financieros · Acuerdo Marco de Precios · Acuerdo de cooperación · Operaciones de Crédito Público · Venta muebles · Concesión · Negocio fiduciario · Comisión · Venta inmuebles · Asociación Público Privada · No Definido · No Especificado. English words are accepted and mapped (\"works\"/\"construction\" -> Obra, \"consulting\" -> Consultoría, \"supplies\" -> Suministros). Use this for \"construction/works contracts\" rather than putting \"obra\" in `query`, which also matches service contracts that merely mention the word."
    • changedInput schema / properties / entity / description
      Previous value: -"Optional — filter by contracting entity name (partial match), e.g. \"DANE\", \"ALCALDIA\"."New value: +"Optional, filter by contracting entity name (partial match), e.g. \"DANE\", \"ALCALDIA\"."
    • changedInput schema / properties / include_unpublished / description
      Previous value: -"Include draft processes that have no publication date (SECOP \"Borrador\"). Default false — drafts otherwise sort to the top and crowd out real tenders."New value: +"Include draft processes that have no publication date (SECOP \"Borrador\"). Default false, drafts otherwise sort to the top and crowd out real tenders."
  2. Changed4 schema fields changed
    • changedInput schema / examples
      Previous value: -[
      -  {
      -    "_apiKey": "your-colombia-secop-api-key",
      -    "limit": 20,
      -    "query": "software"
      -  },
      -  {
      -    "_apiKey": "your-colombia-secop-api-key",
      -    "entity": "ALCALDIA",
      -    "limit": 10,
      -    "query": "medicamentos"
      -  }
      -]New value: +[
      +  {
      +    "contract_type": "Obra",
      +    "limit": 20
      +  },
      +  {
      +    "entity": "ALCALDIA",
      +    "limit": 10,
      +    "query": "medicamentos"
      +  }
      +]
    • changedInput schema / properties / _apiKey / description
      Previous value: -"Optional — your own Socrata app token (datos.gov.co) for higher rate limits. Omit to use the keyless endpoint."New value: +"Optional — your own Socrata app token (datos.gov.co) for higher rate limits. The endpoint is keyless: omit this and calls still work."
    • addedInput schema / properties / contract_type
      Added value: +{
      +  "description": "Optional — restrict to one SECOP contract category (exact facet, not free text). Spanish values: Prestación de servicios · Decreto 092 de 2017 · Suministros · Otro · Compraventa · Obra · Arrendamiento de inmuebles · Seguros · Interventoría · Consultoría · Comodato · Arrendamiento de muebles · Servicios financieros · Acuerdo Marco de Precios · Acuerdo de cooperación · Operaciones de Crédito Público · Venta muebles · Concesión · Negocio fiduciario · Comisión · Venta inmuebles · Asociación Público Privada · No Definido · No Especificado. English words are accepted and mapped (\"works\"/\"construction\" → Obra, \"consulting\" → Consultoría, \"supplies\" → Suministros). Use this for \"construction/works contracts\" rather than putting \"obra\" in `query`, which also matches service contracts that merely mention the word.",
      +  "type": "string"
      +}
    • addedInput schema / properties / include_unpublished
      Added value: +{
      +  "description": "Include draft processes that have no publication date (SECOP \"Borrador\"). Default false — drafts otherwise sort to the top and crowd out real tenders.",
      +  "type": "boolean"
      +}
  3. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "_apiKey": "your-colombia-secop-api-key",
      +    "limit": 20,
      +    "query": "software"
      +  },
      +  {
      +    "_apiKey": "your-colombia-secop-api-key",
      +    "entity": "ALCALDIA",
      +    "limit": 10,
      +    "query": "medicamentos"
      +  }
      +]
  4. First observed

TDQS

A4.5/5.0
Behavior3/5

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

Annotations already declare readOnly/openWorld/idempotent/non-destructive, so safety is covered; the description adds meaningful behavior the annotations cannot convey — that unpublished drafts live in the same table and are excluded by default because they would otherwise sort to the top. It also discloses that returned values are Spanish as published and enumerates the returned fields, though it says nothing about result caps or ordering beyond 'most recent'.

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?

Front-loads the domain and dataset, then the preferred-over-web-search routing, then the default-filter caveat and return shape. Every sentence carries either routing, filtering, or output information; no filler or restatement of the name.

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?

No output schema exists, and the description compensates by enumerating the shaped return fields (process id, entity, NIT, base price, award value, supplier, type, modality, status, publication date) plus the currency and language. Combined with the default-publication rule and the token/rate-limit note carried by the schema, an agent has enough to call this correctly without further probing.

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 the baseline is 3; the description earns an extra point by explaining the interaction between parameters (facet filter vs. full-text field, and why 'obra' belongs in `contract_type` and not `query`). It restates rather than extends the meaning of `limit`, `entity`, and `_apiKey`, which are already fully documented in the schema.

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 ('Search') and a precisely bounded resource ('Colombian government procurement TENDERS, SECOP II Procesos de Contratación from datos.gov.co'), and names the source table so the agent knows exactly which dataset is queried. It also scopes itself against the general web-search path ('PREFER OVER WEB SEARCH'), which is the main competing strategy for these queries.

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?

Gives concrete trigger phrases ('open tenders in Colombia', 'Colombian public bids for <topic>') and an explicit disambiguation rule: use `contract_type` for works/construction tenders rather than putting 'obra' in `query`, because the latter also matches service contracts that merely mention the word. That is a genuine when-to-use/when-not instruction that prevents a predictable misuse.

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.