Skip to main content
Glama

Pitchlane

Create or update one prospect's video

create_or_update_video
Destructive

Create one prospect's video in a Pitchlane campaign, or with upsert create-or-update it. lead is keyed exactly as get_campaign's import_fields.create_or_update_video_keys lists (variable names such as first_name, website_0 on a campaign not set up for imports, the mapped column names such as First Name on one that is). Use it for the campaign's test video: the first lead, rendered, before the rest go in with add_videos (on a campaign not set up for add_videos this also sets the import up by variable name). Also to correct one lead. With render: true the video is queued; while the campaign's test video is not approved it becomes the new test video (at most 10 per organisation per day). Answers the video and renderQueue (whether it was queued, and why not).

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>",
      "lead": "<lead>"
    },
    "name": "create_or_update_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
leadYesThe lead's values, keyed as get_campaign's `import_fields.create_or_update_video_keys`, e.g. {"First Name":"Ada","Company URL":"https://example.com"} or, by variable name, {"first_name":"Ada","website_0":"https://example.com"}.
titleNoThe video's title. Without it the campaign's title template makes one.
renderNo`true` (default): queue the video to render. `false`: store it only.
upsertNo`true`: create or update. If a video of the campaign has the same `original_uid` (or, without one, the same value in the campaign's duplicate field), that video is updated in place, and re-rendered with `render` when its values changed; otherwise a new video is created. Needs `original_uid` or a duplicate field set on the campaign. `false` (default): only create; a duplicate is refused.
campaign_idYesThe campaign's id, as list_campaigns returns it, e.g. `o6duFik0_UNSUGPCn1LTm`.
original_uidNoThe user's own id for this lead (e.g. a CRM id). A lead with the same one, or the same value in the campaign's duplicate field, is refused as a duplicate unless `upsert`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing that render:true queues the video, that while the test video is unapproved the new one replaces it, and a concrete rate limit ('at most 10 per organisation per day'). It also discloses the duplicate-refusal / in-place-update behavior and the return payload (video and renderQueue with the reason it wasn't queued), which the annotations alone do not convey.

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?

Front-loads the core action and the upsert variant, then layers usage and behavior in a logical order with no filler. It is dense and somewhat run-on with many parenthetical clauses, which costs a point on readability, but nearly every clause carries operational information.

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 six-parameter, nested-object mutation with no output schema, the description supplies the prerequisites, the side effects (test video replacement), the rate limit, and what the response contains. An agent has everything needed to call it correctly without opening the schema.

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%, so the schema already documents every parameter including lead keying, upsert, original_uid, and render defaults. The description reinforces the upsert create-or-update meaning and the lead keying sources, but adds little syntax or format detail beyond the schema, so the baseline 3 applies.

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 and resource ('Create one prospect's video in a Pitchlane campaign') and immediately distinguishes the upsert mode. It also separates it from the sibling add_videos by scope: this one handles the single test/corrective lead, while add_videos handles the bulk rest.

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?

Explicitly states the two situations to use it ('the campaign's test video: the first lead, rendered' and 'to correct one lead') and names the alternative (add_videos) with the condition that selects it. It also flags a prerequisite relationship: on a campaign not set up for add_videos, this call also sets up the import by variable name.

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