Skip to main content
Glama

Remove a webhook

remove_webhook
Destructive

Removes an endpoint: CodeGene stops sending to it at once, and deliveries still waiting to be tried again are dropped. Only owners and admins can remove one.

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": {
      "endpoint_id": "<endpoint_id>",
      "reason": "<reason>"
    },
    "name": "remove_webhook"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonYesWhy, in a sentence: kept in the workspace's activity.
endpoint_idYesThe endpoint (list_webhooks gives ids).
workspace_idNoWorkspace id from whoami; omit when there is one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is known; the description still adds real context beyond them: sending halts immediately, queued retries are discarded, and the operation is permission-gated to owners/admins. It does not state whether removal is reversible or what the call returns, which keeps it from a 5.

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?

Two sentences with zero filler, and the irreversible effects are front-loaded before the permission constraint. Slightly dense phrase 'deliveries still waiting to be tried again' could be tightened, but nothing is wasted.

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 three-parameter destructive removal with no output schema, the description covers the important unknowns: the side effects on in-flight deliveries and the authorization requirement. What remains unstated (return value, whether errors surface for unauthorized callers) is minor given complete parameter documentation.

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%, with all three parameters documented in-schema (including the 'omit when there is one' guidance for workspace_id and where to get endpoint_id). The description adds no parameter-level detail, so baseline 3 applies since the schema does the heavy lifting.

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 gives a specific verb and resource ('Removes an endpoint') and names the owning product (CodeGene), so an agent can tell it apart from the other remove_* siblings by resource alone. It stops short of naming the counterpart tool (add_webhook) or explicitly disambiguating from adjacent webhook tools, so it is clear but not maximally differentiated.

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 context is implied by the consequences ('stops sending at once') and there is a genuine prerequisite ('Only owners and admins can remove one'). There is no explicit when-to-use vs. when-not or pointer to alternatives such as disabling or replaying deliveries instead of deleting the endpoint.

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