Skip to main content
Glama

Colombia — Health & social security affiliations (0.30 credits)

colombia_api_affiliations
Read-onlyIdempotent

Retrieves health, pension, and labor-risk affiliations for a Colombian document using its type, number, and issue date.

Instructions

Colombia social-security affiliations (afiliaciones). Returns health, pension, and labor-risk affiliations for the document. Inputs: documentType (CC, CE, PA, or PEP), documentNumber, and date (DD/MM/YYYY). Use it for a broader affiliation picture. Use colombia_api_adres for the EPS only. 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>",
      "date": "<date>"
    },
    "name": "colombia_api_affiliations"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateYesIssue or expedition date of the document. Format: DD/MM/YYYY. Example: 05/05/2000.
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 cover the safety profile (readOnly, idempotent, non-destructive, openWorld), so the description's main added value is the explicit billing behavior: 0.30 credits per successful call, which is not encoded anywhere in the structured fields and is important for an agent deciding whether to spend a call. It does not describe empty-result or failure behavior, but that is a modest gap given the annotation coverage.

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 short sentences, front-loaded with the resource and return content, then the alternative and the cost. The only waste is the 'Inputs:' parameter list and date format, which duplicate what the schema already states verbatim.

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 three-parameter read tool with no output schema, the description supplies the missing return-value context by enumerating the three affiliation categories, plus the cost. What remains unstated is whether the response is a single object or a list and how missing affiliations are represented.

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% and each parameter is already documented with format, enum values, and even normalization rules for documentNumber. The description's 'Inputs:' sentence and the DD/MM/YYYY reminder restate the schema rather than adding new meaning, so the baseline 3 is appropriate.

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?

Names the specific resource ('Colombia social-security affiliations (afiliaciones)') and states exactly what comes back: health, pension, and labor-risk affiliations for a document. It also explicitly separates itself from colombia_api_adres ('EPS only'), so an agent can pick between the two without opening either 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?

Gives a positive selection rule ('Use it for a broader affiliation picture') and names the concrete alternative for the narrower case. It stops short of stating exclusions such as non-Colombian documents or when the data would be empty, so it is clear context rather than a full when/when-not rubric.

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