Skip to main content
Glama

Comp flowchart (nesting tree)

get_comp_flowchart
Read-only

Map a composition's nesting tree with precomps, layer indexes, and reverse dependencies, or inspect all top-level comps. Optionally lists footage sources per comp.

Instructions

Nesting tree of a composition: its precomps recursively (with the layer indexes that use each), plus the reverse tree of comps that use it. With project=true, returns the trees of all top-level comps instead. Optionally lists footage sources per comp.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_comp_flowchart"
  }
}

Input Schema

NameRequiredDescriptionDefault
compNoComposition name, 'Folder/Name' path, or item id. Omit to use the active composition.
depthNoMax nesting depth to expand (default 8).
projectNoReturn trees for every top-level comp (comp is ignored).
maxNodesNoStop expanding after this many comp nodes (default 400).
includeFootageNoAlso list footage/solid sources per comp (default false).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false, openWorldHint=false), so the bar is lower, and the description still adds the shape of the response: a forward precomp tree annotated with layer indexes and a reverse dependency tree. With no output schema, that return-structure context is genuinely useful. It does not mention truncation or what happens when maxNodes is hit, which keeps it from a 5.

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?

Three sentences, front-loaded with the core behavior and then the two mode variants, with no filler. The parenthetical layer-index detail is dense but earns its place by describing the output.

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

Completeness4/5

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

With no output schema, the description does the necessary work of sketching the returned tree structure and the reverse dependency tree. Combined with fully documented parameters and annotations, an agent can call this correctly. It could be slightly stronger by noting that depth/maxNodes cause truncation of the returned tree.

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%, so all five parameters are already documented with defaults and the 'comp is ignored' rule, making the baseline 3. The description adds only modest extra meaning, mainly clarifying that includeFootage lists footage/solid sources per comp rather than globally.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific resource and result: the nesting tree of a composition, its recursive precomps with the layer indexes that reference each, plus the reverse tree of dependent comps. That is far more than a restatement of the name. It does not explicitly contrast itself with sibling tools such as find_comp_usage or get_comp_info, so it stops short of a 5.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: 'Omit to use the active composition' and 'With project=true, returns the trees of all top-level comps instead' tell the agent how the modes differ. There is no explicit when-to-use or when-not-to-use guidance against alternatives like find_comp_usage, so the agent must infer the selection criteria.

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

Deploy Server

Other Tools