Skip to main content
Glama

validate_cc_co

Read-onlyIdempotent

Validates Colombian Cédula de Ciudadanía number format for identity verification in tax filings, employment contracts, or KYC processes, returning valid status or reason for invalid format.

Instructions

Validates the format of a Colombian Cédula de Ciudadanía (CC) — the national identity document for Colombian citizens. Verifies that the number is between 6 and 10 digits as required by the Registraduría Nacional. Returns { valid: boolean, cc: string } or { valid: false, reason: string }. Use when processing Colombian individual tax filings, employment contracts, or KYC onboarding flows requiring a verified Colombian citizen ID. Note: checksum validation is not publicly available for CC numbers.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ccYesColombian Cédula de Ciudadanía number. Example: '1234567890'

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
validYes
ccNo
reasonNo
Behavior5/5

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

Adds behavioral details beyond annotations: verifies digit range, return format with valid/invalid and reason, and explicitly notes that checksum validation is not publicly available. No contradiction with readOnlyHint=true.

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?

Four sentences, front-loaded with purpose and format, no fluff. Every sentence provides essential information.

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?

Covers purpose, usage context, return format, and a limitation (no checksum). Could be more explicit about possible error reasons, but sufficient given low complexity.

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 provides parameter name, description, and example. Description adds value by specifying the valid digit range (6-10 digits) and the return structure, beyond the schema's example.

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?

Clearly states it validates the format of Colombian Cédula de Ciudadanía, specifies the digit range, and distinguishes from sibling validators like validate_cpf and validate_rut_cl by naming the specific document type.

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?

Provides explicit usage scenarios (tax filings, employment contracts, KYC), but does not mention when not to use or compare with alternatives like validate_nit_co.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/josemvelez78/mcp-latam-business'

If you have feedback or need assistance with the MCP directory API, please join our Discord server