Skip to main content
Glama

Verify a webhook signature

anyhook_verify
Read-only

Verify a webhook signature against a secret, for every source the AnyHook edge verifies, including stripe, github, shopify, slack, line, discord, linear, vercel, paddle, hubspot, paypal and xero.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyYesRaw request body.
secretYesSigning secret to verify against.
headersYesRequest headers as a flat object.
providerYesProvider name (e.g. 'stripe', 'github', 'slack', 'generic').
requestUrlNoOriginal request URL (required for Twilio/HubSpot). Defaults to a placeholder.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

readOnlyHint=true is consistent with a pure cryptographic verification, and the description usefully discloses the breadth of supported sources. However, it does not say what happens on a failed verification (returned false vs. thrown error), whether it performs any network call, or anything about the aggregate/edge behavior it references.

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?

One sentence, front-loaded with the core action and scope. The long provider enumeration is informative but stretches the sentence; it could be trimmed without losing meaning.

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?

With no output schema, the description carries the burden of explaining the result — and it does not say whether success/failure is expressed as a boolean, a thrown error, or a structured result. For a tool whose entire purpose is a valid/invalid determination, that is a meaningful gap for a 5-parameter call.

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 coverage is 100%, so the baseline is 3. The description adds marginal value by confirming the concrete provider names the 'provider' param accepts (beyond the schema's 'stripe'/'github'/'slack'/'generic' examples), but it says nothing about required vs optional parameters such as requestUrl for Twilio/HubSpot.

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+resource ('verify a webhook signature against a secret') and enumerates the concrete provider coverage (stripe, github, shopify, ...). This is unmistakably distinct from siblings like anyhook_replay, anyhook_mock, or anyhook_inspect, so an agent can select it without opening 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 provider list implies the situations where this tool applies, but there is no explicit when-to-use or when-not-to-use guidance, nor any statement about prerequisites (e.g. that you already have a raw body and headers from an inbound request). Usage is implied rather than stated.

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.