Skip to main content
Glama

Pitchlane

List a campaign's videos

list_videos
Read-only

List the videos (one per prospect) of a Pitchlane campaign, newest first by default, with filters: status (RENDERED, NOT_RENDERED, ERRORED, ISSUE, INVALID_LEAD), search text, viewed, converted, one video by video_id or original_uid. Each row has the prospect's variables, status, the video's landing page (videoUrl) and MP4, timestamps, and why it failed when it did. Use it after add_videos to check renders and to find the test video's link. Answers one page; pass next_cursor as cursor, with the same filters, for the next. detail: "full" returns every field the API has.

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

Input Schema

NameRequiredDescriptionDefault
limitNoHow many videos to return, 1 to 100. Defaults to 20; keep it small unless the user needs more.
cursorNo`next_cursor` from the previous call, to get the next page. Leave it out for the first page, and send the same filters as that call.
detailNo`concise` (default): the fields above. `full`: every field of each video, including embed HTML and thumbnails. Use `full` with a small `limit`.concise
searchNoText to find, in any case, in the title, ids and the lead's values, e.g. a name or a domain. Slower on large campaigns.
statusNoOnly videos in this state. `RENDERED`: ready to send. `NOT_RENDERED`: waiting or rendering. `ERRORED`: could not be made (see `problem`). `ISSUE`: a problem was reported with it. `INVALID_LEAD`: the lead's data was refused.
viewedNo`true`: only videos a prospect has viewed. `false`: only never-viewed ones.
sort_byNoWhat to sort by. Each row has its `views` and `starts`; conversions are sorted by but not shown.created_at
video_idNoOnly the video with this id.
convertedNo`true`: only videos whose prospect clicked through or booked.
descendingNo`true` (default): newest or highest first. `false`: oldest or lowest first.
campaign_idYesThe campaign's id, as list_campaigns returns it, e.g. `o6duFik0_UNSUGPCn1LTm`.
original_uidNoOnly the video with this `originalUid` (the user's own id for the lead).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only declare read-only/non-destructive/closed-world, but the description adds real behavior: newest-first default ordering, the fact that the call returns exactly one page, and what each row contains (prospect variables, status, videoUrl, MP4, timestamps, failure reason). With no output schema, that row-content sketch is the only place an agent learns the return shape.

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?

Dense but front-loaded: purpose and ordering first, filters second, pagination and detail mode last. Every sentence carries information, though the filter enumeration and the return-field sketch could be trimmed slightly without loss.

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?

For a 12-parameter, no-output-schema read tool it covers invocation context, ordering, pagination, and a rough return shape, which is what an agent needs to call it correctly. It stops short of noting interactions such as how limit affects cursor pages, but nothing essential is missing.

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 each parameter (status meanings, limit bounds, detail modes, cursor reuse) is already documented upstream. The description restates the filter list and clarifies detail:'full' as 'every field the API has', which adds little beyond the schema, so the baseline of 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 ('List the videos (one per prospect) of a Pitchlane campaign'), states the default ordering, and names the filter axes. An agent can distinguish this from add_videos, list_campaigns, or delete_video without opening any 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?

Gives an explicit trigger ('Use it after add_videos to check renders and to find the test video's link') and covers the single-item case by pointing at the video_id/original_uid filters rather than another tool. It also states the pagination protocol: one page per call, re-pass next_cursor as cursor with the same filters.

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