Skip to main content
Glama

create_pix_charge

Generate a Pix charge with an instant QR Code and copy-and-paste payment code to collect payments from customers.

Instructions

Gera uma nova cobrança Pix com QR Code e Copia e Cola instantâneo.

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": {
      "amount_cents": "<amount_cents>"
    },
    "name": "create_pix_charge"
  }
}

Input Schema

NameRequiredDescriptionDefault
referenceNoIdentificador único do pedido no seu sistema.
descriptionNoDescrição visível para o pagador.
amount_centsYesValor da cobrança em centavos (ex: 1000 = R$ 10,00; mínimo 100).
expires_in_secondsNoTempo de expiração do QR Code em segundos (padrão 3600 = 1 hora).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It mentions the immediate QR Code and Copia e Cola output, which is useful, but it does not describe persistence, idempotency behavior, authorization requirements, what happens on expiry, or any side effects of creating a financial charge. For a mutating financial tool, this is a significant transparency gap.

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?

The description is a single front-loaded sentence with no filler or repetition. It communicates the core action and deliverables efficiently. It could be slightly richer without losing conciseness, but nothing in the wording is wasteful.

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

Completeness2/5

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

This is a mutating payment tool with no annotations and no output schema, so the description must supply more context than a single sentence. It does not cover the response structure, idempotency expectations around the reference field, expiry behavior in practice, or authorization prerequisites. It is sufficient to know what the tool broadly does but not to invoke it confidently in production.

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%, so the input schema already documents the meaning, defaults, and constraints of all four parameters, including amount_cents minimum and expires_in_seconds default. The description adds no parameter-level meaning beyond the schema. Under the high-coverage rule, a baseline of 3 is appropriate.

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: creating a new Pix charge. It also names the two artifacts produced, a QR Code and a Copia e Cola code, which makes the purpose concrete. It does not explicitly distinguish itself from the sibling get_pix_charge, but the create-vs-get distinction is implicit in the name and the phrase 'nova cobrança'.

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?

There is no guidance on when to use this tool versus the read-only sibling get_pix_charge, nor any stated prerequisites such as authentication or required Pix key configuration. The only implied condition is that the caller wants to generate a new charge. No exclusions, alternatives, or workflow context are provided.

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