Skip to main content
Glama
Woovi MCP Server

Woovi MCP Server

by izaakdias

create_charge

Idempotent

Create a Pix charge and get the copy-and-paste code and payment link to send to the payer; use your order ID as correlation_id so retries don't create duplicates.

Instructions

Create a Pix charge and return the Pix copy-and-paste code (brCode) and payment link to send to the payer. Use correlation_id = your order id so retries never create a duplicate.

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": {
      "value_cents": "<value_cents>"
    },
    "name": "create_charge"
  }
}

Input Schema

NameRequiredDescriptionDefault
accountNoConfigured account name; omit for the default account.
commentNoShown to the payer.
customerNoPayer: name plus tax_id, email or phone.
value_centsYesAmount in centavos: R$ 10,50 = 1050.
correlation_idNoYour order id; makes the call idempotent (same id returns the existing charge).
additional_infoNoUp to 10 key/value pairs.
expires_in_secondsNoDefault: Woovi's (1 day).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare idempotentHint=true and destructiveHint=false, but the description adds value by explaining the mechanism — retries with the same correlation_id return the existing charge rather than duplicating — and by naming what the caller receives (brCode plus payment link) to forward to the payer. It leaves open what happens on correlation_id collision with different values, but the behavioral picture is strong for a write tool.

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?

Two sentences, front-loaded with the action and the return artifacts, followed by a single actionable retry rule. No filler or redundancy.

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?

With an output schema present and annotations covering safety and idempotency, the description is nearly sufficient: it explains purpose, outputs in plain terms, and the idempotency contract. The only gap is that it does not point to siblings for retrieving or listing the charge after creation.

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 all seven parameters, including value_cents and correlation_id, are already documented in the schema. The description's correlation_id advice largely restates the schema's own idempotency note, so it adds emphasis rather than new meaning; baseline 3 applies.

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 a specific verb and resource ("Create a Pix charge") plus the concrete artifacts returned (brCode and payment link), which clearly separates it from sibling read tools like get_charge and list_charges. It stops short of naming an explicit alternative, so it lands just below the top of the scale.

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 second sentence implies the right usage pattern (pass your order id as correlation_id on retries) but never states when to prefer this tool over create_customer, create_refund, or get_charge for retrieval, nor any prerequisites such as needing a payer customer record.

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