Skip to main content
Glama

Colombia - RUI Classification (0.30 credits)

colombia_api_rui
Read-onlyIdempotent

Retrieve the RUI population classification for a Colombian document using document type and number to determine its registry class.

Instructions

Colombia RUI population classification. Returns the registry classification for the document. Inputs: documentType (CC, CE, TI, PPT, PEP, or RC) and documentNumber. Use it for the RUI class. Use colombia_api_identity_lookup when you need the cédula name and status. 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": "colombia_api_rui"
  }
}

Input Schema

NameRequiredDescriptionDefault
documentTypeYesDocument type: CC, CE, TI, PPT, PEP, or RC.
documentNumberYesDocument number (5–15 characters).

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 genuinely new behavioral facts: it costs 0.30 credits per successful call, and it states what the call yields (a registry classification). No detail on failure/no-hit behavior, hence 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?

Front-loaded with the purpose and alternative routing, and the cost note is useful. The 'Inputs: documentType (CC, CE, ...) and documentNumber' sentence largely duplicates the schema's enum and property names, making it the one expendable element.

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 only two fully documented parameters and no output schema, the description supplies the return semantic ('registry classification for the document') and the credit cost, which is adequate for calling correctly. It is thinner on what a valid vs. invalid classification looks like.

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%, so the schema already documents both parameters and the enum. The description only restates the enum values and the parameter names, adding no meaning beyond the schema — baseline 3 applies.

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 ('Returns the registry classification for the document') and explicitly distinguishes itself from colombia_api_identity_lookup, which it says is for the cédula name and status. An agent can separate 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?

'Use it for the RUI class' plus a named alternative with a stated condition ('when you need the cédula name and status') gives clear usage context. It lacks explicit exclusions or prerequisites (e.g., which document types fail), so it stops short of the top score.

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