Skip to main content
Glama

Pitchlane

Approve a campaign's test video

approve_test_video
Idempotent

Approve a Pitchlane campaign's test video, which lets the campaign's other videos render (the dashboard's Approve button). Call it ONLY after the user has watched that exact video and said to approve it: first show them its link (videoUrl from list_videos with video_id = get_campaign's testVideoApproval.videoId) and ask; never approve on your own judgement or straight after showing the link. Pass that video's id as test_video_id. The tool refuses, without approving, unless that id is the campaign's test video and it has finished rendering, and the API itself approves only that video: if the test video is replaced meanwhile, nothing is approved. After approving, add the remaining leads with add_videos (render all).

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>",
      "test_video_id": "<test_video_id>"
    },
    "name": "approve_test_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
campaign_idYesThe campaign's id, as list_campaigns returns it, e.g. `o6duFik0_UNSUGPCn1LTm`.
test_video_idYesThe id of the test video the user watched and said to approve: get_campaign's `testVideoApproval.videoId`, whose link you showed them.

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 cover safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=true), but the description adds substantial behavior the annotations cannot express: the tool refuses unless the id is the campaign's test video and it has finished rendering, and a concurrent replacement means nothing is approved. That failure-mode detail is exactly what an agent needs before invoking a mutation.

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 purpose and effect, then preconditions, then failure behavior, then follow-up — a logical order with no filler. It is dense, with nested sourcing clauses and backticks, which costs some readability but not correctness.

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 two-parameter mutation with no output schema, the description covers what it does, when it may be called, what it refuses, race behavior, and the next step. Nothing an agent needs to invoke 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 constraints beyond the schema: `test_video_id` must be the id of the video the user actually watched, and it is sourced from get_campaign's `testVideoApproval.videoId` after showing them its link. That sourcing chain is meaningful guidance the schema only partially restates.

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 ("Approve a Pitchlane campaign's test video") and explains the effect (it lets the campaign's other videos render) plus the UI equivalent (dashboard's Approve button). This clearly separates it from siblings like render_campaign, add_videos, and render_video.

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 precondition (ONLY after the user watched that exact video and said to approve) and explicit prohibitions (never on your own judgement, never straight after showing the link). It also names the follow-up tool and mode (add_videos with render `all`).

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