Skip to main content
Glama

assign_role

Assign an audio or video role (dialogue, music, effects, titles, etc.) to a clip in a Final Cut Pro FCPXML file, enabling role-based organization and mixing.

Instructions

Set the audio or video role on a clip (dialogue, music, effects, titles, etc.)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filepathYesPath to FCPXML file
clip_idYesClip name or ID
audio_roleNoAudio role (e.g., dialogue, music, effects)
video_roleNoVideo role (e.g., video, titles)
output_pathNoOutput path (default: adds _modified suffix)
Behavior2/5

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

With no annotations, the description must disclose behavioral traits. It states the tool sets roles, implying mutation, but does not clarify overwrite behavior, side effects on other roles, or whether both audio and video can be set simultaneously. Lacks details on error conditions or idempotency.

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?

Single sentence of 13 words, no redundancy. Every word is functional. Front-loaded with action and resource.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 5 parameters, no output schema, and no annotations, the description is insufficient. Lacks details on return value, error handling, file prerequisites, and how it interacts with other modifications. Does not differentiate from similar mutation tools like change_speed or apply_template.

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 covers 100% of parameters with descriptions, so baseline is 3. The description adds minor value by listing role examples, but these are already evident from schema parameter descriptions. No additional semantic detail beyond schema.

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 explicitly states the action (set role) and resource (clip), with examples of roles (dialogue, music, effects, titles). It clearly distinguishes from sibling tools like filter_by_role (which filters clips) and list_roles (which lists roles).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to use this tool versus alternatives like filter_by_role or list_roles. Does not specify prerequisites (e.g., clip must exist) or typical use cases. The description only states the function without context.

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/DareDev256/fcpxml-mcp-server'

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