Skip to main content
Glama

Webhook signature verifier

webhook-verify
Read-only

Verifies Stripe, GitHub, Slack, Shopify or generic HMAC-SHA256 webhook signatures exactly as the provider computes them, with timestamp tolerance. Returns { provider, valid, timestamp?, age_s?, within_tolerance? } Price: 1 credit (1 credit = 1 US cent) per successful call; input that does not match the schema is rejected before billing.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "provider": "<provider>",
      "secret": "<secret>",
      "payload": "<payload>",
      "signature": "<signature>"
    },
    "name": "webhook-verify"
  }
}

Input Schema

NameRequiredDescriptionDefault
secretYesWebhook signing secret. Use a test secret; it is not stored.
payloadYesRaw request body exactly as received.
providerYesSignature scheme.
signatureYesSignature header value (Stripe-Signature, X-Hub-Signature-256, X-Slack-Signature, X-Shopify-Hmac-Sha256, or hex/base64).
timestampNoSlack only: X-Slack-Request-Timestamp.
tolerance_sNoAllowed clock skew for Stripe and Slack, default 300.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Beyond the readOnlyHint/openWorldHint annotations it discloses the return shape, the timestamp-tolerance concept, and the billing model (1 credit per successful call, schema-invalid input rejected before billing). That cost and failure-billing detail is genuinely useful context annotations cannot convey. It stops short of stating failure modes for an invalid signature or that no secret is persisted, which lives only in the schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with purpose, then return shape, then cost — a sensible order with no filler. The single-clause billing sentence packs two facts efficiently. It is dense but every sentence carries information an agent needs.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description correctly supplies the response shape ({ provider, valid, timestamp?, age_s?, within_tolerance? }), and the schema handles all parameter detail. What remains unstated is what happens on an invalid signature or unsupported provider value, a small but real gap for a tool with four required inputs.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so all six parameters are already documented, including the Slack-only timestamp and the Stripe/Slack tolerance default of 300s. The description only echoes 'with timestamp tolerance' and adds no format or interaction detail beyond the schema, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('verifies ... webhook signatures') and enumerates the exact schemes supported (Stripe, GitHub, Slack, Shopify, generic HMAC-SHA256). It also pins down fidelity ('exactly as the provider computes them'), so an agent knows this is real signature verification, not a format check.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The use case is strongly implied — call it to validate an inbound webhook signature — but there is no explicit 'use this when / don't use this when' statement or named alternative. The listed siblings are unrelated utilities, so the absence of routing guidance is low-cost but still a gap.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources