Skip to main content
Glama

delete_webhook

Delete a webhook subscription. Owner/admin only. 404 if the webhook belongs to another org. Mirrors DELETE /v1/webhooks/{id}.

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

Input Schema

NameRequiredDescriptionDefault
org_idYes
webhook_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

With no annotations to lean on, the description still discloses the important behaviors: it is a destructive removal, it requires owner/admin privileges, it returns 404 rather than leaking cross-org resources, and it maps to DELETE /v1/webhooks/{id}. It stops short of stating irreversibility, whether in-flight deliveries are cancelled, or whether the signing secret is purged.

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, then the authorization constraint, then error semantics. No filler and nothing restated from the name.

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?

An output schema exists, so return values need no explanation, and the definition covers authorization and cross-tenant error behavior for a simple two-parameter delete. Only the side effects of deletion (cascade, delivery cancellation, irreversibility) are left unstated.

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 description coverage is 0% for two required UUID parameters, so the description has to compensate. It indirectly clarifies that webhook_id is the target via the REST path and that org_id drives the cross-org 404 check, but neither parameter is explicitly explained or given format expectations.

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 a webhook subscription') and scopes it clearly enough that an agent can separate it from create_webhook, update_webhook, rotate_webhook_secret and get_webhook without inspecting 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 Guidelines3/5

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

The 'Owner/admin only' clause gives an actionable precondition, and the name makes the intent obvious, but the description never states when to prefer this over update_webhook or when a webhook should be removed versus disabled, nor does it name any alternative.

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