Skip to main content
Glama

bulk_lookup_cpf

Cria um lote assíncrono de até 10.000 CPFs na base da CPFHub.io (Consulta Simples), como POST /cpf/bulk, e devolve o jobId na hora. CPFs inválidos e repetidos são descartados. Em planos sem excedente, o envio exige saldo para todos os CPFs válidos; só os CPFs encontrados são cobrados. Com a fila de lotes ligada, o envio não conta no limite por minuto: vale o limite de lotes pendentes por cliente (429, retry_after 60); sem a fila, cada envio conta como 1 requisição no limite por minuto. Acompanhe com get_bulk_job (type cpf). Requer autenticação via API key.

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": {
      "cpfs": "<cpfs>"
    },
    "name": "bulk_lookup_cpf"
  }
}

Input Schema

NameRequiredDescriptionDefault
cpfsYesLista de CPFs, com ou sem formatação
api_keyNoSua API key da CPFHub.io (opcional se já enviada no header x-api-key da conexão)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so: invalid and duplicate CPFs are discarded, plans without overage require balance for all valid CPFs while only found CPFs are billed, queue-on versus queue-off changes the rate-limit accounting, and a 429 with retry_after 60 is disclosed. It also states API key authentication is required.

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 core action and return value, then layered billing and rate-limit detail, all in roughly four sentences with no filler. It is dense but every clause conveys operational information the agent cannot get from structured fields.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, and the description still covers the return value (jobId returned immediately), the follow-up tool, billing preconditions, and failure behavior. Nothing an agent needs in order to invoke this tool correctly is missing.

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 coverage is 100%, so the baseline is 3, but the description adds real meaning: a hard cap of 10,000 items and the rule that invalid or duplicate entries are silently dropped, both of which change how the agent should populate 'cpfs'. The api_key parameter is only referenced indirectly via the authentication sentence.

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 ('Cria um lote assíncrono de até 10.000 CPFs'), names the backing endpoint (POST /cpf/bulk), and specifies the immediate return (jobId). The batch-of-CPFs scope is clearly distinguishable from the CNPJ and single-CPF siblings.

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?

Explicitly routes the agent to get_bulk_job (type cpf) for tracking and explains the queue-on vs queue-off rate-limit regimes, which is genuine when-to-expect guidance. It stops short of stating when to prefer lookup_cpf or bulk_lookup_cnpj instead, so the sibling-exclusion side is only implied by the CPF-batch framing.

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