evaluate_mcp_payment
Evaluate an x402 PaymentRequired payload against a PayStage spending policy before payment to decide whether to pay, review, or block the transaction.
Instructions
Evaluate an x402 PaymentRequired payload against a PayStage spending policy before paying
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": {
"payment_required": "<payment_required>"
},
"name": "evaluate_mcp_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| policy | No | ||
| policy_path | No | ||
| payment_required | Yes |