Skip to main content
Glama
secop-mcp

secop-mcp

by inghggw

Search procurement processes

search_processes
Read-only

Search SECOP II public procurement processes by place, category, entity, budget, state and date. Returns newest matches first with total counts for market research and tender discovery.

Instructions

Search SECOP II processes by place, category, entity, budget, state and date. Returns the newest matches first plus the total number of matching processes.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_processes"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityNoCity of the contracting entity, e.g. "Ibagué". Partial match.
limitNoHow many processes to return (default 10, max 50).
stateNoProcess state, e.g. "Publicado", "Adjudicado". Partial match.
entityNoName of the contracting entity. Partial match.
offsetNoSkip this many results, for paging.
unspscNoUNSPSC category code. Accepts "82141500", "V1.82141500" or a shorter family like "8214" (prefix match).
awardedNotrue = only awarded processes, false = only not-yet-awarded.
keywordNoFull-text search across the whole record (title, description, entity).
modalityNoProcurement modality, e.g. "Licitación", "Contratación directa". Partial match.
last_daysNoShorthand for published_since = today minus N days.
open_onlyNoOnly processes whose opening state is "Abierto".
departmentNoDepartment of the contracting entity, e.g. "Tolima". Partial match.
entity_nitNoExact NIT of the contracting entity, digits only.
contract_typeNoContract type, e.g. "Prestación de servicios", "Obra". Partial match.
max_value_copNoMaximum estimated budget in COP.
min_value_copNoMinimum estimated budget in COP.
include_draftsNoInclude processes in "Borrador" state. Off by default: drafts were never offered to the market.
published_sinceNoOnly processes published on or after this date (YYYY-MM-DD).
published_untilNoOnly processes published on or before this date (YYYY-MM-DD).

Output Schema

NameRequiredDescriptionDefault
whereYesThe SoQL predicate that was executed. Useful for auditing a result.
returnedYes
processesYes
total_matchingYesTotal processes matching the filters, ignoring limit/offset.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered. The description adds two genuinely new behavioral facts — results are ordered newest-first and a total match count is included — but says nothing about pagination depth, result caps, or cost of broad queries. Because an output schema exists, return-value detail is largely already structured, keeping this 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, no filler, with the scope statement front-loaded and the return-behavior note second. Every clause earns its place and nothing is buried.

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 19-parameter, fully documented search tool with both annotations and an output schema, the description is adequate to call it correctly. It omits guidance on filter combination semantics and result-window limits, which would matter for a broad query, preventing a 5.

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 description coverage is 100%, so every one of the 19 parameters is already documented, which sets the baseline at 3. The description goes slightly beyond by grouping the filters into meaningful categories (place, category, entity, budget, state, date), helping the agent reason about which filters combine, though it adds no syntax or format detail.

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?

Names a specific verb and resource ("Search SECOP II processes") and enumerates the filterable dimensions (place, category, entity, budget, state, date), so the agent knows exactly what domain it queries. It does not distinguish itself from siblings such as get_process or summarize_procurement, 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 by the word "Search" and by the filter list; there is no statement of when to prefer this over get_process (single-record retrieval) or summarize_procurement (aggregation). An agent can infer it is the list/query entry point, but the routing decision is left to inference.

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