Skip to main content
Glama

assign_role

Set the audio or video role on a clip in a Final Cut Pro XML file, choosing from categories like dialogue, music, effects, or titles.

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?

Lacks annotations, so the description must fully disclose behavior. It mentions setting a role but does not state whether existing roles are overwritten, what happens if roles conflict, or any side effects on the clip.

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?

A single sentence conveys essential purpose without any extraneous words; it is highly efficient and front-loaded.

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?

Despite 5 parameters and no output schema, the description omits important context like default output_path behavior, interaction between audio and video roles, and error handling, leaving the agent underinformed.

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 coverage is 100%, so baseline is 3. The description repeats examples from the schema (e.g., dialogue, music) without adding deeper semantic context, so score remains 3.

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 uses the verb 'Set' and specifies the resource 'audio or video role on a clip', clearly distinguishing it from sibling tools like list_roles or filter_by_role.

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 is given on when to use this tool versus alternatives (e.g., using list_roles to see available roles first). No exclusions or prerequisites are mentioned.

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