Skip to main content
Glama

Delete webhook

delete_webhook
DestructiveIdempotent

Removes a webhook and everything queued for it; nothing is posted to it again. To stop a disabled webhook for good, or to replace an endpoint (register the new one first). Workspace owners and admins only.

Input Schema

NameRequiredDescriptionDefault
webhook_idYesThe id from list_webhooks
workspace_idNoOptional: the workspace to act in, from list_workspaces (the connection reaches the person's personal space and every workspace they are a member of). Required on a write when the connection reaches more than one workspace. Omit to act in the personal space (for an older single-workspace connection, the one workspace it was authorized for).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so safety is covered. The description still adds value annotations cannot: it specifies what is destroyed (everything queued, no further posts) and the authorization requirement ('Workspace owners and admins only'). It does not cover reversibility or error/partial-failure behavior.

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?

Very short and front-loaded: destruction behavior first, then usage, then permissions. The middle sentence is an elliptical fragment, which slightly hurts readability but wastes no words.

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 destructive, no-output-schema tool, the description covers the essentials an agent needs: scope of deletion, irreversible effect on queued items, alternative ordering with register_webhook, and the permission gate. Only minor gaps (reversibility, failure modes) remain.

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 webhook_id and workspace_id are already fully documented, including the multi-workspace requirement. The description adds no parameter-level detail, so the baseline 3 applies.

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+resource ('Removes a webhook') and adds scope ('everything queued for it; nothing is posted to it again'), making it distinguishable from register_webhook/list_webhooks in the sibling set. No ambiguity about what the tool does.

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 situations ('To stop a disabled webhook for good, or to replace an endpoint') and routes the agent to the correct sibling order ('register the new one first'). No explicit when-not-to-use, and the second sentence is a fragment rather than framed as guidance, but context is clear.

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.