Skip to main content
Glama

Pitchlane

Delete a Pitchlane webhook subscription

delete_webhook
DestructiveIdempotent

Delete one Pitchlane webhook subscription by its id (from list_webhooks): no more events are sent to its URL for it, including ones already waiting to be sent. It cannot be undone: subscribing the URL again makes a new subscription with a new signing secret, which the receiving endpoint must then be given. Confirm with the user which subscription to delete before calling this. Works for one covering every campaign and for one on a single campaign; campaign_id only makes sure the subscription is that campaign's.

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

Input Schema

NameRequiredDescriptionDefault
webhook_idYesThe subscription's id, as list_webhooks or create_webhook returns it, e.g. `DHFG2C09n_3qrsSymZjjm`.
campaign_idNoThe campaign the subscription is on (its `campaignId` in list_webhooks), to delete it only if it is that campaign's. Leave it out for one covering every campaign. An archived campaign's subscription cannot be deleted with it (403): leave it out then.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare destructive=true and idempotentHint=true, but the description adds material behavior the annotations cannot convey: in-flight/queued events stop too, the action is irreversible, and re-subscribing produces a new signing secret that must be redistributed to the receiving endpoint. It also discloses the 403 case for archived campaigns.

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?

Front-loads what is deleted, then consequences, then irreversibility/secret implications, then the confirmation requirement and parameter caveat. Every sentence carries operational information; there is no restatement of the title or name.

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 tool with full schema coverage and no output schema, this is nearly complete: safety, irreversibility, side effects on pending events, and the campaign_id edge case are all covered. The only small gap is that it does not say what the call returns on success, which the caller might want for confirmation.

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, but the description adds real meaning beyond it: campaign_id is not a filter or selector but a consistency check that the subscription actually belongs to that campaign, and it clarifies that the same tool handles both all-campaign and single-campaign subscriptions.

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 one Pitchlane webhook subscription by its id") and immediately identifies the sibling that supplies the id (list_webhooks), so an agent can distinguish it from create_webhook, list_webhooks, and the campaign/domain/media delete 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 explicit pre-call guidance ("Confirm with the user which subscription to delete before calling this"), routes id discovery to list_webhooks, and gives both when-to-include and when-to-omit conditions for campaign_id (omit for all-campaign subscriptions and for archived-campaign subscriptions that would 403). Nothing essential is left to inference.

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