Skip to main content
Glama

BR Intelligence

decode_pix

Validate and decode a PIX copia-e-cola (BR Code): CRC16, key and key type, merchant name and city, amount, txid, static or dynamic. Payload is not stored. Price: $0.005.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
payloadYesPIX BR Code payload.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/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 disclose several behaviors beyond the schema: it validates CRC16 as well as decoding, states the payload is not stored (data-handling), and quotes a price of $0.005 (cost awareness). It omits error behavior for an invalid CRC or malformed payload, which is the main remaining gap.

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?

A single dense sentence front-loads the action and resource, followed by the decode fields and the cost tag. No filler, and every clause supplies information an agent would otherwise have to guess.

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?

There is no output schema, so the description must describe return values — and it does, listing CRC16, key, key type, merchant name/city, amount, txid, and static vs dynamic. For a one-parameter stateless decoder this is nearly complete; only failure-case behavior is unstated.

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?

Only one parameter exists and schema description coverage is 100%, so the schema already documents 'payload' fully. The description adds no syntax or format detail beyond what the schema provides, which is the expected baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States specific verbs (validate, decode) and the exact resource (PIX copia-e-cola / BR Code), then enumerates the fields it extracts, so the agent knows precisely what comes back. It is distinguishable from the sibling decode_boleto by resource type, though it never names that sibling explicitly.

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

Usage Guidelines2/5

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

No when-to-use guidance, no prerequisites, and no routing to alternatives is given. The agent must infer from the name/description alone that this is the PIX counterpart to decode_boleto.

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