Skip to main content
Glama

Sergio by Serviche

Delete a webhook

webhook_delete
Idempotent

Removes one webhook (webhook_id from read webhooks) and its delivery log, as Delete on its row does; nothing more is posted to that address. Pass the same idempotency_key when retrying.

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>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "webhook_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
webhook_idYes
idempotency_keyYesYour id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior2/5

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

The description does disclose real consequences beyond the annotations — the delivery log is destroyed along with the webhook, no further posts go to that address, and it matches the UI's row-level Delete. However, it describes an unambiguous permanent removal while the annotations declare destructiveHint=false, which mislabels an irreversible delete of a webhook plus its delivery history.

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?

Front-loaded with the verb and resource, then the scope, then a short retry note — no filler and easy to scan. The final sentence largely duplicates the schema's idempotency wording, so a small amount of the text does not earn its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter mutation with no output schema, the description covers side effects well but says nothing about the response (confirming deletion, behavior when the id does not exist, or whether the call is soft versus hard delete). An agent can call it correctly but cannot predict the result of edge cases.

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 only 50%, with `webhook_id` carrying no description in the schema, so the description's "webhook_id from read webhooks" is genuinely useful provenance. The idempotency instruction simply restates the schema's own description of `idempotency_key`, and no format or failure semantics for either parameter are added.

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 uses a specific verb and resource ("Removes one webhook") and adds scope detail: the webhook's delivery log is also deleted and the endpoint stops receiving posts. That implicitly separates it from pause/resume siblings, but no sibling is named, so an agent must infer that webhook_pause is the reversible alternative.

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: the reader infers this is the permanent-removal path while webhook_pause is the temporary one, and the parenthetical points at `read webhooks` as the source of the id. The only explicit procedural instruction concerns retries ("Pass the same idempotency_key when retrying"), with no statement of when-not to use this tool or what happens on an unknown id.

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