Skip to main content
Glama

Delete a webhook

webhooks_delete
DestructiveIdempotent

Delete an organization webhook registration, stopping future deliveries to that registered endpoint. Requires owner/admin with deployments:admin. Use webhooks_list to find the ID. Deletion removes the registration; adding it again requires a new registration. Returns deleted=true; a missing ID is an error.

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": {
      "webhookId": "<webhookId>"
    },
    "name": "webhooks_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
webhookIdYesWebhook ID to remove from this deployment.

Output Schema

NameRequiredDescriptionDefault
deletedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, but the description adds real context beyond them: the authorization requirement, the fact that future deliveries stop, that the registration cannot be restored without re-creating it, and that it returns deleted=true with a missing ID treated as an error. This is solid disclosure, with only minor gaps such as whether deletion is immediate or queued.

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 effect, then prerequisites, then caveat, then return/error behavior. No filler and every clause carries information the agent needs.

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 single-parameter destructive tool with full annotations and an output schema, the description covers purpose, permissions, ID sourcing, irreversibility, and error semantics. Nothing material 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?

With 100% schema description coverage the single parameter is already documented, so the baseline is 3. The description adds value by telling the agent where to source the value ('Use webhooks_list to find the ID'), which the schema does not explain.

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 ('Delete an organization webhook registration') plus the operational consequence ('stopping future deliveries to that registered endpoint'). This is clearly distinct from webhooks_list (lookup) and webhooks_set (registration), both of which are named or implied in the text.

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?

Gives concrete prerequisites ('Requires owner/admin with deployments:admin') and routes the agent to the right sibling for the prerequisite step ('Use webhooks_list to find the ID'). It also warns that re-adding requires a new registration, which is a practical when-to-be-careful signal, though it does not explicitly contrast with alternatives such as disabling a webhook.

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