Skip to main content
Glama

Cooper Email

Delete a webhook source

cooper_webhook_source_delete
DestructiveIdempotent

Use this when a webhook source should stop accepting requests. Requires auth. Inputs: inbox_id (omit when this key is limited to one inbox), source_id (wsrc_…). The public URL starts returning HTTP 404 immediately. Returns {object:"webhook_source", id, deleted:true}. An unknown id is HTTP 404 webhook_source_not_found.

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": {
      "source_id": "<source_id>"
    },
    "name": "cooper_webhook_source_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
inbox_idNoInbox id, username, or email. Omit it when this key is limited to one inbox.
source_idYesWebhook source id (wsrc_…).

Output Schema

NameRequiredDescriptionDefault
idNoWebhook source id (wsrc_…).
objectNoObject type name, such as list, message, or thread.
deletedNoTrue when the object was deleted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/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 the safety profile is supplied structurally; the description's real additions are the auth requirement, the immediate-404 effect, and the webhook_source_not_found error case. It does not disclose the downstream consequences of deletion (what happens to queued events, the signing secret, or delivery history), which is the most important unknown for a destructive operation.

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?

It is short and front-loads the trigger condition, then the constraints, effects, and error case in a compact order. The 'Inputs:' listing is slightly redundant given full schema coverage but costs little.

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 two-parameter destructive call, the definition covers auth, the side effect, the return value, and the failure mode, and an output schema exists so return-shape detail is optional. The one gap is that it never says whether the source's events, secret, or delivery logs are also destroyed.

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 100% and the description's parameter notes (inbox_id omission rule, wsrc_ prefix) merely restate what the schema's property descriptions already say. No new syntax, format, or constraint guidance is added 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?

The description names the resource (webhook source) and its effect ('should stop accepting requests', 'public URL starts returning HTTP 404 immediately'), and the return payload confirms 'deleted:true'. It is clear what happens, though it never uses the word 'delete' as a verb and does not differentiate itself from similar removal tools such as cooper_delete_webhook or cooper_delete_event_consumer.

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?

'Use this when a webhook source should stop accepting requests' gives a concrete triggering condition, which is more than most definitions offer. It stops short of stating when NOT to use it (e.g., to temporarily pause delivery versus permanently remove) or naming an alternative tool.

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.