Skip to main content
Glama

Pitchlane

Cancel campaign rendering

cancel_campaign_rendering
Destructive

Cancel active bulk render jobs and in-flight video renders for a Pitchlane campaign, refunding credits for videos that have not finished rendering. Use strategy: "graceful" (default) for normal cancellation or "terminate" to forcefully stop large active runs.

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": "cancel_campaign_rendering"
  }
}

Input Schema

NameRequiredDescriptionDefault
strategyNoCancellation strategy: `graceful` (default) or `terminate`.graceful
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

A3.9/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false, so the safety profile is covered structurally. The description adds genuinely new behavior: unfinished renders are refunded in credits, and 'terminate' forcefully stops large active runs while 'graceful' is the default. It stops short of stating irreversibility or what happens to already-completed videos.

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?

Two sentences, front-loaded with the action and scope, followed by the strategy choice. No filler, no restatement of the title, and the refund detail is attached to the sentence where it matters.

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 annotations and no output schema, this covers the action, the credit-refund outcome, and the strategy trade-off. Gaps remain around irreversibility and the state of partially rendered campaigns, which matter for a destructive operation.

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 both parameters are already documented, making 3 the baseline. The description earns a point above baseline by explaining the practical consequence of the strategy enum (normal cancellation vs forcefully stopping large runs), which the schema only labels.

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 opens with a specific verb+resource ('Cancel active bulk render jobs and in-flight video renders for a Pitchlane campaign') and even names the financial side effect (credit refund). It does not explicitly contrast itself with render_campaign or get_rendering_progress, but the cancel semantics are unambiguous enough that an agent can separate it from the render/progress siblings.

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?

It tells the agent how to choose between the two strategies (graceful for normal cancellation, terminate for large active runs), which is useful mode-selection guidance. It never says when to reach for this tool versus alternatives like get_rendering_progress or delete_campaign, nor any precondition, so usage is implied rather than stated.

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