Skip to main content
Glama

Delete webhook

delete_webhook
Destructive

Permanently removes a webinar webhook and its delivery log, stopping further event notifications. Requires confirmation; to resume, create a new webhook with a new secret.

Instructions

Delete a webhook and its delivery log; no further events are sent to it. Cannot be undone (create a new one to resume; it gets a new secret). Requires confirm: true. Get webhook_id from list_webhooks.

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
confirmNoMust be true (not needed for dry_run); set it only when the user asked for exactly this
dry_runNotrue: validate and show what would happen without changing anything
webhook_idYesWebhook id (UUID) from list_webhooks
idempotency_keyNoAny unique string; retrying with the same key and arguments within 24 h returns the first answer instead of doing it twice

Output Schema

NameRequiredDescriptionDefault
dataNo
resultYes
statusNo
changesNo
dry_runNo
messageNo
error_codeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only flag destructiveHint=true; the description adds the real consequences: delivery log is destroyed, no further events are emitted, the action is irreversible, and recreation yields a new secret. That is precisely the operational context annotations cannot carry.

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

Conciseness4/5

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

Four short clauses, front-loaded with the action and its blast radius, then irreversibility, then the confirm requirement. Dense and waste-free, though the parenthetical about the new secret is slightly tangential.

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 mutation with four params and an output schema, the description covers collateral damage, irreversibility, the mandatory confirm gate, and id sourcing. Nothing an agent needs to call it safely is missing.

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 100%, so confirm, dry_run, webhook_id, and idempotency_key are already documented, and the description largely restates confirm/webhook_id. Baseline 3 applies since the description adds no syntax or format detail beyond the schema.

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 (delete) and resource (webhook) plus the collateral scope ('and its delivery log'), so the agent knows exactly what is removed. It is clearly distinguishable from list_webhooks/create_webhook siblings named in the same sentence.

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 the prerequisite ('Requires confirm: true') and where to source the id ('Get webhook_id from list_webhooks'), plus a recovery path ('create a new one to resume'). It stops short of explicitly steering to a dry_run-first workflow, though the schema documents dry_run.

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