Skip to main content
Glama

suggest_clips

Suggest better B-roll for video cutaways. For a local cut, get ranked alternatives with thumbnails; for hosted projects, list cutaways or search the B-roll library by theme to see matching clips.

Instructions

See a project's cutaways and find better B-roll for one of them. LOCAL project (default): pass cut (0-based) to get ranked alternatives for that cutaway, each with a thumbnail. HOSTED Swap & Refine project (pass job_id, or set VIRALSPIN_HOSTED_JOB_ID): call with no query to list the timeline's cutaways (segment id + the beat each covers + current clip); call with query (e.g. "newborn in hospital") to search the user's B-roll library — each result includes the library tags it matched on, which is the 'why this clip fits' to show the user. Then call swap_clip to apply a choice.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cutNoLOCAL only: index of the cutaway to replace (0-based; from the cut list create_video_assembly returns).
queryNoHOSTED: theme to search the B-roll library for (the moment's subject). Omit to list the timeline's cutaways instead.
job_idNoHOSTED: the Swap & Refine project (narrative job) to inspect. Omit to use VIRALSPIN_HOSTED_JOB_ID, or the local project.
Behavior4/5

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

With no annotations available, the description explains behavior in detail: it lists what each mode returns (ranked alternatives with thumbnails, timeline cutaways with segment info, library matches with matched tags). It implies read-only behavior but does not explicitly state side-effect freedom or error cases, which is a minor gap.

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?

The description is long but well-structured: a front-loaded summary sentence followed by clearly separated LOCAL and HOSTED sections. Every sentence delivers essential information about mode-specific behavior and outputs, though it could be slightly more compact without losing clarity.

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?

Since there is no output schema, the description thoroughly explains return values for each mode (e.g., 'segment id + the beat each covers + current clip' and 'library tags it matched on'). It also covers the full workflow by mentioning the follow-up swap_clip call, making it complete for a tool with this complexity.

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%, and the description largely repeats the same parameter details as the schema. It adds some context on how parameters interact (e.g., job_id vs cut) and what each mode produces, but the schema already conveys individual parameter semantics. Therefore, the baseline of 3 is appropriate.

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?

The description clearly states the tool's purpose: 'See a project's cutaways and find better B-roll for one of them.' This uses a specific verb and resource, and it distinguishes from the sibling tool swap_clip by explicitly saying 'Then call swap_clip to apply a choice.'

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?

The description provides explicit guidance on when to use LOCAL vs HOSTED modes, and within HOSTED, when to omit vs provide a query. It also points to an alternative tool (swap_clip) for applying a choice, giving clear context for usage.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AI-Product-Allen-Yu/viralspin-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server