Skip to main content
Glama

x402_check_payment_status

Check an x402 payment request's status using its payment ID to confirm whether the cryptocurrency payment is pending, completed, or failed.

Instructions

Check the status of an x402 payment request using its payment ID

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": "x402_check_payment_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
paymentIdYesThe payment request ID to check status for

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are provided, so the description bears the full burden of behavioral disclosure. 'Check' implies a read-only lookup, but the description does not state permission requirements, error behavior for unknown IDs, rate limits, idempotency, or what statuses might be returned.

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?

The description is one front-loaded sentence with no wasted words. It is appropriately sized for a single-purpose lookup tool.

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?

The tool is simple and the input is fully documented, but with no output schema the description gives no indication of return values such as status values or response shape, nor any failure cases. This leaves a minimal but workable picture for an agent.

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 single paymentId parameter is fully documented in the schema and the baseline is 3. The description adds only a restatement that the ID identifies the payment request and no format or source details.

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 ('check') and resource ('status of an x402 payment request') and identifies the lookup key. It is clearly distinguishable from sibling tools such as create_payment_request, but it does not explicitly contrast itself with alternatives.

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 verb: call this when you need the state of an existing payment request. There is no explicit when-to-use or when-not-to-use guidance, no mention of prerequisites such as the payment ID existing, and no named alternative tools.

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