Skip to main content
Glama

Find where an item is used

find_comp_usage
Read-only

Find which After Effects compositions use a given comp or footage item, including layer indexes and names; enable transitive mode to list ancestor comps that contain it indirectly.

Instructions

Find which compositions use a comp or footage item, with the layer indexes/names that reference it. transitive=true also lists every comp that contains it indirectly (ancestors up the nesting chain).

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": {
      "item": "<item>"
    },
    "name": "find_comp_usage"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemYesComp or footage item: name, 'Folder/Name' path or id.
transitiveNoAlso list indirect (ancestor) comps.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so safety is covered structurally; the description adds value by specifying what comes back (referencing layer indexes and names) and by explaining that transitive mode walks ancestor comps up the nesting chain. It stops short of mentioning depth limits, result size, or ordering, which would be the remaining behavioral detail for a recursive lookup.

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 core lookup and immediately followed by the mode-defining clause about transitive. No filler, no redundant restatement of the title.

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 only two parameters, no output schema, and read-only annotations, the description covers what the tool does and roughly what it returns. Because there is no output schema, a slightly fuller statement of the returned structure (e.g., grouping by comp, layer ordering) would have closed the last gap.

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 schema already explains both 'item' (name, 'Folder/Name' path or id) and 'transitive' (also list indirect ancestor comps). The description only restates the transitive meaning in slightly more concrete terms ('ancestors up the nesting chain') and adds nothing about the item identifier formats, so the baseline of 3 applies.

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 names a specific verb and resource ('Find which compositions use a comp or footage item') and even states the shape of the result ('layer indexes/names that reference it'), which makes the reverse-dependency purpose unambiguous. It is easily distinguished from sibling lookups like get_item_info or find_missing_footage by its direction of query, though it never explicitly contrasts itself with any sibling.

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: the transitive clarification tells the agent there are two modes (direct references vs. ancestors up the nesting chain), which is useful conditional guidance. There is no explicit when-to-use framing, no prerequisites, and no mention of an alternative tool for related questions such as item metadata.

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