Skip to main content
Glama

create_kyc_link

Cria um link de Verificação de Identidade (KYC) da CPFHub.io, como POST /kyc/links. Envie a url para a pessoa: ela faz a selfie com prova de vida e fotografa o documento no navegador. Criar o link não cobra; cada verificação concluída cobra o preço de Verificação de Identidade do plano (5 créditos por padrão), aprovada ou não. Acompanhe com get_kyc_link. Requer autenticação via API key.

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": "create_kyc_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
cpfNoCPF que você já conhece, para cruzar com o documento; nunca volta nas respostas
api_keyNoSua API key da CPFHub.io (opcional se já enviada no header x-api-key da conexão)
languageNoIdioma da página; sem ele, a página segue o idioma do navegador
external_idNoSeu identificador do cadastro (até 200 caracteres); volta no status e no webhook
max_attemptsNoTentativas permitidas, de 1 a 10 (padrão 3)
redirect_urlNoURL https para onde a pessoa volta ao terminar
expires_in_minutesNoValidade do link em minutos, de 5 a 10080 (padrão 1440)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full burden and does substantial work: it discloses the billing model (creation is free, each completed verification costs 5 credits by default, charged whether approved or rejected) and the API-key authentication requirement. The main residual gap is that it never states what the call returns (link id/URL) that the agent would pass to get_kyc_link.

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 tight sentences, front-loaded with the action and endpoint, then workflow, then cost, then follow-up and auth. No sentence is filler; each adds a fact the agent could not get from the schema alone.

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 mutating, zero-required-parameter tool with no output schema, the definition covers purpose, human-in-the-loop workflow, cost consequences, follow-up tool, and auth. It falls just short on response shape — the agent must infer that a link URL/id comes back — and does not restate defaults like the 1440-minute expiry.

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 all seven parameters (cpf, api_key, language, external_id, max_attempts, redirect_url, expires_in_minutes) are already documented in the schema. The description adds no parameter-level meaning beyond that baseline, so the standard 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?

Opens with a specific verb plus resource ("Cria um link de Verificação de Identidade") and anchors it to the upstream endpoint POST /kyc/links. It is clearly distinguishable from get_kyc_link, which it names as the read-side counterpart.

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?

Explains the operating flow (send the URL to the person, who completes selfie + liveness + document capture in the browser) and routes follow-up status checks to get_kyc_link. It does not state explicit when-not-to-use conditions or alternatives such as bulk tools, but the context is unambiguous.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources