Skip to main content
Glama

Send test webhook event

send_test_webhook_event

Simulate a webhook event (POST /emails/test) for CI or local webhook testing. Optionally deliver to subscribed endpoints.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
eventYesWebhook event type to simulate
deliverNoWhen true (default), enqueue delivery to account webhooks
email_idNoOptional existing email id (msg_…)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYesTrue when the simulated event was built
payloadNoThe event payload that was (or would be) delivered
deliveredYesTrue when delivery to subscribed endpoints was started
deliveriesNoPer-endpoint results when delivery ran synchronously; empty otherwise

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, and openWorldHint=true, so the safety profile is known. The description adds a meaningful side-effect nuance — that the call can optionally push real deliveries to subscribed endpoints — though it doesn't spell out that this consumes real outbound traffic or appears in event logs.

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 short sentences, front-loaded with the core action and the endpoint, with zero filler or restatement of the title.

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

Completeness4/5

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

Purpose, intended context, and the optional-delivery side effect are all covered, and an output schema plus rich annotations carry the remaining burden. Only minor gaps (rate limits, visibility of simulated events in logs) remain.

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 all three parameters including the event enum and the deliver default are already documented. The phrase 'optionally deliver to subscribed endpoints' paraphrases the deliver flag without adding syntax or semantics beyond the schema, so the baseline 3 applies.

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 (simulate) and resource (webhook event) plus the underlying endpoint POST /emails/test, which distinguishes it unambiguously from send_email and create_webhook among siblings.

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

Usage Guidelines4/5

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

Names the intended contexts explicitly (CI pipelines, local webhook testing), which is clear when-to-use guidance. It does not name an alternative or state a when-not condition, so it falls short of a 5.

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