Skip to main content
Glama

Colombia - Public Contracts (0.30 credits)

api_colombia_contracts
Read-onlyIdempotent

Look up Colombian public contract records for a person or company by document type and number. See contracting party and document details to review public contracting history.

Instructions

Colombia public-contracts lookup (contratos públicos). Returns contract records tied to a person or company, including the contracting party and document. Inputs: documentType (NIT, CC, CE, PA, RC, TI, PEP, and a few foreign IDs) and documentNumber. Use it to see public contracting history, not a cédula identity check. Costs 0.30 credits per successful call.

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": {
      "documentType": "<documentType>",
      "documentNumber": "<documentNumber>"
    },
    "name": "api_colombia_contracts"
  }
}

Input Schema

NameRequiredDescriptionDefault
documentTypeYesGovernment-issued document type code for this country.
documentNumberYesDocument number. Dots, dashes, and spaces are accepted and ignored for length checks.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.5

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld, and non-destructive, so the safety profile is covered. The description adds two things annotations can't: the per-call price ('Costs 0.30 credits per successful call') and the fact that it succeeds or fails on a per-call billing basis, plus a hint of what the payload contains. It does not mention empty-result behavior or rate/volume limits, so not a 5.

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?

Four compact sentences, front-loaded with purpose, then return shape, then inputs, then the exclusion, then cost. The enumerated document types duplicate the schema enum and could be dropped, which is the only real waste.

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?

With no output schema, the description does the necessary work of describing the return shape (contract records with contracting party and document). Cost is disclosed, required inputs are identified, and the identity-check confusion is pre-empted. What's missing is anything about result volume, pagination, or what an empty response means for a credits-priced call.

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 coverage is 100%, so both parameters are already documented, including the enum and the note that dots/dashes/spaces are ignored. The description's 'Inputs:' sentence largely restates the enum members, adding only the gloss 'and a few foreign IDs'. Baseline 3 is appropriate when the schema carries nearly all the meaning.

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?

It names a specific verb and resource ('Colombia public-contracts lookup'), states the return content ('contract records tied to a person or company, including the contracting party and document'), and explicitly separates itself from the identity-lookup siblings ('not a cédula identity check'). An agent can select it without opening the schema.

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?

The line 'Use it to see public contracting history, not a cédula identity check' gives both a when-to-use condition and a when-not-to-use exclusion, which is the critical routing decision among the many colombia_api_identity_* siblings. It stops short of naming a specific alternative tool to use for identity checks, so it doesn't reach a 5.

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