Skip to main content
Glama
Mouraovicente

br-docs-mcp

parse_boleto

Extract bank code, amount in BRL, and due date from a boleto's digit line. Validates the 47-digit line and returns error on invalid input.

Instructions

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.

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?

No annotations are provided, so the description carries the full burden of behavioral disclosure. It explicitly states the failure behavior for invalid lines and lists the extracted fields, which is useful transparency. It could add more detail about input normalization or output format, but for a simple parse, this is adequate.

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 a single sentence that front-loads the core action and ends with error handling. Every phrase earns its place with no wasted words, making it highly concise and structured.

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?

Given the tool has only one parameter and no output schema, the description covers the essential fields (bank code, amount, due date) and error behavior. It could be more explicit about the return structure (e.g., object keys), but the clarity of extracted fields makes it complete enough for a simple parse tool.

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 only parameter 'linha_digitavel', which is documented as a 47-digit line with or without punctuation. The description does not add extra meaning beyond the schema, so baseline 3 is appropriate.

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 extracts bank code, amount (R$), and due date from the digitizable line of a boleto. This specific verb+resource+output set distinguishes it from sibling validate_boleto, which presumably only validates.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage for extracting boleto fields via 'Extrai', but does not explicitly mention alternatives like validate_boleto or explain when to prefer this tool over validation. The error behavior ('Falha com mensagem clara se a linha for inválida') hints that validation might be separate, but no clear when/when-not guidance is given.

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