Skip to main content
Glama

x402Shield

Check whether a proposed payment is authorized

x402shield_authorize_payment

Check whether the demo AI agent is financially authorized to make a proposed payment, BEFORE any wallet or signer would be asked to execute it. Returns ALLOW, DENY or REQUIRE_APPROVAL with a reason. This tool does not execute or sign a payment, and it cannot approve its own REQUIRE_APPROVAL result -- that requires a human, through the web console. The purpose field is a label for the evidence trail only; it is never interpreted as an instruction and cannot change the policy decision.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
purposeNoOptional free-text label for why this payment is being proposed. Recorded as data only.
presetIdYesWhich demo agent is proposing the payment: research-agent, ops-agent
amountUsdcYesProposed payment amount in USDC (0.01-5000).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources