Skip to main content
Glama

Trillboards Campaign Planner

Stop campaign

stop_campaign
DestructiveIdempotent

Stop the native campaign and report any line that still requires a retry.

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": {
      "advertisementId": "<advertisementId>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "stop_campaign"
  }
}

Input Schema

NameRequiredDescriptionDefault
advertisementIdYesNative campaign ID returned by save_campaign_draft.
idempotency_keyYesStable unique key for this action. Reuse this key and unchanged arguments when retrying.

Output Schema

NameRequiredDescriptionDefault
kindYes
messageYes
statusCodeYes
partial_stopYes
advertisementIdYes
stopped_allocationsYes
stopped_partner_linesYes
partner_media_stop_errorsYes
partner_orders_not_stoppedYes
provider_media_stop_errorsYes
stopped_partner_placementsYes
partner_owner_stops_pendingNoOriginal owner IO lines awaiting evidenced stop confirmation. Stop does not imply a refund.
provider_orders_not_stoppedYes
stopped_provider_media_linesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already disclose that this is a non-read-only, destructive, idempotent operation. The description adds useful behavioral context by saying it reports lines that still require a retry, but it does not explain the scope of destruction, permissions, or side effects beyond that.

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?

The description is a single front-loaded sentence with no wasted wording. The action is stated first, followed by the relevant retry-reporting detail.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The output schema can explain return values, and annotations cover the safety profile. However, for a destructive campaign-stop operation, the description is still thin on impact, prerequisites, and when to prefer checking status or other sibling tools.

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%, and both parameters already have clear schema descriptions, including the idempotency key's retry semantics. The description does not add meaning beyond what the schema provides, so the baseline score of 3 is appropriate.

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 states a specific verb and resource: "Stop the native campaign." It also clarifies that the tool reports lines still requiring retry. It is clearly distinguishable from campaign retrieval, drafting, and booking siblings, though it does not explicitly name alternatives.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies that this tool is used to stop a campaign, but it gives no explicit when-to-use guidance, prerequisites, exclusions, or alternatives such as checking campaign status first. The agent must infer usage from the tool name and annotations.

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