br-docs-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| validate_cpfA | Valida um CPF brasileiro (aceita formatado "529.982.247-25" ou cru "52998224725"). Retorna { valid } e, quando inválido, { reason }. |
| generate_cpfA | Gera um CPF válido aleatório. Use formatted=true para "XXX.XXX.XXX-XX". |
| validate_cnpjA | Valida um CNPJ brasileiro (aceita formatado "11.222.333/0001-81" ou cru). Retorna { valid } e, quando inválido, { reason }. |
| generate_cnpjA | Gera um CNPJ válido aleatório. Use formatted=true para "XX.XXX.XXX/XXXX-XX". |
| validate_boletoA | Valida a linha digitável de um boleto bancário (47 dígitos, aceita pontuação). Confere o mod 10 dos 3 campos e o DV geral mod 11. Retorna { valid } e { reason } quando inválido. |
| parse_boletoA | Extrai código do banco, valor (R$) e data de vencimento da linha digitável de um boleto. Falha com mensagem clara se a linha for inválida. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| audit_customer_record | Gera uma instrução para auditar um cadastro de cliente (JSON), validando cada documento brasileiro encontrado com as tools deste servidor. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| validation-rules | Documentação em markdown dos algoritmos de validação: mod 11 do CPF/CNPJ, mod 10 e mod 11 do boleto e fator de vencimento. |
TDQS
Scored across 6 tools
Each tool targets a distinct document type and action. CPF, CNPJ, and boleto are clearly different domains, and validate vs. generate vs. parse have well-defined boundaries. Even the two boleto tools are unambiguous: one checks validity, the other extracts data.
All tool names follow a strict verb_noun pattern in lowercase snake_case: validate_cpf, generate_cpf, validate_cnpj, generate_cnpj, validate_boleto, parse_boleto. The verb (validate/generate/parse) and noun (cpf/cnpj/boleto) are consistent and predictable.
Six tools is well within the ideal 3-15 range and each tool provides a distinct function for Brazilian documents. The count feels neither sparse nor bloated, covering validation, generation, and parsing for three common document types.
The surface covers the core lifecycle for each document type: CPF and CNPJ have both generation and validation (with formatted output options), and boleto has validation and parsing. There are no obvious dead ends or missing operations for the stated purpose.