Skip to main content
Glama

Evaluate Agent Wallet Policy Conformance

wallet_policy_conformance

Evaluate safe standardized allow, deny, and error observations from an agent wallet or delegated signer. Use this after running a bounded provider policy test matrix to distinguish explicit provider-policy enforcement from validation or generic provider failures and to test exact execution shape separately from operation allowlisting. Accepts no credentials, wallet IDs, signatures, transactions, or raw provider responses; it evaluates caller-supplied observations and does not run the provider tests itself. Payment challenge and credentials are bound to POST https://agents.samedaydesk.com/security/wallet-policy-conformance, not mcp://. Retry the identical authorized arguments and credential.

Input Schema

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

Output Schema

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

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": {
      +    "boundary": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "credentialsAccepted": {
      +          "const": false,
      +          "type": "boolean"
      +        },
      +        "signatureVerified": {
      +          "const": false,
      +          "type": "boolean"
      +        },
      +        "statement": {
      +          "type": "string"
      +        },
      +        "transactionBroadcast": {
      +          "const": false,
      +          "type": "boolean"
      +        },
      +        "walletAccessed": {
      +          "const": false,
      +          "type": "boolean"
      +        }
      +      },
      +      "required": [
      +        "credentialsAccepted",
      +        "walletAccessed",
      +        "signatureVerified",
      +        "transactionBroadcast",
      +        "statement"
      +      ],
      +      "type": "object"
      +    },
      +    "complete": {
      +      "type": "boolean"
      +    },
      +    "decision": {
      +      "enum": [
      +        "conformant",
      +        "partial",
      +        "unsafe"
      +      ],
      +      "type": "string"
      +    },
      +    "evaluatedAt": {
      +      "format": "date-time",
      +      "type": "string"
      +    },
      +    "exactShapePassed": {
      +      "type": "boolean"
      +    },
      +    "inconclusiveCases": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "missingRequiredCases": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "notEvaluatedByWalletPolicy": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "product": {
      +      "const": "samedaydesk-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"
      +          },
      +          "case": {
      +            "enum": [
      +              "intended",
      +              "missing_authorization",
      +              "wrong_operation",
      +              "duplicate_approved_action",
      +              "wrong_chain",
      +              "wrong_token_contract_or_program",
      +              "wrong_recipient",
      +              "wrong_amount",
      +              "wrong_function_or_instruction",
      +              "wrong_route_or_offer",
      +              "changed_protocol_challenge",
      +              "replay_or_reuse",
      +              "reordered_approved_actions",
      +              "mixed_unapproved_action",
      +              "wrong_fee_asset",
      +              "missing_validity"
      +            ],
      +            "type": "string"
      +          },
      +          "code": {
      +            "pattern": "^[A-Za-z0-9][A-Za-z0-9._:/-]{0,63}$",
      +            "type": "string"
      +          },
      +          "control": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "denialClass": {
      +            "enum": [
      +              "none",
      +              "policy",
      +              "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_provider_policy"
      +            ],
      +            "type": "string"
      +          },
      +          "providerNativeVerified": {
      +            "type": "boolean"
      +          },
      +          "required": {
      +            "type": "boolean"
      +          }
      +        },
      +        "required": [
      +          "case",
      +          "actual",
      +          "denialClass",
      +          "expected",
      +          "control",
      +          "required",
      +          "expectationMet",
      +          "providerNativeVerified",
      +          "finding"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "schemaVersion": {
      +      "const": "samedaydesk.wallet-policy-conformance.v1",
      +      "type": "string"
      +    },
      +    "standardSchemaVersion": {
      +      "const": "agent-payment-policy.wallet-policy-observation-report.v1",
      +      "type": "string"
      +    },
      +    "unsafeCases": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "schemaVersion",
      +    "standardSchemaVersion",
      +    "product",
      +    "evaluatedAt",
      +    "profile",
      +    "decision",
      +    "complete",
      +    "exactShapePassed",
      +    "results",
      +    "providerNativeVerified",
      +    "providerNativeUnverified",
      +    "notEvaluatedByWalletPolicy",
      +    "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.