Skip to main content
Glama

Pitchlane

Preview a Pitchlane campaign change

preview_campaign_update
Read-only

Dry-run a change to a Pitchlane campaign's content or ordinary settings without applying it: name, title template, folder, language, pages, outro, or a pitch video for a draft, with the same argument names as update_campaign. It answers what would change (the settings set, the variables added and removed, what would be processed again) and the problems that would refuse it. No campaign change is saved or queued, and nothing is recorded from the web; the API's usual request bookkeeping (rate limits, logs) still applies. It does NOT check landing page settings or hosting (landing_page_hosting, landing_page_public_fields): a call with those, or with any argument not listed here, is refused and nothing is checked. Use it to check a change, e.g. attaching an uploaded pitch video and pages to a draft, before update_campaign applies it. A clean preview is not a guarantee: setup checks that run when the change is applied (measuring the media, a folder deleted meanwhile) can still refuse it. pages is checked as the whole new list, as update_campaign would replace it. revision (from get_campaign) guards the pages and outline only: refused with 409 if they changed since; a change to name, folder or other settings made meanwhile does not move it. An archived campaign is refused, except a change of folder_id alone.

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

Input Schema

NameRequiredDescriptionDefault
nameNoA new name.
pagesNoThe pages shown behind the pitch video, in order, at least one. Replaces every page: include the pages to keep, each with its `id` from get_campaign, and their fields as get_campaign shows them (`scroll: "custom"` and `null` values included) or left out. Example: [{"type":"lead_url","template":"website","duration_seconds":20,"scroll":"auto"},{"type":"url","url":"https://acme.com/pricing"}].
revisionNoThe campaign's `revision` from get_campaign. The change is refused (409) when the pages changed since. Recommended whenever `pages` is sent.
folder_idNoMove to this folder (an id from list_folders). `null` takes it out of its folder. To move several campaigns, or an archived one, use move_campaigns.
campaign_idYesThe campaign's id, as list_campaigns returns it, e.g. `o6duFik0_UNSUGPCn1LTm`.
remove_outroNo`true`: remove the outro. Not with `outro_media_id` or `outro_enabled`.
outro_enabledNoSwitch the outro in place on or off.
outro_media_idNoAttach this outro (media type `outro_video`), replacing any outro in place.
title_templateNoA template for the videos' titles, e.g. `Video for {{first_name}}`. `null` clears it.
language_preferenceNoThe language of the video pages, as a code, e.g. `de`. `null` clears it.
pitch_video_media_idNoOnly for a campaign without a pitch video (a `draft`): the media id of the pitch (type `pitch_video`). Send `pages` with their `duration_seconds` in the same call.

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 readOnlyHint and destructiveHint=false, but the description goes further: nothing is saved or queued, nothing is recorded from the web, yet rate limits and logs still apply. It also discloses the 409 revision guard, the archived-campaign rule, and the honest caveat that a clean preview does not guarantee the apply will succeed.

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?

Purpose and the update_campaign pairing are front-loaded, and nearly every sentence carries distinct information (scope, refusals, caveats, revision semantics). It is a dense single paragraph, however, and would be easier to scan as bullets given its length.

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 an 11-parameter preview tool with no output schema, it covers what the preview returns (settings set, variables added/removed, what would be reprocessed), the refusal conditions, and the limits of the guarantee. Nothing an agent needs to call it correctly 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%, so the baseline is 3, but the description adds real meaning beyond the schema: `pages` is validated as the whole replacement list exactly as update_campaign would apply it, and `revision` guards only pages and outline while name/folder changes do not move it. That scoping nuance is not in the schema text.

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?

Opens with a specific verb+resource: "Dry-run a change to a Pitchlane campaign's content or ordinary settings without applying it," then enumerates the affected fields. It explicitly contrasts with update_campaign, which is the sibling an agent would otherwise confuse it with.

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?

States the use case ("Use it to check a change ... before update_campaign applies it"), gives a concrete scenario (attaching an uploaded pitch video and pages to a draft), and names explicit exclusions: landing page settings/hosting and any unlisted argument are refused, and archived campaigns are rejected except a folder_id-only move.

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