Skip to main content
Glama

webhook-verify

Verify webhook signatures from 8 providers — Constant-time verification of inbound webhook signatures from Stripe, GitHub, Shopify, Slack, Twilio, Linear, Clerk (Svix) and SendGrid HMAC, each using the exact signing string that provider documents. Every scheme uses Web Crypto HMAC with a timing-safe compare and, where the provider signs a timestamp, a configurable clock-skew tolerance (default 300s) to block replay. Returns the verdict and t

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": {
      "source": "<source>",
      "secret": "<secret>",
      "rawBody": "<rawBody>",
      "headers": "<headers>"
    },
    "name": "webhook-verify"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoFull request URL. Required for Twilio, ignored elsewhere.
nowIsoNoOverride 'now' for deterministic tests; ISO-8601 instant.
secretYesThe signing secret; for Clerk/Svix a 'whsec_<base64>' value is accepted.
sourceYes
headersYesRequest headers as sent by the provider (string values). Names are case-insensitive.
rawBodyYesThe exact request body bytes as a string. Reparsed JSON will not match; send the raw bytes.
formParamsNoForm parameters parsed from a Twilio POST (string values); order does not matter.
toleranceSecondsNoMax allowed |now - signed timestamp|. Default 300s.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does well: it discloses constant-time/timing-safe HMAC comparison, per-provider signing strings, a replay-blocking clock-skew tolerance with its 300s default, and the Twilio URL requirement. It does not cover failure modes, error behavior, or the exact result shape, which keeps it below 5.

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

Conciseness3/5

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

The opening clause is well front-loaded and dense with useful detail, but the final sentence is cut off mid-word ('Returns the verdict and t'), leaving an incomplete thought that should either be finished or removed. The rest is efficient with no filler.

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

Completeness3/5

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

For an 8-parameter tool with nested objects and no output schema, the description covers the verification semantics well but the return-value explanation is truncated, so an agent cannot know what the verdict object contains or how failures are reported. That gap matters precisely because no output schema exists.

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 88%, so the schema already documents source, secret, rawBody, headers, url, formParams, toleranceSeconds and nowIso. The description reinforces the timestamp-tolerance default and the provider-specific signing-string notion but adds little parameter meaning beyond the structured fields, so the baseline 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 (verify) plus resource (inbound webhook signatures) and enumerates all eight supported providers by name, so an agent knows exactly which payloads it handles. It is clearly distinct from a sibling like jwt-verify without needing to open the schema.

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 phrase 'inbound webhook signatures' implies the use case, and the provider list implies the applicable sources, but there is no explicit when-to-use / when-not-to-use guidance and no named alternative (e.g., jwt-verify) to route between. Usage must be inferred from context.

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