Skip to main content
Glama

Delete a webhook endpoint

tarkle_delete_webhook
Destructive

Delete a webhook endpoint and its signing secret: the receiver stops getting events and its delivery log goes with it. Asks for confirmation first: the first call deletes nothing; show the user the host and events, then call again with the same inputs and the confirmationCode. To pause instead, use tarkle_update_webhook with enabled false. Webhooks send signed event data from the workspace to an outside address. Only workspace Owners and Admins can manage them.

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": {
      "workspaceId": "<workspaceId>",
      "webhookId": "<webhookId>"
    },
    "name": "tarkle_delete_webhook"
  }
}

Input Schema

NameRequiredDescriptionDefault
llm_modelNoThe model identifier you are running as, for example "claude-opus-4-8" or "gpt-5.2". Pass "unknown" if you are not certain. Recorded for the server developer's analytics.
webhookIdYesA webhookId from tarkle_list_webhooks.
workspaceIdYesThe workspace's id, from tarkle_list_workspaces.
confirmationCodeNoThe code from the first answer of this tool for these exact inputs. Send it only after the user approved deleting this endpoint.

Output Schema

NameRequiredDescriptionDefault
deletedNo
webhookIdNo

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true, but the description goes further: it says what is destroyed (signing secret, delivery log), that the receiver stops receiving events, and that deletion is irreversible in effect. It also discloses the non-obvious two-phase confirmation protocol, which no annotation conveys.

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-loads the destructive outcome and the confirmation protocol, which are the two facts an agent most needs. The final sentence explaining what webhooks generally are is mildly redundant with the purpose statement, but nothing else is wasted.

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?

Covers everything needed to invoke correctly despite the unusual two-step confirmation flow: consequences, confirmation mechanics, permission gate, and the pause alternative. Return values are covered by the output schema, so no gap remains.

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 100%, so the baseline is 3; the description earns above that by explaining confirmationCode's role in the two-call protocol (first call deletes nothing, second call must repeat identical inputs plus the code). It does not add anything for workspaceId or webhookId beyond the schema's own provenance notes.

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 ("Delete a webhook endpoint") and immediately names the collateral consequences — signing secret, event delivery, delivery log. An agent can distinguish this from tarkle_update_webhook and the delivery-inspection siblings without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit alternative with the exact condition that selects it ("To pause instead, use tarkle_update_webhook with enabled false"), plus the permission precondition (Owners/Admins only). This is the when/when-not/alternative pattern in full.

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.