Skip to main content
Glama

Evaluate Stateful Wallet Policy Conformance

stateful_wallet_policy_conformance

Evaluate safe standardized observations from wallet policies that track prior or concurrent requests. Use wallet_policy_conformance instead for one-request action shape, method, chain, token, recipient, amount, and function controls. This tool separately tests sequential cumulative limits, signed-but-unbroadcast accounting, ABI extraction, concurrent oversubscription, counter-reference failure, and application serialization. It accepts no credentials, counter values, wallet or resource IDs, signatures, transactions, or raw provider responses and does not run the provider tests itself. Payment challenge and credentials are bound to POST https://agents.samedaydesk.com/security/stateful-wallet-policy-conformance, not mcp://. Retry the identical authorized arguments and credential.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
networkYesNetwork identifier used by the tested stateful profile.
protocolYesPayment or execution protocol bound by the tested stateful profile.
providerYesWallet or delegated-signer provider name.
profileIdYesCaller-defined stateful policy profile identifier with no credential, wallet, or counter secret.
observationsYesUnique standardized stateful observations. Raw provider responses, signatures, transactions, counter values, credentials, wallet IDs, and resource IDs are rejected.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
productYes
profileYes
resultsYes
boundaryYes
completeYes
decisionYes
evaluatedAtYes
unsafeCasesYes
schemaVersionYes
inconclusiveCasesYes
strictBudgetPassedYes
applicationVerifiedYes
missingRequiredCasesYes
standardSchemaVersionYes
providerNativeVerifiedYes
providerNativeUnverifiedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "applicationVerified": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "boundary": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "credentialsAccepted": {
      +          "const": false,
      +          "type": "boolean"
      +        },
      +        "signaturesVerified": {
      +          "const": false,
      +          "type": "boolean"
      +        },
      +        "statement": {
      +          "type": "string"
      +        },
      +        "transactionBroadcast": {
      +          "const": false,
      +          "type": "boolean"
      +        },
      +        "walletAccessed": {
      +          "const": false,
      +          "type": "boolean"
      +        }
      +      },
      +      "required": [
      +        "credentialsAccepted",
      +        "walletAccessed",
      +        "signaturesVerified",
      +        "transactionBroadcast",
      +        "statement"
      +      ],
      +      "type": "object"
      +    },
      +    "complete": {
      +      "type": "boolean"
      +    },
      +    "decision": {
      +      "enum": [
      +        "conformant",
      +        "partial",
      +        "unsafe"
      +      ],
      +      "type": "string"
      +    },
      +    "evaluatedAt": {
      +      "format": "date-time",
      +      "type": "string"
      +    },
      +    "inconclusiveCases": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "missingRequiredCases": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "product": {
      +      "const": "samedaydesk-stateful-wallet-policy-conformance",
      +      "type": "string"
      +    },
      +    "profile": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "network": {
      +          "type": "string"
      +        },
      +        "profileId": {
      +          "type": "string"
      +        },
      +        "protocol": {
      +          "type": "string"
      +        },
      +        "provider": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "profileId",
      +        "provider",
      +        "network",
      +        "protocol"
      +      ],
      +      "type": "object"
      +    },
      +    "providerNativeUnverified": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "providerNativeVerified": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "results": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "actual": {
      +            "enum": [
      +              "allowed",
      +              "denied",
      +              "error"
      +            ],
      +            "type": "string"
      +          },
      +          "applicationVerified": {
      +            "type": "boolean"
      +          },
      +          "case": {
      +            "enum": [
      +              "first_within_cap",
      +              "sequential_exceeds_cap",
      +              "signed_unbroadcast_counts",
      +              "unrecognized_calldata",
      +              "concurrent_exceeds_cap",
      +              "missing_counter_reference",
      +              "application_serialized_concurrent_exceeds_cap"
      +            ],
      +            "type": "string"
      +          },
      +          "code": {
      +            "pattern": "^[A-Za-z0-9][A-Za-z0-9._:/-]{0,63}$",
      +            "type": "string"
      +          },
      +          "control": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "enforcementClass": {
      +            "enum": [
      +              "none",
      +              "policy",
      +              "application",
      +              "validation",
      +              "provider"
      +            ],
      +            "type": "string"
      +          },
      +          "expectationMet": {
      +            "type": "boolean"
      +          },
      +          "expected": {
      +            "enum": [
      +              "allow",
      +              "deny"
      +            ],
      +            "type": "string"
      +          },
      +          "finding": {
      +            "enum": [
      +              "expected_behavior",
      +              "unsafe_allowed",
      +              "expected_behavior_not_proven",
      +              "denied_outside_policy_or_application_guard"
      +            ],
      +            "type": "string"
      +          },
      +          "providerNativeVerified": {
      +            "type": "boolean"
      +          },
      +          "required": {
      +            "type": "boolean"
      +          }
      +        },
      +        "required": [
      +          "case",
      +          "actual",
      +          "enforcementClass",
      +          "expected",
      +          "control",
      +          "required",
      +          "expectationMet",
      +          "providerNativeVerified",
      +          "applicationVerified",
      +          "finding"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "schemaVersion": {
      +      "const": "samedaydesk.stateful-wallet-policy-conformance.v1",
      +      "type": "string"
      +    },
      +    "standardSchemaVersion": {
      +      "const": "agent-payment-policy.stateful-wallet-policy-observation-report.v1",
      +      "type": "string"
      +    },
      +    "strictBudgetPassed": {
      +      "type": "boolean"
      +    },
      +    "unsafeCases": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "schemaVersion",
      +    "standardSchemaVersion",
      +    "product",
      +    "evaluatedAt",
      +    "profile",
      +    "decision",
      +    "complete",
      +    "strictBudgetPassed",
      +    "results",
      +    "providerNativeVerified",
      +    "providerNativeUnverified",
      +    "applicationVerified",
      +    "missingRequiredCases",
      +    "unsafeCases",
      +    "inconclusiveCases",
      +    "boundary"
      +  ],
      +  "type": "object"
      +}
  2. Added

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.