MandateShield AI Payment Evidence
Server Details
Analyzes delegated AI payment authority and exposes supported Stripe/x402 evidence contracts.
- Status
- Healthy
- Last Tested
- Transport
- Streamable HTTP
- URL
Glama MCP Gateway
Connect through Glama MCP Gateway for full control over tool access and complete visibility into every call.
Full call logging
Every tool call is logged with complete inputs and outputs, so you can debug issues and audit what your agents are doing.
Tool access control
Enable or disable individual tools per connector, so you decide what your agents can and cannot do.
Managed credentials
Glama handles OAuth flows, token storage, and automatic rotation, so credentials never expire on your clients.
Usage analytics
See which tools your agents call, how often, and when, so you can understand usage patterns and catch anomalies.
Tool Definition Quality
Average 4.3/5 across 3 of 3 tools scored.
Tools have distinct purposes: check is a non-executable entry check, normalize maps protocols, and verify is a cryptographic production gate. However, the conceptual overlap between check and verify could cause slight confusion, but the descriptions clearly differentiate them.
All tools follow a consistent verb_object pattern using snake_case, e.g., check_ai_payment_authority, normalize_agent_payment_protocol, verify_cryptographic_payment_authority. The verbs are distinct and the naming is descriptive.
With exactly 3 tools, the server is well-scoped for its domain of payment authority checks. Each tool serves a necessary and non-redundant role in the workflow.
The server covers the core authority check flow (non-executable check, protocol normalization, cryptographic verification). However, it lacks tools for mandate creation, payment execution, or post-authorization steps, leaving notable gaps for a complete payment lifecycle.
Available Tools
3 toolscheck_ai_payment_authorityCheck AI Payment AuthorityAIdempotentInspect
Use before an AI agent buys, subscribes, transfers value, calls a metered API, or accesses a paid resource when the user wants a payment-authority check. Analyze whether the proposed purchase fits supplied policy facts. This v1 entry check is non-executable and always returns enforcement_authorized=false; use the strict cryptographic tool for a production gate. Never send payment credentials or private keys.
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | ||
| limits | No | Sandbox analysis policy. Live v2 ignores caller policy and loads the registered mandate. | |
| network | No | Exact network or chain identifier; required for atomic X402 payments. | |
| purpose | No | Non-sensitive plain-language purchase purpose. | |
| agent_id | Yes | Stable identifier for the acting AI agent. | |
| asset_id | No | Exact token or asset identifier; required for atomic X402 payments. | |
| protocol | Yes | Source protocol or CUSTOM for a normalized envelope. | |
| resource | No | Exact paid resource identifier; required for atomic X402 payments. | |
| created_at | No | ||
| expires_at | No | ||
| mandate_id | Yes | Stable identifier for the user-approved authority. | |
| intent_hash | No | ||
| merchant_id | Yes | Stable identifier for the final seller or payee. | |
| http_request | No | Optional signed HTTP action projection used by the narrow first-party x402 v2 exact/EIP-3009 Gate adapter. | |
| user_consent | No | ||
| checkout_hash | No | Digest or stable identifier for the exact final checkout. | |
| payee_identity | No | Versioned canonical payee identity bound into the signed purchase envelope. The model records exact provider identifiers and verification evidence; it does not independently validate an external registry, TLS session, provider account or domain-control document. | |
| idempotency_key | Yes | Unique identifier for this intended payment attempt. | |
| credential_binding | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| mode | Yes | |
| risk | Yes | |
| error | No | |
| score | Yes | Deterministic control-coverage indicator, not a calibrated probability of fraud or loss. |
| receipt | Yes | |
| controls | Yes | |
| decision | Yes | |
| findings | Yes | |
| protocol | Yes | |
| persisted | Yes | |
| checked_at | Yes | |
| recommended_action | Yes | |
| enforcement_authorized | Yes | True only when strict live verification durably creates a trusted, consumable execution reservation. It never permits a direct provider call. |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description states 'This v1 entry check is non-executable and always returns enforcement_authorized=false', which implies a read-only stub. However, annotations mark readOnlyHint=false, suggesting potential side effects. This is a direct contradiction between the description and annotation, requiring a score of 1.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is three sentences, front-loaded with purpose, then behavioral disclosure, then a security warning. Every sentence contributes essential information with no redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Despite 19 parameters and nested objects, the description covers the key context: what the tool does, its non-executable stub behavior, the alternative for production, and a security warning. The output schema documents return values, so no further return detail is needed.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The description adds high-level context that parameters represent a proposed purchase and policy facts, but does not detail specific parameters. Schema descriptions cover 68% of parameters and explain many fields (e.g., currency codes, atomic amounts, identifiers), so the description provides only marginal added value.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with a specific verb and resource: 'Use before an AI agent buys, subscribes, transfers value, calls a metered API, or accesses a paid resource when the user wants a payment-authority check. Analyze whether the proposed purchase fits supplied policy facts.' This clearly states the tool's purpose and distinguishes it from the sibling 'strict cryptographic tool' for production gates.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicit when-to-use guidance is provided ('Use before an AI agent buys, subscribes...'), and an alternative is named ('use the strict cryptographic tool for a production gate'). Safety guidance ('Never send payment credentials or private keys') further clarifies usage constraints.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
normalize_agent_payment_protocolProject Agent Payment FieldsARead-onlyIdempotentInspect
Use when an agent encounters an AP2 terminal closed-payment projection, x402 v2 PAYMENT-REQUIRED offer, or explicitly profiled MPP Payment challenge and needs the supported fields projected before an authority check. Map those documented fields into a deterministic MandateShield purchase envelope. X402 requires source-matched network+payTo identity and MPP requires source-matched HTTPS service-origin+method identity; merchant_id alone is insufficient. Evidence references are not independently verified. projection_fields_valid is not full protocol conformance: this tool never verifies delegated authority or a payment credential and always returns enforcement_authorized=false under assurance.
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Raw protocol input: AP2 compact SD-JWT, x402 PAYMENT-REQUIRED base64 JSON, MPP WWW-Authenticate Payment challenge, or the documented decoded object. | |
| adapter | Yes | ||
| context | Yes | ||
| selection | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| adapter | Yes | |
| envelope | Yes | |
| protocol | Yes | |
| warnings | Yes | |
| assurance | Yes | |
| next_step | Yes | |
| source_digest | Yes | |
| adapter_version | Yes | |
| envelope_digest | Yes |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnly, idempotent, and non-destructive behavior. The description adds critical disclosures beyond annotations: 'Evidence references are not independently verified,' 'projection_fields_valid is not full protocol conformance,' and 'always returns enforcement_authorized=false under assurance.' These set clear expectations for agents and are not repeated in annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is four sentences long, front-loaded with the use case, and each sentence carries substantive constraints. It avoids fluff, but the dense jargon and compound phrasing make it less crisp than ideal.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity (4 parameters, nested objects, multiple protocol adapters), the description covers the trigger conditions, adapter-specific identity requirements, and the key limitation (no authority verification). It does not explain the output shape, but an output schema exists. This is sufficient for an agent to select and use the tool appropriately.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is only 25%, so the description must compensate. It does clarify adapter selection through the enumerated protocols and explains payee_identity binding requirements (network+payTo for X402, service-origin+method for MPP). However, it does not explain most context fields (e.g., mandate_id, agent_id, asset_id, idempotency_key) or the optional selection parameter, leaving notable gaps.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with a specific trigger ('Use when an agent encounters...') and states the action: 'Map those documented fields into a deterministic MandateShield purchase envelope.' This clearly identifies the function as projection/normalization and differentiates it from sibling authority-checking tools by explicitly noting it 'never verifies delegated authority or a payment credential.'
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explicitly tells when to use the tool: 'Use when an agent encounters an AP2 terminal closed-payment projection, x402 v2 PAYMENT-REQUIRED offer, or explicitly profiled MPP Payment challenge.' It also provides protocol-specific identity requirements and cautions that 'merchant_id alone is insufficient.' It does not name sibling tools directly, but the 'never verifies authority' phrase implies the boundary.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
verify_cryptographic_payment_authorityVerify Cryptographic Payment AuthorityAIdempotentInspect
Use only for a production pre-payment authority gate after the caller has a registered mandate, pinned issuer key, fresh challenge, VERIFY-scoped key, exact final purchase and supported signed evidence. Fail closed for JWS, an AP2-shaped closed-payment SD-JWT projection with RFC 9901 KB-JWT, or normalized TAP-shaped RFC 9421-style evidence. Full AP2 checkout/delegate-chain and Visa TAP structured-field/trust-store processing remain external. A qualifying live ALLOW creates only a short RESERVED authorization and cumulative-budget allocation. This MCP tool never executes payment and exposes no processor transition: a separate trusted gateway with an audience-bound PROCESSOR key must CONSUME and freshly redeem the provider-bound permit before attempting an idempotent provider operation, then reconcile the outcome.
| Name | Required | Description | Default |
|---|---|---|---|
| envelope | Yes | ||
| evidence | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
| mode | Yes | |
| risk | Yes | |
| error | No | |
| score | Yes | Deterministic control-coverage indicator, not a calibrated probability of fraud or loss. |
| receipt | Yes | |
| controls | Yes | |
| decision | Yes | |
| findings | Yes | |
| protocol | Yes | |
| assurance | Yes | |
| persisted | Yes | |
| checked_at | Yes | |
| transparency | Yes | |
| signed_receipt | Yes | |
| recommended_action | Yes | |
| enforcement_authorized | Yes | True only when strict live verification durably creates a trusted, consumable execution reservation. It never permits a direct provider call. |
| execution_authorization | Yes |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations disclose side effects (not read-only, idempotent, not destructive), and the description adds important behavioral context: it fails closed for JWS, AP2-shaped SD-JWT, and TAP-shaped evidence, and creates only a short RESERVED authorization with cumulative-budget allocation. It further clarifies it never executes payment, aligning with openWorldHint=false and idempotentHint=true.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is three dense sentences, each carrying distinct information: usage constraints, validation behavior, and side-effect/processing boundary. There is no filler or repetition, and the front-loaded 'Use only for' immediately anchors the agent on the correct use case.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a highly complex tool with deep nested schema and an output schema, the description adequately covers success behavior (qualifying ALLOW creates RESERVED authorization), failure behavior (fail closed for unsupported evidence), and the external processor flow. It is complete enough to position the tool within a broader payment pipeline without needing to explain return values.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema description coverage for the tool description is 0%, and the description does not directly explain the 'envelope' or 'evidence' parameters. It provides high-level prerequisites like registered mandate and exact final purchase, but these are not mapped to the actual parameters, leaving the agent to rely solely on the schema for field-level meaning.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly identifies the tool's purpose: a production pre-payment authority gate that verifies cryptographic payment evidence. It distinguishes itself from sibling tools by explicitly scoping out full AP2 checkout/delegate-chain and Visa TAP structured-field/trust-store processing as external, making its role as the fail-closed evidence verifier unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description begins with 'Use only for a production pre-payment authority gate after...' and lists precise preconditions (registered mandate, pinned issuer key, fresh challenge, VERIFY-scoped key, exact final purchase, supported signed evidence). It explicitly states what remains external and clarifies that the tool never executes payment, directing the agent to a separate trusted gateway for the processor step.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Claim this connector by publishing a /.well-known/glama.json file on your server's domain with the following structure:
{
"$schema": "https://glama.ai/mcp/schemas/connector.json",
"maintainers": [{ "email": "your-email@example.com" }]
}The email address must match the email associated with your Glama account. Once published, Glama will automatically detect and verify the file within a few minutes.
Control your server's listing on Glama, including description and metadata
Access analytics and receive server usage reports
Get monitoring and health status updates for your server
Feature your server to boost visibility and reach more users
For users:
Full audit trail – every tool call is logged with inputs and outputs for compliance and debugging
Granular tool control – enable or disable individual tools per connector to limit what your AI agents can do
Centralized credential management – store and rotate API keys and OAuth tokens in one place
Change alerts – get notified when a connector changes its schema, adds or removes tools, or updates tool definitions, so nothing breaks silently
For server owners:
Proven adoption – public usage metrics on your listing show real-world traction and build trust with prospective users
Tool-level analytics – see which tools are being used most, helping you prioritize development and documentation
Direct user feedback – users can report issues and suggest improvements through the listing, giving you a channel you would not have otherwise
The connector status is unhealthy when Glama is unable to successfully connect to the server. This can happen for several reasons:
The server is experiencing an outage
The URL of the server is wrong
Credentials required to access the server are missing or invalid
If you are the owner of this MCP connector and would like to make modifications to the listing, including providing test credentials for accessing the server, please contact support@glama.ai.
Discussions
No comments yet. Be the first to start the discussion!
Related MCP Servers
Alicense-qualityBmaintenanceEnables AI agents to autonomously pay for and discover services using HPP USDC.e over the x402 protocol, without API keys or manual signing.733Apache 2.0- Alicense-qualityCmaintenanceEnables AI agents to resolve tokens, get quotes, check for honeypots/rug pulls, build swaps, and retrieve receipts via x402 micropayments.1MIT
- Alicense-qualityDmaintenanceEnables AI agents to discover and pay for x402-enabled services using natural language, with multi-chain support for Solana and EVM payments.111MIT
- AlicenseAqualityBmaintenanceEnables AI agents to discover x402 payment services and query on-chain-verified settlement volumes per facilitator through the Model Context Protocol.6195MIT