Skip to main content
Glama

Mock a webhook

anyhook_mock
Destructive

Generate a webhook request with a valid signature for Stripe, GitHub, or Slack. If targetUrl is provided, the request is POSTed there and the response is returned.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNoOptional fields to deep-merge into the fixture.
eventYesEvent name (e.g. 'payment_intent.succeeded' for Stripe).
secretNoSigning secret. Falls back to a deterministic default per provider.
providerYesWebhook provider to simulate.
targetUrlNoIf set, POST the generated request to this URL and return the response.

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?

The description adds behavioral context beyond annotations by explaining that the request is POSTed only if targetUrl is provided, and that the response is returned. This clarifies the conditional side effect. It does not, however, disclose what happens when targetUrl is omitted (likely returns the generated request) or the return format, but the annotations already carry the destructive hint.

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

Conciseness5/5

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

Two sentences, front-loaded with the core purpose, followed by a concise conditional. No redundant words, every sentence adds value.

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?

The description explains the core function and the targetUrl conditional, but it does not specify the return value when targetUrl is not provided, nor the overall response format. With no output schema, this is a notable gap for an agent to know what to expect. The tool is moderately simple, but the missing non-posting behavior prevents a higher score.

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?

The schema description coverage is 100%, so all parameters are already documented. The description repeats the targetUrl behavior that the schema already states ('If set, POST the generated request to this URL and return the response') and adds no new meaning about other parameters like data or secret. Baseline 3 is appropriate.

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 clearly states the tool generates a webhook request with a valid signature for Stripe, GitHub, or Slack, and optionally posts it to a target URL. This is a specific verb+resource that distinguishes it from sibling tools like verify or replay, but it does not explicitly name a sibling or provide a contrast, so it misses the top score.

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 description implies usage for generating test webhooks, and the conditional targetUrl behavior is clear. However, it does not explicitly state when to use this tool versus alternatives like anyhook_verify or anyhook_replay, nor does it provide exclusions or prerequisites. The guidance is implied rather than explicit.

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.