Skip to main content
Glama

Pix payment status

pix_payment_status

Check the current status of a Pix payment requested with pix_send—pending_approval, processing, sent, failed, or rejected—using the paymentId returned during sending.

Instructions

Get the current status of a payment you requested with pix_send: pending_approval, processing, sent, failed or rejected.

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": {
      "paymentId": "<paymentId>"
    },
    "name": "pix_payment_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
paymentIdYesThe id returned by pix_send (pay_…).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/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 implies a read-only lookup and usefully discloses the possible status values (pending_approval, processing, sent, failed, rejected), which hints at lifecycle stages. However, it never states that it is a safe read, whether terminal states are final or keep changing, whether polling is expected, or any auth requirements.

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?

One sentence, front-loaded with the action and resource, with the status list providing value rather than padding. Nothing is wasted.

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 single-parameter lookup with no output schema, stating the possible status values effectively substitutes for return-value documentation, which is the main thing an agent needs. Minor gaps remain around error behavior for invalid ids and whether statuses change over time.

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 coverage is 100% and the schema already documents paymentId as 'The id returned by pix_send (pay_…)'. The description reinforces that provenance but adds no format or validity detail beyond the schema, so the baseline of 3 applies.

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

Purpose5/5

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

'Get' plus 'current status of a payment' is a specific verb+resource, and the description anchors it to pix_send so an agent can separate it from charge-oriented siblings like pix_check_charge. The enumerated status values further pin down exactly what is returned.

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

Usage Guidelines4/5

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

The phrase 'a payment you requested with pix_send' establishes the precondition (an id from pix_send) and indirectly rules out using it for charges. It stops short of naming an explicit alternative or when-not case, so this is clear context rather than full routing guidance.

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