addrbookFor publishers
← The evidence ledger

Evidence row 987863

Observed , by probe.mcp/1.

Kind
mcp.tools
About
endpoint 48e71a55-f42e-4f69-8c3d-5129832f4409
Recorded
Previous row
#720833
Body SHA-256
5c1338f9af4a0332686e59a658ae9890efa052891879ab30f4d9740669e25ac0
Leaf
0xd1450777e59f4d76277f38108774ed890e3b5dc3f3c20c043827a6a7dbc2865d

What was observed

{
  "count": 9,
  "tools": [
    {
      "description": "Run a deterministic 90-day B2B revenue leakage and chargeback readiness audit across Stripe subscriptions, AI/API usage telemetry events, and open disputes. Executes as a 100% read-only, stateless diagnostic with zero external Stripe mutations. Returns structuredContent containing ok, mode, statelessEphemeralAudit, tenantId, dunningGracePeriodDays, costPerEventCents, and audit (scannedCustomers, scannedEvents, ghostLeakEventsCount, affectedCustomersCount, estimatedBleedUsd, disputesEligibleForAutoEvidence). Use this tool for portfolio-wide multi-customer audits; use revclamp_evaluate_ghost_usage for single-customer entitlement checks or revclamp_stage_stripe_dispute_ce3 to build a single dispute's Visa CE 3.0 evidence bundle.",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "costPerEventCents": {
            "description": "Estimated marginal compute or API cost per leaked usage event in integer USD cents (valid range: 1 to 100000, default: 142 i.e. $1.42/event).",
            "maximum": 100000,
            "minimum": 1,
            "type": "integer"
          },
          "customers": {
            "description": "Optional array of up to 50 Stripe customer snapshots (each with id like 'cus_123', optional email, subscriptions array or list object, and subscriptionsHasMore: false). Omit to run against workspace telemetry or deterministic sandbox fixtures.",
            "type": "array"
          },
          "demo": {
            "description": "Optional simulation flag (boolean) for deterministic sample audit preview.",
            "type": "boolean"
          },
          "disputes": {
            "description": "Optional array of up to 50 Stripe dispute objects (each with id like 'du_123', customer, amount in cents, reason such as 'fraudulent', and status such as 'needs_response').",
            "type": "array"
          },
          "dunningGracePeriodDays": {
            "description": "Custom dunning grace window in integer days (valid range: 0 to 14, default: 3) allowed after latest_invoice_failed_at before flagging past_due subscriptions as unpaid ghost usage.",
            "maximum": 14,
            "minimum": 0,
            "type": "integer"
          },
          "usageEvents": {
            "description": "Optional array of up to 200 product/AI API usage telemetry events (each with stripe_customer_id or email, event_name, and occurredAtSec Unix timestamp in seconds).",
            "type": "array"
          }
        },
        "type": "object"
      },
      "name": "revclamp_audit_revenue_leakage"
    },
    {
      "description": "Deterministically calculate monthly and annual B2B margin savings using exact integer USD cents when replacing a 25%-30% contingency chargeback agency with RevClamp flat-rate 0% commission plans ($19 Starter, $59 Growth, $199 Scale). Evaluates monthlyWonDisputeUsd, monthlyGhostBleedUsd, contingencyTakeRatePercent, and monthlyUsageEvents to recommend the optimal tier. Returns structuredContent containing ok, mode, statelessEphemeralAudit, tenantId, recommendedTier, annualNetMarginSavedUsd, roiMultiple, and calculation.",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "contingencyTakeRatePercent": {
            "description": "Competitor chargeback agency contingency commission percentage (valid range: 1 to 50, default: 25 for 25% take-rate tools).",
            "maximum": 50,
            "minimum": 1,
            "type": "number"
          },
          "monthlyGhostBleedUsd": {
            "description": "Monthly unpaid AI/API or SaaS usage bleed stopped by RevClamp basil entitlement guards in USD (valid range: 0 to 10000000, default: 600).",
            "maximum": 10000000,
            "minimum": 0,
            "type": "number"
          },
          "monthlyUsageEvents": {
            "description": "Monthly verified usage events across your workspace (integer 0 to 50000000, default: 250000) used to recommend Starter (<=100k), Growth (<=1M), or Scale (<=5M).",
            "maximum": 50000000,
            "minimum": 0,
            "type": "integer"
          },
          "monthlyWonDisputeUsd": {
            "description": "Monthly won Stripe chargeback volume in USD (valid range: 0 to 10000000, default: 10000) subject to legacy agency take-rate fees.",
            "maximum": 10000000,
            "minimum": 0,
            "type": "number"
          }
        },
        "type": "object"
      },
      "name": "revclamp_calculate_roi_and_plan_fit"
    },
    {
      "description": "Evaluate whether a specific customer's AI or API usage event constitutes unpaid ghost usage across multi-subscription Stripe 2025-03-31.basil state, enforcing fail-closed pagination (has_more must be explicitly false) and configurable 0-14 day dunning grace windows. Executes as a stateless, read-only entitlement evaluator with zero side effects. Returns structuredContent containing ok, mode, statelessEphemeralAudit, tenantId, and evaluation (isGhostLeak, isGhostUsage, reason). Use this tool for real-time per-customer entitlement gating; use revclamp_audit_revenue_leakage for batch multi-customer portfolio audits.",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "customerId": {
            "description": "Stripe customer identifier to evaluate (format example: 'cus_9s6XKzkNRiz8i3', max 64 chars).",
            "type": "string"
          },
          "demo": {
            "description": "Optional simulation flag (boolean) for deterministic ghost-usage preview.",
            "type": "boolean"
          },
          "dunningGracePeriodDays": {
            "description": "Dunning grace window in integer days (valid range: 0 to 14, default: 3) after latest_invoice_failed_at during which past_due subscriptions remain entitled.",
            "maximum": 14,
            "minimum": 0,
            "type": "integer"
          },
          "occurredAtSec": {
            "description": "Optional alias for usageTimestampSec: Unix epoch timestamp in integer seconds (e.g. 1761264000) when the usage event occurred (used when usageTimestampSec is omitted).",
            "type": "integer"
          },
          "subscriptions": {
            "description": "Required Stripe customer subscriptions payload: either a Stripe list object ({ data: [...], has_more: false }) or a raw array of up to 50 subscription objects containing id, status ('active', 'trialing', 'past_due', 'canceled', 'unpaid'), current_period_end, or items.data[].current_period_end in Unix seconds."
          },
          "subscriptionsHasMore": {
            "description": "Pagination completeness flag (boolean). Must be explicitly set to false when passing a raw subscriptions array so RevClamp can verify no active subscription was truncated on a later page.",
            "type": "boolean"
          },
          "usageEvent": {
            "description": "Optional metered usage event object containing customer_id (or stripe_customer_id), event_name, and occurred_at (or occurred_at_sec).",
            "type": "object"
          },
          "usageTimestampSec": {
            "description": "Optional Unix epoch timestamp in integer seconds (e.g. 1761264000) when the AI/API usage event occurred (defaults to current server Unix timestamp if omitted).",
            "type": "integer"
          }
        },
        "required": [
          "subscriptions"
        ],
        "type": "object"
      },
      "name": "revclamp_evaluate_ghost_usage"
    },
    {
      "description": "Deterministically lint a Stripe dispute evidence[access_activity_log] payload against Stripe's 18,000 UTF-16 code unit (String.prototype.length) ceiling, UTF-8 byte length, non-destructive --- BEGIN REVCLAMP CE3 EVIDENCE --- / --- END REVCLAMP CE3 EVIDENCE --- (or [RevClamp Verified Product Usage Log] / [/RevClamp Verified Product Usage Log]) delimiter markers, existing merchant note preservation, 17,922/17,920-char fixed wrapper capacity threshold (SKIP_POST_PRESERVE_DRAFT), and Visa Compelling Evidence 3.0 (CE 3.0) prior-charge (>= 2) + IP/device overlap qualification. Returns structuredContent containing ok, mode, statelessEphemeralAudit, tenantId, lint, utf16CodeUnits, maxUtf16Ceiling, remainingUtf16Units, withinCeiling, utf8Bytes, nonDestructiveMarkersPresent, merchantNotesPreserved, merchantNotesUtf16CodeUnits, fixedWrapperUtf16CodeUnits, merchantLogAtCapacity, stagingActionWhenAtCapacity, priorMatchedCount, hasIpMatch, hasDeviceMatch, ce3RubricPassed, and overallVerdict.",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "evidenceLogText": {
            "description": "Merged or candidate Stripe dispute evidence[access_activity_log] payload evaluated against the 18,000 UTF-16 code unit ceiling and non-destructive delimiter markers.",
            "maxLength": 30000,
            "type": "string"
          },
          "existingMerchantNotes": {
            "description": "Existing human AE/support notes inside evidence[access_activity_log] that must be preserved.",
            "maxLength": 30000,
            "type": "string"
          },
          "hasDeviceMatch": {
            "description": "Whether the disputed charge device_id fingerprint matches the historical undisputed charges.",
            "type": "boolean"
          },
          "hasIpMatch": {
            "description": "Whether the disputed charge IPv4/IPv6 address matches the historical undisputed charges.",
            "type": "boolean"
          },
          "preset": {
            "description": "Scenario preset to evaluate when custom evidenceLogText is omitted (default: 'valid_ce3_non_destructive').",
            "enum": [
              "valid_ce3_non_destructive",
              "utf16_overflow_19k",
              "missing_device_and_overwrite_risk",
              "custom"
            ],
            "type": "string"
          },
          "priorMatchedCount": {
            "description": "Number of prior undisputed Stripe charges (120d-365d old) with matching customer_id and IP/device fingerprint (Visa CE 3.0 requires >= 2).",
            "maximum": 100,
            "minimum": 0,
            "type": "integer"
          }
        },
        "type": "object"
      },
      "name": "revclamp_lint_dispute_evidence"
    },
    {
      "description": "Reconcile B2B wholesale Net-15, Net-30, and Net-60 invoice deposits, partial payments, and credit notes using exact integer minor-unit (EUR/USD cent) arithmetic with zero IEEE-754 floating-point drift. Executes as a pure, stateless, read-only financial reconciliation function. Returns structuredContent containing ok, mode, statelessEphemeralAudit, tenantId, and reconciliation (state, status, fulfillmentHold, releaseHoldAction, requiredDepositCents, remainingBalanceCents, creditDueCents, overpaidWarning, orderTag). Use this tool for B2B wholesale order deposit gating and Net-terms balance calculation; use revclamp_validate_eu_vat_vies for cross-border EU VAT number validation.",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "creditNoteCents": {
            "description": "Optional post-invoice credit notes or return adjustments in integer cents (valid range: 0 to totalOrderCents, default: 0; singular alias for creditNotesCents).",
            "minimum": 0,
            "type": "integer"
          },
          "creditNotesCents": {
            "description": "Optional post-invoice credit notes or return adjustments in integer cents (valid range: 0 to totalOrderCents, default: 0; plural alias for creditNoteCents).",
            "minimum": 0,
            "type": "integer"
          },
          "daysElapsedSinceInvoice": {
            "description": "Optional elapsed integer days since invoice issuance (valid range: 0 to 3650, default: 5).",
            "maximum": 3650,
            "minimum": 0,
            "type": "integer"
          },
          "demo": {
            "description": "Optional sandbox flag (boolean).",
            "type": "boolean"
          },
          "orderId": {
            "description": "B2B wholesale order or invoice identifier (e.g. 'gid://shopify/Order/908812' or 'ORD-2026-9088', default: 'ord_local_b2b_01', max 64 chars).",
            "type": "string"
          },
          "orderTotalCents": {
            "description": "Alias for totalOrderCents: gross invoice total in positive integer minor currency units / cents (must be > 0).",
            "minimum": 1,
            "type": "integer"
          },
          "paidAmountCents": {
            "description": "Required cumulative amount collected from the buyer in non-negative integer cents (e.g. 75000 for 750.00 EUR; must be >= 0).",
            "minimum": 0,
            "type": "integer"
          },
          "paymentTermsDays": {
            "description": "Optional B2B net payment terms maturity window in integer days (allowed values: 15, 30, or 60 for Net-15, Net-30, or Net-60; default: 30).",
            "enum": [
              15,
              30,
              60
            ],
            "type": "integer"
          },
          "requiredDepositCents": {
            "description": "Optional explicit upfront deposit threshold in integer cents (valid range: 0 to effectiveTotalCents). Overrides requiredDepositPercent when provided.",
            "minimum": 0,
            "type": "integer"
          },
          "requiredDepositPercent": {
            "description": "Optional upfront deposit percentage required before releasing warehouse fulfillment hold (valid range: 0 to 100, default: 30 i.e. 30% upfront deposit).",
            "maximum": 100,
            "minimum": 0,
            "type": "integer"
          },
          "toleranceCents": {
            "description": "Optional rounding/FX reconciliation tolerance in integer cents (valid range: 0 to min(500, 1% of totalOrderCents), default: 0).",
            "maximum": 500,
            "minimum": 0,
            "type": "integer"
          },
          "totalOrderCents": {
            "description": "Gross invoice total in positive integer minor currency units / cents (e.g. 250000 for 2,500.00 EUR; must be > 0).",
            "minimum": 1,
            "type": "integer"
          }
        },
        "required": [
          "paidAmountCents"
        ],
        "type": "object"
      },
      "name": "revclamp_reconcile_b2b_net_terms"
    },
    {
      "description": "Deterministically evaluate an ordered or out-of-order sequence of 1-10 Stripe/Shopify/RevClamp subscription lifecycle webhooks against a 72-hour idempotency deduplication Set (eventId), a configurable idempotencyWindowSec (60s-2592000s, default: 259200s / 72h), and a monotonic transition timestamp guard (event.createdSec >= lastAppliedCreatedSec). Compares RevClamp's monotonic FSM against a naive overwrite-on-arrival handler to detect resurrected canceled subscriptions, stale tier downgrades, and duplicate retry side-effects. Returns structuredContent containing ok, mode, statelessEphemeralAudit, tenantId, simulation, steps, finalStatus, finalTier, finalEntitlementDecision, naiveFinalStatus, and naiveHandlerBug.",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "demo": {
            "description": "Optional sandbox flag to run the preset replay simulation.",
            "type": "boolean"
          },
          "events": {
            "description": "Optional custom array of 1 to 10 webhook events ({ eventId, eventType, createdSec, subscriptionStatus, tier, currentPeriodEndSec }) in arrival order.",
            "items": {
              "additionalProperties": false,
              "properties": {
                "arrivedAtSec": {
                  "description": "Optional arrival timestamp in Unix seconds for per-event deduplication window evaluation.",
                  "maximum": 4102444800,
                  "minimum": 946684800,
                  "type": "integer"
                },
                "arrived_at_sec": {
                  "description": "Snake_case alias for arrivedAtSec in Unix seconds.",
                  "maximum": 4102444800,
                  "minimum": 946684800,
                  "type": "integer"
                },
                "created": {
                  "description": "Alias for createdSec when passing Stripe Unix created timestamps.",
                  "maximum": 4102444800,
                  "minimum": 946684800,
                  "type": "integer"
                },
                "createdSec": {
                  "description": "Provider event creation timestamp in Unix seconds (must be <= nowSec + 34560000 / 400 days) compared monotonically against lastAppliedCreatedSec.",
                  "maximum": 4102444800,
                  "minimum": 946684800,
                  "type": "integer"
                },
                "currentPeriodEndSec": {
                  "description": "Optional subscription current_period_end timestamp in Unix seconds.",
                  "maximum": 4102444800,
                  "minimum": 946684800,
                  "type": "integer"
                },
                "eventId": {
                  "description": "Unique provider webhook event ID (e.g. evt_cancel_final_1050) checked against the 72-hour deduplication Set.",
                  "maxLength": 96,
                  "minLength": 1,
                  "pattern": "^[A-Za-z0-9_.:-]{1,96}$",
                  "type": "string"
                },
                "eventType": {
                  "description": "Webhook event type string (e.g. customer.subscription.deleted, customer.subscription.updated, invoice.payment_failed).",
                  "maxLength": 96,
                  "minLength": 1,
                  "pattern": "^[A-Za-z0-9_.-]{1,96}$",
                  "type": "string"
                },
                "id": {
                  "description": "Alias for eventId when passing raw Stripe/Shopify event objects.",
                  "maxLength": 96,
                  "minLength": 1,
                  "pattern": "^[A-Za-z0-9_.:-]{1,96}$",
                  "type": "string"
                },
                "status": {
                  "description": "Alias for subscriptionStatus.",
                  "enum": [
                    "active",
                    "trialing",
                    "past_due",
                    "paused",
                    "canceled",
                    "cancelled",
                    "unpaid",
                    "cancel_at_period_end",
                    "expired"
                  ],
                  "type": "string"
                },
                "subscriptionStatus": {
                  "description": "Subscription lifecycle status carried by this webhook event.",
                  "enum": [
                    "active",
                    "trialing",
                    "past_due",
                    "paused",
                    "canceled",
                    "cancelled",
                    "unpaid",
                    "cancel_at_period_end",
                    "expired"
                  ],
                  "type": "string"
                },
                "target_status": {
                  "description": "Snake_case alias for subscriptionStatus.",
                  "enum": [
                    "active",
                    "trialing",
                    "past_due",
                    "paused",
                    "canceled",
                    "cancelled",
                    "unpaid",
                    "cancel_at_period_end",
                    "expired"
                  ],
                  "type": "string"
                },
                "tier": {
                  "description": "Optional RevClamp plan tier associated with the subscription state (default: 'growth_59').",
                  "enum": [
                    "free",
                    "starter_19",
                    "growth_59",
                    "scale_199"
                  ],
                  "type": "string"
                },
                "type": {
                  "description": "Alias for eventType (defaults to 'customer.subscription.updated' when omitted).",
                  "maxLength": 96,
                  "minLength": 1,
                  "pattern": "^[A-Za-z0-9_.-]{1,96}$",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "maxItems": 10,
            "minItems": 1,
            "type": "array"
          },
          "idempotencyWindowSec": {
            "description": "Deduplication and replay-acceptance window in seconds (valid range: 60 to 2592000, default: 259200 for 72 hours).",
            "maximum": 2592000,
            "minimum": 60,
            "type": "integer"
          },
          "nowSec": {
            "description": "Reference evaluation timestamp in Unix seconds used to check the 72-hour idempotency window.",
            "maximum": 4102444800,
            "minimum": 946684800,
            "type": "integer"
          },
          "scenarioPreset": {
            "description": "Scenario preset to evaluate when custom events are omitted (default: 'out_of_order_stale_update_after_cancel').",
            "enum": [
              "out_of_order_stale_update_after_cancel",
              "duplicate_event_id_replay_72h",
              "valid_monotonic_upgrade_sequence",
              "expired_72h_window_stale_event",
              "custom"
            ],
            "type": "string"
          }
        },
        "type": "object"
      },
      "name": "revclamp_simulate_webhook_replay"
    },
    {
      "description": "Evaluate Visa Compelling Evidence 3.0 (CE 3.0) qualification across 120-to-365-day historical charges (requiring at least 2 settled, non-refunded, non-disputed prior transactions sharing IP address, device fingerprint, or billing email) and assemble a non-destructive Stripe dispute evidence draft with submit hardcoded to false. Executes as a pure read-only staging computation that never auto-submits to card networks. Returns structuredContent containing ok, mode, statelessEphemeralAudit, tenantId, submitForcedFalse, ce3Qualification, and drawer (including stripeUpdateParams with submit: false and merged access_activity_log). Use this tool for single-dispute CE 3.0 qualification and evidence staging; use revclamp_audit_revenue_leakage for portfolio-wide dispute readiness counts.",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "customerId": {
            "description": "Stripe customer identifier associated with the disputed charge (format example: 'cus_enterprise_88', default: 'cus_mcp_enterprise_01', max 64 chars).",
            "type": "string"
          },
          "demo": {
            "description": "Optional simulation flag (boolean) to stage a labeled sample dispute preview.",
            "type": "boolean"
          },
          "disputeId": {
            "description": "Stripe dispute identifier being staged (format example: 'du_1QxyzEnterpriseDispute01', default: 'du_mcp_staged_01', max 64 chars).",
            "type": "string"
          },
          "disputeReason": {
            "description": "Stripe dispute reason code (e.g. 'fraudulent', 'unrecognized', 'subscription_canceled', 'product_unacceptable', 'general'; default: 'fraudulent'; Visa CE 3.0 applies to 'fraudulent' disputes).",
            "type": "string"
          },
          "disputedTransaction": {
            "description": "Optional disputed charge snapshot object containing id (e.g. 'ch_disputed_01'), occurredAtSec (Unix seconds), customer_id, email, ip_address, and device_id.",
            "type": "object"
          },
          "existingAccessActivityLog": {
            "description": "Optional alias for existingUncategorizedText: existing merchant evidence notes in Stripe evidence.access_activity_log (up to 18,000 chars) to preserve via append-only merge.",
            "type": "string"
          },
          "existingUncategorizedText": {
            "description": "Optional existing merchant evidence notes in Stripe evidence.uncategorized_text or access_activity_log (up to 18,000 chars) to preserve via append-only merge without overwriting.",
            "type": "string"
          },
          "priorTransactions": {
            "description": "Optional array of up to 1000 historical Stripe charge objects (each with id, status: 'succeeded', disputed: false, refunded: false, occurredAtSec 120-365 days prior to disputedTransaction, email, ip_address, and device_id).",
            "type": "array"
          },
          "usageEvents": {
            "description": "Optional array of up to 200 customer product/API usage telemetry events (each with occurredAtSec Unix seconds, stripe_customer_id, and event_name) for append-only access_activity_log staging.",
            "type": "array"
          }
        },
        "type": "object"
      },
      "name": "revclamp_stage_stripe_dispute_ce3"
    },
    {
      "description": "Normalize EU-27 and Northern Ireland (XI) B2B VAT identifiers (including mandatory Greece ISO-3166 GR to EL prefix normalization) and evaluate cross-border 0% VAT reverse-charge eligibility, VIES consultation evidence, or MS_UNAVAILABLE circuit-breaker fulfillment hold actions. Read-only and non-destructive; supports deterministic simulation modes ('VALID', 'INVALID', 'MS_UNAVAILABLE') or real-time European Commission VIES SOAP/REST lookup ('LIVE'). Returns structuredContent containing ok, mode, statelessEphemeralAudit, simulatedViesLookup, tenantId, normalizedVat, reverseChargeEligible, and viesDecision (status, action, zeroRateAllowed, consultationId). Use this tool for EU/XI VAT tax compliance; use revclamp_reconcile_b2b_net_terms for wholesale Net-15/30/60 deposit and credit-note accounting.",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "buyerVatId": {
            "description": "Required buyer EU or Northern Ireland VAT registration number to normalize and validate (e.g. 'DE123456789', 'GR123456789', 'NL123456789B01', 'XI123456789', max 40 chars).",
            "type": "string"
          },
          "consultationNumber": {
            "description": "Optional VIES requester consultation reference number (e.g. 'WAPIAAAAW998877', max 64 chars) to attach to deterministic 'VALID' mode tax audit records.",
            "type": "string"
          },
          "demo": {
            "description": "Optional simulation flag (boolean) for deterministic VIES gateway preset evaluation.",
            "type": "boolean"
          },
          "sellerCountry": {
            "description": "Two-letter EU-27 or XI member state prefix of the merchant's dispatch warehouse (e.g. 'DE', 'NL', 'FR', 'EL', 'XI'; 'GR' is automatically normalized to 'EL'; default: 'DE').",
            "type": "string"
          },
          "viesMode": {
            "description": "VIES evaluation mode: 'FORMAT_ONLY' (deterministic EU/XI syntax validation without consultation), 'VALID' (deterministic active VAT simulation, default), 'INVALID' (deterministic rejected VAT simulation), 'MS_UNAVAILABLE' or 'GLOBAL_MAX_CONCURRENT_REQ' (deterministic member-state outage circuit-breaker simulation), or 'LIVE' (real-time European Commission VIES lookup).",
            "enum": [
              "FORMAT_ONLY",
              "VALID",
              "INVALID",
              "MS_UNAVAILABLE",
              "GLOBAL_MAX_CONCURRENT_REQ",
              "LIVE"
            ],
            "type": "string"
          }
        },
        "required": [
          "buyerVatId"
        ],
        "type": "object"
      },
      "name": "revclamp_validate_eu_vat_vies"
    },
    {
      "description": "Generate and verify canonical Stripe-Signature (t=<unix>,v1=<hex_sha256>), X-Shopify-Hmac-Sha256 (<base64_sha256>), and X-RevClamp-Signature (t=<unix>,v1=<hex_sha256>) headers over exact UTF-8 webhook payload bytes using crypto.timingSafeEqual and a 300-second replay window guard. Enforces a Zero-Trust guard that blocks known live/production credential patterns (sk_live_, rk_live_, non-test whsec_..., shpss_..., shpat_..., rg_live_, rc_live_, AKIA..., and PEM private keys) with -32602 LIVE_SECRET_FORBIDDEN_IN_SANDBOX. Returns structuredContent containing ok, mode, statelessEphemeralAudit, tenantId, and verification (provider, verificationMode, headerName, generatedHeader, expectedSignature, signatureValid, verificationReason, timingSafeCompared, replayWindowApplicable, timestampSec, timestampSkewSeconds, toleranceSeconds, withinReplayWindow, payloadByteLength, payloadSha256, commonIntegrationTrap). Use this tool to debug webhook signature mismatches and replay skew.",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "demo": {
            "description": "Optional sandbox flag; uses synthetic defaults when provider, secret, or rawPayload are omitted.",
            "type": "boolean"
          },
          "provider": {
            "description": "Webhook signature provider scheme to evaluate: 'stripe' (Stripe-Signature t=<sec>,v1=<hex>, default), 'shopify' (X-Shopify-Hmac-Sha256 Base64 raw UTF-8 HMAC), or 'revclamp' (X-RevClamp-Signature t=<sec>,v1=<hex>).",
            "enum": [
              "stripe",
              "shopify",
              "revclamp"
            ],
            "type": "string"
          },
          "rawPayload": {
            "description": "Exact unparsed UTF-8 webhook request body string (up to 16,384 chars) used to compute the canonical SHA-256 HMAC digest. Defaults to a provider-specific sample JSON event if omitted.",
            "type": "string"
          },
          "secret": {
            "description": "Synthetic or test webhook signing secret (default: 'whsec_test_revclamp_sandbox_secret_2026', max 256 chars, or comma-separated rotation secrets). Live production secrets (sk_live_, rk_live_, non-test whsec_..., shpss_..., shpat_..., rg_live_, rc_live_, AKIA..., and PEM private keys) are rejected.",
            "type": "string"
          },
          "secrets": {
            "description": "Optional array of 1 to 5 synthetic/test webhook signing secrets (each <= 256 chars) to evaluate during rolling webhook secret rotation.",
            "items": {
              "type": "string"
            },
            "maxItems": 5,
            "type": "array"
          },
          "signatureHeader": {
            "description": "Optional supplied HTTP signature header value to verify via crypto.timingSafeEqual (e.g. 't=1760000000,v1=...' or Base64 digest, max 512 chars). Omit to run in GENERATE_AND_SELF_VERIFY mode.",
            "type": "string"
          },
          "timestampSec": {
            "description": "Optional Unix epoch timestamp in integer seconds (valid range: 1 to 9999999999; defaults to current server Unix timestamp) used when generating or verifying timestamped Stripe/RevClamp headers.",
            "maximum": 9999999999,
            "minimum": 1,
            "type": "integer"
          },
          "toleranceSec": {
            "description": "Optional replay window tolerance in integer seconds (valid range: 1 to 3600, default: 300).",
            "maximum": 3600,
            "minimum": 1,
            "type": "integer"
          }
        },
        "type": "object"
      },
      "name": "revclamp_verify_webhook_signature"
    }
  ]
}

What the leaf hashes

{"body":"5c1338f9af4a0332686e59a658ae9890efa052891879ab30f4d9740669e25ac0","id":987863,"kind":"mcp.tools","method":"probe.mcp/1","observed_us":1793242188357264,"prev":720833,"subject":"48e71a55-f42e-4f69-8c3d-5129832f4409","subject_kind":"endpoint"}

Proof

Fold these into the leaf in order, hashing each sorted pair with keccak256, to reach the root of (242798 rows).

  1. 0xd14615cf56e075a5080b9ec0dbd935cc44b08daaa72e67a9d232cf1da610c714
  2. 0xedeaa35265a47148ac7e16528a7796bbd41aa8a60a23c664b0278d42188d9ada
  3. 0xec6ff7dee89afea501a34d2b2ed0d0cf21d04f7ce6b27bb9afcbcdc76678b0be
  4. 0x1d3829db8c0a228abde05b6d93c0977f5894c5c51b4ef824bcad20a5b1ca2bab
  5. 0x93dfc4ef4c272aa23e2aceb57667fc72a903d907eda2b95b9d8fdc01cfca79a0
  6. 0xcc23ec8d34ad202b779c52c6ec24b34a542f608cef881694864ac7a1c7d284f2
  7. 0x1a2cc7a35d8e5a35a0885f7b80b01cbd15e17e246879ce0739c9ba2785ab0eda
  8. 0xbd95cb0222496c595048dc09692a455b2b49d973b848cd77088eeea0b06dbae5
  9. 0x81d47c99fca47788adb622a49082099ad745cc8bd24e7d3b66bb377cd81210f6
  10. 0x333ca51a3c441dc0137872acd0c6dd09098c3ef7e8eaf7e45aa518f92685fe96
  11. 0xc97f9ca1690a256b5313a10010b4ea8484679d0abc57b41f3d92c8da489beb10
  12. 0xd42c3cf08d79b560e8593d38317f3aa803bf452a29e5aef441985ce52af98494
  13. 0xbf8fb9ae04cd855672b7933285af02945215feadfca3baf523311e54a3b873ab
  14. 0xc5f320d911e4e74a5ef306d3473fe072ea90372c9b9d8902795503f6d18cc307
  15. 0xa7d3fa0a08edea990614977b51a6b3289c357a88d8ca06dcbfe67415a017c0e7
  16. 0xa034ebc8d117fbf1ed466b70baa0478bf213b743e1a41cba1d2da7a9f310184d
  17. 0x1597ec94933260048e5e583aff1ad0fd44cc49efcd0a994091ed5db4924d7b02
  18. 0xe01539ac4c9f9cdf265a9e5c6d99c8da11e70ff0c7175fb23e402d33b9d79785
Day root
0xc050555c6b023f2aefb6536efb9f0760b92c30a0d06c572b7daf63db259ea17c
Chained
0x4cde8bae2042512e1bec11650628f0293556311cc4ea74d99ffddf02b671a7d6
Published
On Arc Testnet, block 69753317: 0x9e85c340732f416e431b111fae72f7624870125f7f379af2732eb6c2ba8cf6a1

How to check it · This row as JSON