Skip to main content
Glama

Send Webhook Test

send_webhook_test

Run a webhook's rules for real on a stored delivery (delivery_id) or a sample (event plus payload), so the user sees the actual Push Notification or Live Activity on their iPhone. Counts like a normal delivery. A Live Activity started by a test stays until an event ends it, so prefer a payload whose end_when is true when testing Live Activities. Use preview_webhook_rules first to check without sending.

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": {
      "webhook_id": "<webhook_id>"
    },
    "name": "send_webhook_test"
  }
}

Input Schema

NameRequiredDescriptionDefault
eventNoFor a GitHub payload, the X-GitHub-Event name, such as star. GitLab payloads name it themselves.
payloadNoA sample payload.
webhook_idYesThe webhook_id from list_webhooks or create_webhook.
delivery_idNoA delivery_id from list_webhook_deliveries to send again.

Output Schema

NameRequiredDescriptionDefault
resultsYes
event_keyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / event / description
      Previous value: -"X-GitHub-Event name for payload, such as star."New value: +"For a GitHub payload, the X-GitHub-Event name, such as star. GitLab payloads name it themselves."
    • changedInput schema / properties / payload / description
      Previous value: -"A sample GitHub payload, with event."New value: +"A sample payload."
  2. Added

TDQS

A4.6/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false, openWorldHint=true), the description discloses real side effects: it actually fires Push Notifications to the user's iPhone, it "counts like a normal delivery" (quota/accounting impact), and a started Live Activity persists until an event ends it. That persistence warning is exactly the kind of non-obvious state consequence the annotations cannot express. It stops short of saying whether the test is marked as a test in delivery history or can be reversed.

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?

Four short sentences, front-loaded with the action and mode choice, then the consequences, then the recommended prerequisite. Every sentence carries either routing, side-effect, or usage information; nothing is filler.

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?

With an output schema and annotations present, the description only needs to cover what structured fields cannot: side effects, persistence, and prerequisites, all of which it does. Minor gaps remain around authentication/permission requirements and what happens to the counted test delivery afterwards, but nothing needed to invoke it correctly is missing.

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 would be 3, but the description adds genuine meaning by framing delivery_id and event+payload as alternative sources for the same send rather than independent fields. The only weak point is the unexplained reference to an end_when property, which does not appear in the schema and is left for the agent to resolve from elsewhere.

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?

"Run a webhook's rules for real" is a specific verb on a named resource, and the description immediately disambiguates the two invocation modes (a stored delivery_id vs. a sample event+payload). It also names the sibling it differs from, preview_webhook_rules, so an agent can separate real sending from dry-run without opening either 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?

It states the ordering relationship explicitly: "Use preview_webhook_rules first to check without sending," which is both a when-to-use rule and a when-not-to-use-of-this-tool rule. It adds a situational refinement for Live Activity testing (prefer a payload whose end_when is true), covering the main usage decision an agent faces.

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