Skip to main content
Glama

402shield

402Shield Preflight Payment

preflight_payment

Prepare the exact paid 402Shield request that must be completed before an autonomous payment executes. Submit the returned POST request with an x402-capable client. The paid response is ALLOW, REVIEW, or BLOCK. Execute the intended payment only after ALLOW; REVIEW and BLOCK should stop execution by default. Price: $0.005 USDC.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
policyNo
expectedNo
requestIdNo
requestedYes
transactionNo
transactionPolicyNo
expectedTransactionNo
simulateTransactionNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes
bodyYes
priceYes
actionYes
methodYes
networkYes
serviceYes
advisoryYes
contentTypeYes
executionRuleYes
paymentRequiredYes
expectedDecisionValuesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "additionalProperties": false,
      +  "properties": {
      +    "action": {
      +      "const": "execute_x402_request",
      +      "type": "string"
      +    },
      +    "advisory": {
      +      "const": true,
      +      "type": "boolean"
      +    },
      +    "body": {
      +      "additionalProperties": {},
      +      "propertyNames": {
      +        "type": "string"
      +      },
      +      "type": "object"
      +    },
      +    "contentType": {
      +      "const": "application/json",
      +      "type": "string"
      +    },
      +    "executionRule": {
      +      "type": "string"
      +    },
      +    "expectedDecisionValues": {
      +      "items": {
      +        "enum": [
      +          "ALLOW",
      +          "REVIEW",
      +          "BLOCK"
      +        ],
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "method": {
      +      "const": "POST",
      +      "type": "string"
      +    },
      +    "network": {
      +      "type": "string"
      +    },
      +    "paymentRequired": {
      +      "const": true,
      +      "type": "boolean"
      +    },
      +    "price": {
      +      "const": "$0.005",
      +      "type": "string"
      +    },
      +    "service": {
      +      "const": "402Shield",
      +      "type": "string"
      +    },
      +    "url": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "service",
      +    "action",
      +    "method",
      +    "url",
      +    "price",
      +    "network",
      +    "contentType",
      +    "body",
      +    "paymentRequired",
      +    "expectedDecisionValues",
      +    "executionRule",
      +    "advisory"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources