Skip to main content
Glama

analyze_timeline

Parse a Final Cut Pro FCPXML file to return a compact timeline summary: resolution, fps, project duration, spine clips, markers, and caption counts. Use it before editing to understand the timeline.

Instructions

Parse a Final Cut Pro FCPXML file and return a compact timeline summary: resolution, fps, project duration, every spine clip (kind, name, offset, in-point, duration, lane), markers and caption counts. Use this FIRST to understand any timeline before editing it.

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": {
      "fcpxmlPath": "<fcpxmlPath>"
    },
    "name": "analyze_timeline"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoSpine page (clips are paginated so huge timelines don't flood context)
pageSizeNo
fcpxmlPathYesPath to the .fcpxml file

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and 'parse ... return a compact summary' implies a read-only, non-mutating operation while the clip-field enumeration tells the agent roughly what comes back. It does not state what happens on malformed XML, whether DTD validation is performed (a sibling, validate_dtd, exists), whether file-access permissions are needed, or confirm explicitly that nothing in the file is modified.

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?

Two sentences, front-loaded with the action and return payload, then the ordering guidance. The long parenthetical field list is dense but every item is information the agent needs to judge whether one call suffices; no filler or restatement of the name.

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

Completeness3/5

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

There is no output schema, so the description correctly takes on the job of describing return values, which it does thoroughly. However, for a file-parsing tool with pagination and possible XML validity failures, it is silent on error cases, on whether page/pageSize interact with the returned clip list, and on the relationship to validate_dtd, leaving meaningful gaps.

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 67%: fcpxmlPath and page are documented in the schema, while pageSize has no description, and the description adds no parameter-level detail at all. The pagination concept is only alluded to indirectly through the 'compact summary' framing, so the description neither compensates for the pageSize gap nor enriches the existing parameter docs.

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 names a specific verb and resource ('Parse a Final Cut Pro FCPXML file') and then enumerates exactly what the returned summary contains: resolution, fps, project duration, spine clips with kind/name/offset/in-point/duration/lane, marker and caption counts. This is far beyond the title and lets an agent distinguish it from siblings like validate_dtd or export_project_xml 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 Guidelines4/5

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

It gives a clear directive on sequencing: 'Use this FIRST to understand any timeline before editing it,' which tells the agent this is the reconnaissance step before mutation tools such as remove_silences or import_xml_into_fcp. It stops short of naming when NOT to use it or which sibling to pick when the file has not yet been validated, so it is clear but not fully exhaustive.

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