Skip to main content
Glama

Check Pix charge

pix_check_charge

Check the current status of a Pix charge by charge ID to see if it is pending, paid, expired, or cancelled; only paid confirms the money arrived.

Instructions

Get the current status of a charge you created: pending, paid, expired or cancelled. Only 'paid' means the money arrived.

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": {
      "chargeId": "<chargeId>"
    },
    "name": "pix_check_charge"
  }
}

Input Schema

NameRequiredDescriptionDefault
chargeIdYesThe id returned by pix_create_charge (ch_…).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does disclose the status vocabulary and the critical semantics that only 'paid' means funds settled, which prevents misreading 'pending' as success. It does not state that the call is read-only, whether it has side effects, or how to behave on an unknown charge id.

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 tight sentences with no filler; the status list and the 'paid' caveat are front-loaded where an agent will see them first.

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?

For a one-parameter read tool with no output schema, naming the four possible return states effectively documents the response, and the 'paid' clarification covers the main interpretation risk. Only polling behaviour and not-found handling are left unaddressed.

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?

The single chargeId parameter is fully documented in the schema, including its ch_ prefix and origin in pix_create_charge. The description adds no meaning beyond that, so the baseline of 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?

The description gives a specific verb and resource ('Get the current status of a charge') and enumerates the possible states, so an agent knows exactly what it returns. It is not explicitly differentiated from the sibling pix_payment_status, which is left to inference.

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?

'a charge you created' implies this is the follow-up to pix_create_charge, which is useful. However, there is no statement about when to check (e.g. polling cadence after creation) and no exclusion or comparison against pix_payment_status or pix_list_activity.

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