Skip to main content
Glama

Pitchlane

Delete a Pitchlane campaign

delete_campaign
DestructiveIdempotent

Delete a Pitchlane campaign, together with the credentials stored for it (login cookies, proxy and integration keys). Only a campaign without videos can be deleted: one that has videos is refused (campaign_has_videos) and nothing is deleted. To keep a campaign's videos playing, archive it instead (archive_campaign). Cannot be undone from here. Always confirm with the user before deleting, and delete only a campaign the user asked to delete.

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": {
      "campaign_id": "<campaign_id>"
    },
    "name": "delete_campaign"
  }
}

Input Schema

NameRequiredDescriptionDefault
campaign_idYesThe campaign's id, as list_campaigns returns it, e.g. `o6duFik0_UNSUGPCn1LTm`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/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 largely covered. The description still adds real value beyond them: the cascading deletion of stored credentials, the atomic refusal on campaign_has_videos, and that the action cannot be undone from here. It does not describe the success response shape, but with no output schema that is a minor gap given how thoroughly failure and side effects are covered. Adjusted to reflect that annotations carry part of the transparency burden rather than the description alone.

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?

Four sentences, front-loaded with the action and its collateral effects, then the precondition, the alternative, and the confirmation rule. No filler and no repetition of the name or title.

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?

For a destructive single-parameter tool with no output schema, the definition covers side effects, failure mode, reversibility, and the human-confirmation requirement. Nothing an agent needs in order to invoke it correctly or safely is missing.

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% and the single parameter is documented with an example id format and provenance (as returned by list_campaigns), so the schema does the heavy lifting and baseline 3 applies. The description does not add id-level detail, but the guidance to delete only the campaign the user asked for constrains parameter choice meaningfully.

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 Pitchlane campaign) and immediately widens scope to the collateral deletion of stored credentials (login cookies, proxy and integration keys), which an agent could not infer from the name alone. It is clearly distinguishable from the sibling archive_campaign and delete_video tools.

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 precondition (the campaign must have no videos), the exact refusal code `campaign_has_videos` with the guarantee that nothing is deleted, and names the alternative route (archive_campaign) for the case where videos must keep playing. It also states a procedural rule: confirm with the user and only delete a campaign the user explicitly asked to delete.

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