Skip to main content
Glama

delete_webhook

DestructiveIdempotent

Permanently deletes a webhook subscription and frees its endpoint slot against your per-plan cap. Requires an Organization key.

Instructions

Permanently delete a webhook subscription. This frees its endpoint slot against the per-plan cap. Requires an Organization key.

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": "delete_webhook"
  }
}

Input Schema

NameRequiredDescriptionDefault
webhook_idYesWebhook subscription to delete

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.8.4
    • addedInput schema / properties / webhook_id / maxLength
      Added value: +128
    • addedInput schema / properties / webhook_id / minLength
      Added value: +1
    • addedInput schema / properties / webhook_id / pattern
      Added value: +"^[A-Za-z0-9_-]*$"
  2. First observedv1.2.5

TDQS

A3.8/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 context the annotations do not carry: the deletion is permanent, it releases a per-plan endpoint slot (a quota side effect), and it requires an Organization key (an auth scoping requirement). Return behavior is not described, but nothing here contradicts the annotations.

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?

Three short sentences, each carrying distinct information: action and permanence, quota consequence, and auth requirement. Nothing is repeated from the schema or annotations, and the key fact (permanence) is front-loaded.

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?

For a one-parameter destructive tool with a fully documented schema, the description covers permanence, the quota side effect, and the Organization-key requirement. The only real gap is what happens on a missing or already-deleted webhook_id, which is minor given the idempotent annotation.

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% with a single required webhook_id already documented as "Webhook subscription to delete". The description adds no format or lookup guidance beyond what the schema supplies, so the baseline 3 applies.

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 specific verb and resource ("Permanently delete a webhook subscription") and the word "permanently" distinguishes it from the sibling update_webhook, which implies reversible modification. It stops short of naming an alternative explicitly, so it is clear but not fully differentiated.

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?

Usage is only implied by "permanently delete" and "frees its endpoint slot"; the agent can infer this is for retiring subscriptions rather than disabling them. It never states when to prefer update_webhook over deletion, nor any preconditions aside from the Organization key.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.