Skip to main content
Glama
Mouraovicente

br-docs-mcp

validate_boleto

Validates a Brazilian bank boleto's 47-digit typed line by checking field check digits (mod 10) and overall check digit (mod 11). Returns validity and reason if invalid.

Instructions

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.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
linha_digitavelYesLinha digitável com 47 dígitos, com ou sem pontuação
Behavior4/5

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

With no annotations provided, the description discloses the validation algorithm (mod 10 for fields, mod 11 for DV) and the return structure ({ valid } and { reason } on invalid). It doesn't mention side effects, but this is a read-only validation tool, and the behavior is clearly described.

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?

The description is two concise sentences: the first states the main purpose and input format, the second details the validation logic and return. Every sentence adds value with no redundancy.

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?

Despite having no output schema, the description clearly explains the return format ({ valid } and { reason } when invalid) and the validation approach. After reading, an agent knows exactly when to use it and what to expect, making it complete for its complexity.

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% for the single parameter, already specifying the 47-digit length and optional punctuation. The description adds no additional parameter semantics beyond what the schema provides, matching the baseline score.

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?

The description clearly states the tool validates the readable line of a bank boleto, specifying the 47-digit format and punctuation acceptance. It also details the validation logic (mod 10 and mod 11), distinguishing it from sibling CPF/CNPJ validators and parse_boleto.

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?

The description specifies this tool is for validating a boleto line, with explicit checks and return behavior. While it doesn't name alternative tools, the context of siblings makes it clear this is for boleto validation, not CPF/CNPJ, and parse_boleto handles parsing rather than validation.

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/Mouraovicente/br-docs-mcp'

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