Skip to main content
Glama

Webhook signature check

webhook_verifier
Read-onlyIdempotent

Code verifying the Terudo-Signature header of a Terudo webhook, on the raw body, in Node.js (Express), Python (Flask), PHP or Ruby (Rails).

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": {
      "language": "<language>",
      "context": "<context>"
    },
    "name": "webhook_verifier"
  }
}

Input Schema

NameRequiredDescriptionDefault
contextYesIn 15 to 25 words, in the third person, explain what the user is trying to accomplish and why this tool helps. Do not include personal data: say "a traveller" or "a user", never a name, e-mail or phone number.
languageYesLanguage.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description earns credit for one genuinely useful behavioral detail — verification must run on the raw body — and for pinning frameworks to languages, but it never says what is returned (a code snippet? a file?) or whether the signing secret must be supplied.

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?

A single dense sentence with no filler, and the distinguishing constraint (raw body) plus the supported stacks are front-loaded. The telegraphic fragment style costs a little clarity about what the tool actually returns.

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 a simple two-parameter, fully described schema with no output schema, the definition is close to complete on inputs, but it omits the deliverable format and any caveat that the signing secret or raw request payload must be available at runtime. Those gaps matter for a code-generation tool where the returned artifact is the whole point.

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, and the description adds real meaning by mapping each enum value to a specific framework (node→Express, python→Flask, ruby→Rails, PHP bare), which the bare 'Language.' enum label does not convey. The context parameter is fully specified inside the schema, so nothing further is required there.

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

Purpose4/5

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

The description names a specific verb and resource: verifying the Terudo-Signature header on the raw body, restricted to four language/framework pairs. It is a noun-phrase fragment rather than a statement of a deliverable, so an agent must infer that the tool produces example verification code, and it draws no boundary against siblings like compatibility_check or api_reference.

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?

Use is implied by the resource named (you call it when you need to verify a Terudo webhook signature), but there is no explicit when-to-use, no exclusion of alternatives, and no stated prerequisites such as needing the signing secret or the raw request body available before parsing.

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