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.

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>",
      "headers": "<headers>",
      "body": "<body>",
      "secret": "<secret>"
    },
    "name": "anyhook_verify"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / provider / description
      Previous value: -"Provider name (e.g. 'stripe', 'github', 'slack', 'generic')."New value: +"Provider name (e.g. 'stripe', 'github', 'slack')."
  2. Changed2 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / headers / propertyNames
      Added value: +{
      +  "type": "string"
      +}
  3. First observed

TDQS

A3.6/5.0
Behavior2/5

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

readOnlyHint=true already covers the safety profile, and the description adds nothing beyond scope: it does not say what comes back on a valid vs. invalid signature (boolean, error, or exception), whether it makes a network call, or how provider-specific requirements like requestUrl affect the result. The provider enumeration is scope information, not behavioral disclosure.

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 front-loaded sentence with the core action first and the scope qualifier second; nothing is redundant. The long provider roll-call is wordy but earns its place as the only enumeration of supported providers.

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?

A five-parameter, nested-schema tool with no output schema, so the description would ideally state the return semantics (valid/invalid representation and error behavior). It covers the provider dimension well but leaves the result contract entirely unaddressed.

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

Parameters4/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, but the description adds real value by enumerating twelve supported provider values in a schema that has zero enums — this effectively hands the agent the allowed provider strings. It still says nothing about the headers/body/secret interplay, so it does not reach a 5.

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 ("Verify a webhook signature against a secret") and scopes it to "every source the AnyHook edge verifies." No sibling tool performs verification, so an agent can route here without ambiguity.

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?

Usage is only implied by the purpose statement and the provider scope; there is no explicit when-to-use, no when-not-to-use, and no mention of alternatives or prerequisites (e.g. what to do for an unsupported provider). An agent can infer the inbound-webhook-verification case, but nothing is stated outright.

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.