Skip to main content
Glama

Delete webhook subscription

delete_webhook
DestructiveIdempotent

Remove a webhook subscription created with create_webhook, by its id. Deliveries to that URL stop immediately. Returns 404 for an id that does not exist in this workspace.

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

Input Schema

NameRequiredDescriptionDefault
idYesSubscription id returned by create_webhook.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Goes meaningfully beyond the annotations by disclosing the operational consequence ('Deliveries to that URL stop immediately') and the error behavior ('Returns 404 for an id that does not exist in this workspace'). It does not explicitly state irreversibility or whether in-flight deliveries are cancelled, which is the only notable omission for a destructive operation.

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 compact sentences, front-loaded with the action and resource, followed by consequence and error semantics. No redundant restatement of the title and no filler.

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 single-parameter destructive tool with no output schema, the definition covers effect and the main error path. It leaves the success response shape implicit (whether anything is returned or just a status), which is a minor gap rather than a blocking one.

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 already 100% for the single id property, so the baseline is 3. The description adds real value by documenting the failure case for a non-existent id (404) and by reinforcing that the id must come from create_webhook, effective workspace scoping.

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 ('Remove a webhook subscription'), ties it to the originating tool create_webhook, and scopes it by id. An agent can instantly distinguish it from create_webhook and from the unrelated delete_* siblings that target campaigns, prospects, or steps.

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?

Usage context is clear: this removes a subscription previously created with create_webhook, identified by its id, and can be called repeatedly (idempotent per annotations). No explicit when-not guidance or alternative (e.g., a disable/pause path) is named, which keeps it below a 5.

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.