Skip to main content
Glama

Test Webhook

test_webhook
Destructive

Sends a REAL test delivery (a sample event, in the exact shape real deliveries use) to the webhook's target URL — the external endpoint WILL receive an actual request. Confirm with the user first: call WITHOUT confirm for a read-only PREVIEW, then again with confirm:true. The webhook is verified server-side before firing (unknown ID → 'Webhook not found.'); verify the delivery outcome with get_webhook_deliveries (the attempt's statusCode).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
confirmNoOmit or false → read-only preview, nothing is sent. true → actually fire the test delivery (only after the user explicitly agreed).
webhookIDYesWebhook ID, as returned by list_webhooks.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
messageNoWhat the call did, verified, refused or previewed — the complete human-readable outcome.
previewNotrue when the call was a preview (confirm not passed): nothing was changed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare destructiveHint/openWorldHint/non-idempotent, but the description adds material context beyond them: the real external request, the preview-then-confirm workflow, the server-side ID validation and its exact error string ('Webhook not found.'), and how to confirm delivery via statusCode. This is exactly the extra behavioral detail an agent needs before an irreversible external call.

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?

Dense but front-loaded: the irreversible side effect leads, then the safe workflow, then verification. Every sentence carries non-redundant information and none could be dropped without losing guidance.

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

Completeness5/5

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

Output schema exists so return values need no explanation; the description compensates by covering the risk profile, the confirm protocol, the failure case, and the verification path. Complete for a destructive, open-world operation.

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 baseline is 3, but the description adds meaning by tying the confirm parameter to a safe two-phase workflow (preview vs. actual fire) rather than merely restating the default. webhookID's origin is also echoed ('the webhook's target URL').

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 — it fires a real test delivery to the webhook's target URL — and immediately scopes the side effect (the external endpoint WILL receive an actual request). Distinguishable from siblings like get_webhook_deliveries and create_webhook without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit two-step procedure (call without confirm for a read-only preview, then again with confirm:true after the user agrees), states the precondition (confirm with the user first), and names the follow-up tool get_webhook_deliveries to verify the outcome. Nothing is left to inference.

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