Skip to main content
Glama

Register, edit, test or delete a webhook

webhooks_save
Destructive

An https URL that gets a signed POST (Standard Webhooks: verify webhook-signature with the returned secret, dedupe on webhook-id) when a post is published or fails, and when each comment-chain item or plug settles: create one (no id; url, events default all), edit it (id; url, events, description, disabled, rotateSecret), send a signed webhook.test now (id, test: true), or delete it (id, delete: true). A non-2xx is retried for about three days; GET /api/webhooks/{id} is the delivery log. Needs the write scope.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "webhooks_save"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoThe webhook id; omit to create.
urlNohttps, on a public address.
testNoSend one signed webhook.test now and answer what the URL said.
deleteNoDelete the endpoint.
eventsNoDefault: all.
disabledNoPause deliveries.
descriptionNoWhat it is for.
rotateSecretNoReplace the secret; the old one stops verifying at once.

Output Schema

NameRequiredDescriptionDefault
testNo
deletedNo
webhookNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior5/5

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

Annotations only flag a destructive, open-world write; the description goes well beyond that with signature verification via the returned secret, dedupe on webhook-id, roughly three days of retries on non-2xx, immediate invalidation of the old secret on rotateSecret, and the delivery-log location. That is exactly the operational context an agent needs before mutating a webhook.

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

Conciseness3/5

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

It is short overall, but the opening is a dense run-on fragment with nested parentheticals that makes the mode dispatch hard to parse on first read. Every fact earns its place; the packaging does not.

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?

For a destructive, multi-mode mutation tool this covers auth scope, retry behavior, secret lifecycle, and where to inspect deliveries. An output schema exists, so return values need not be explained, and nothing an agent needs to invoke it safely 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 the per-field meanings are already given, but the description contributes cross-parameter semantics the schema cannot express: id-omitted means create, test/delete act as mode switches, events default to all, and rotateSecret invalidates the prior secret at once. That is real added meaning above the baseline of 3.

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 the resource (webhook endpoint) and explicitly enumerates the four modes: create with no id, edit with id, test with test:true, delete with delete:true. It is slightly weakened by opening with a fragment describing the delivered payload ('An https URL that gets a signed POST...') rather than the tool action, so the verb is buried mid-sentence rather than front-loaded.

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?

Each mode is gated on a concrete parameter condition ('create one (no id)', 'edit it (id)', 'test: true', 'delete: true'), and the required write scope is stated. No sibling tool is named as an alternative, but the sibling list offers nothing comparable, so the absence of routing guidance costs little.

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.