Skip to main content
Glama

Unsubscribe a webhook

delete_hook
DestructiveIdempotent

Remove a webhook subscription by id (ids come from list_hooks). Events stop being delivered to that URL. Idempotent, deleting a missing hook still succeeds.

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": {
      "hook_id": "<hook_id>"
    },
    "name": "delete_hook"
  }
}

Input Schema

NameRequiredDescriptionDefault
hook_idYesSubscription id (uuid) from list_hooks.

Output Schema

NameRequiredDescriptionDefault
okNo
errorNoPresent only when ok is false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

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 and idempotentHint=true, so the bar is lower; the description still adds real consequence context by noting events stop being delivered to that URL and that deleting a missing hook succeeds. It does not mention permissions or whether the subscription can be recreated.

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, front-loaded with the action, then consequence, then the idempotency caveat. Every sentence carries distinct information with no filler.

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 single-parameter delete with an output schema and full annotation coverage, the description covers action, id provenance, side effect, and idempotency. Nothing an agent needs to invoke it correctly 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?

With one parameter at 100% schema coverage, the schema already documents hook_id as a uuid from list_hooks. The description only restates the same provenance, adding no format or edge-case detail beyond the schema.

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?

Names a specific verb and resource ('Remove a webhook subscription by id') and points to list_hooks as the id source, so it is readily separable from list_hooks/create_hook. It stops short of explicitly contrasting create_hook or other removal paths, so it lands just below top marks.

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 a clear prerequisite workflow ('ids come from list_hooks') and states it is safe to call for a missing hook, which tells the agent it need not pre-check existence. No explicit when-not-to-use or alternative tool is named.

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