Skip to main content
Glama
devkit-mcp

devkit-mcp

by RaihNoDev2

parse_pix

Read-onlyIdempotent

Parses a Pix Copia e Cola payload and validates its CRC16 checksum. Use it to decode BR Code data and confirm payload integrity.

Instructions

Faz o parse de um payload Pix (Copia e Cola) e valida o CRC16.

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": {
      "payload": "<payload>"
    },
    "name": "parse_pix"
  }
}

Input Schema

NameRequiredDescriptionDefault
payloadYesPayload Pix a analisar.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

The annotations already establish this as a safe, read-only, idempotent, closed-world operation. The description adds one piece of real behavioral context beyond that — CRC16 validation is performed — but does not say what happens when the CRC is invalid (error vs. flagged result) or what the parse returns. With annotations covering the safety profile, this partial disclosure merits a 3.

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?

A single front-loaded sentence with no filler: the action, the resource, and the extra validation step are all packed in without redundancy. It is efficient, though its brevity leaves behavioral gaps that show up in other dimensions.

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

Completeness3/5

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

For a parsing tool with no output schema, the description does not indicate what the parse produces (structured fields, decoded merchant/amount data, or a CRC validity flag). An agent knows what goes in but not what comes out, which is the main remaining gap; the CRC note partially offsets this.

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?

There is exactly one parameter and schema coverage is 100%, so the schema already documents it fully; the baseline is 3. The description only adds the useful clarification that the expected value is a 'Copia e Cola' payload rather than an arbitrary string, which is marginal added meaning.

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?

The description states a specific verb and resource ("Faz o parse de um payload Pix") and adds scope detail (Copia e Cola format) plus a secondary behavior (validates CRC16). It is distinguishable from siblings like generate_pix or validate_pix_key, which operate on key generation/validation rather than payload parsing, though it never names those alternatives explicitly.

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?

Usage is implied by the input format: it is for a Pix copy-and-paste string. There is no explicit when-to-use or when-not-to-use guidance, no mention of what to do if only a Pix key is available (where validate_pix_key would apply), and no statement about preconditions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.