Skip to main content
Glama
pipelinica-mcp
by pipelinica

Preview a change

preview_change
Read-onlyIdempotent

Preview what a campaign change would do before and after, including platform-checked notes on its effects, without applying it; use the returned change_id to apply later.

Instructions

What a change would do, before and after, with notes on its effects, checked by the platform and not made. apply_change makes it by its change_id.

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": {
      "platform": "<platform>",
      "connection": "<connection>",
      "action": "<action>",
      "settings": "<settings>",
      "params": "<params>"
    },
    "name": "preview_change"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYesA change's name from describe_actions.
paramsYesThe change's parameters (describe_actions).
platformYesA platform id from list_platforms.
settingsYesThe ad account's `settings` from list_options.
connectionYesA connection id from list_platforms.

Output Schema

NameRequiredDescriptionDefault
askNo
riskNonormal
linesYes
notesNo
risksNo
summaryYes
change_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and idempotentHint=true, so 'not made' largely restates readOnlyHint. The genuinely additive detail is that the platform checks the change and that the result includes before/after plus `notes` — though an output schema exists and may already cover that return shape. No mention of permissions, rate limits, or eagerness of validation errors.

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?

Two short sentences with no filler, and the key constraint ('not made') precedes the routing hint to apply_change. The phrasing is slightly compressed to the point of being ungrammatical in places ('apply_change makes it by its change_id').

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?

With an output schema present, return values need not be described, and all five required parameters are documented in the schema with discovery pointers. The remaining gap is the unstated relationship between the preview result and apply_change's change_id, which is hinted at but never clearly explained.

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 every parameter cross-references a discovery tool (list_platforms, describe_actions, list_options), so the schema carries the semantics. The description adds nothing per-parameter and even introduces 'change_id', which is not an input here but apply_change's input — potentially mildly confusing when mapping returned values to the follow-up call.

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-level behavior for a specific resource: it shows what a change would do, 'before and after,' with `notes` on effects, and explicitly says it is 'not made.' This distinguishes it cleanly from apply_change. It falls short of a 5 only because the opening clause is elliptical ('What a change would do' with no subject such as 'Returns' or 'Shows').

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?

It names the alternative and the condition that selects it: use this to inspect, then use apply_change with the change_id to actually perform the change. There is no explicit 'do not use when...' exclusion, but the dry-run versus apply split is unambiguous for an agent.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.