Skip to main content
Glama

Pitchlane

Change a Pitchlane campaign

update_campaign
Destructive

Change a Pitchlane campaign: its name, title template, folder, language, pages or outro, or attach a pitch video to a campaign that has none (a draft, whose recording_url also lets the user record one in the browser). A set pitch video cannot be changed: use create_campaign with from_campaign_id. Send only what changes. pages REPLACES the whole list: call get_campaign first and send every page that should remain, with its id, plus the new ones. Pass the revision from get_campaign so a change made meanwhile is refused instead of overwritten. To check a change to these first (what would change, and any problems) without applying it, call preview_campaign_update with the same arguments: it is read-only. A change to pages reprocesses the campaign (status processing). An archived campaign cannot be changed.

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

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.
validate_onlyNo`true`: apply nothing and answer what would change and the problems. Prefer preview_campaign_update for a dry run: it answers the same and is annotated read-only, so clients that ask before every write need not ask for it.
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.7/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false and destructiveHint=true, and the description goes well beyond that: it warns that `pages` REPLACES the entire list, that omitting existing pages destroys their stored data (recorded scroll, background), that a revision conflict returns 409 rather than overwriting, and that a pages change puts the campaign into `processing`. It also discloses the draft-state caveat that scrolling is not stored until a pitch video is attached. It stops short of stating auth/plan requirements or rate limits, so a 4 rather than a 5.

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?

Front-loaded with the action and its scope, then ordered by risk: what changes, what cannot change, the destructive pages-replacement warning, the concurrency guard, then the dry-run alternative. Sentences are dense but each carries an operational fact; there is no filler or restatement of the 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 12-parameter destructive mutation tool with no output schema, the description covers the things an agent would otherwise get wrong: replacement semantics, revision/409 conflicts, draft vs set pitch video, archived immutability, and the processing side effect. Nothing material to calling it 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%, so the parameter field descriptions already carry the burden and baseline would be 3. The description still adds cross-parameter meaning the schema does not: send only changed fields, `pages` is a full replacement requiring `get_campaign` output, pass `revision` to avoid clobbering, and pitch_video_media_id must be paired with pages carrying duration_seconds. That is genuine added semantics, though most per-parameter detail is still schema-side.

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 ('Change a Pitchlane campaign') and then enumerates exactly what is changeable: name, title template, folder, language, pages, outro, pitch video attachment. It actively distinguishes itself from siblings by naming create_campaign (for replacing a set pitch video) and move_campaigns (for bulk moves), so an agent can route correctly without opening the schema.

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?

Explicit when/when-not: 'Send only what changes', 'An archived campaign cannot be changed', 'A set pitch video cannot be changed: use create_campaign with from_campaign_id', and 'call get_campaign first' before sending pages. It also names preview_campaign_update as the read-only dry-run alternative and explains when to prefer it, plus move_campaigns for folders.

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