Skip to main content
Glama

Composition info

get_comp_info
Read-only

Retrieve full After Effects composition settings—size, frame rate, duration, work area, renderer—plus layer list, marker count, and comp usage for an active or specified comp.

Instructions

Full settings of a composition (size, fps, duration, work area, current time, motion blur / shutter settings, renderer and valid renderers, resolution, flags), a compact layer list (index, name, type, in/out, parent index, source), comp marker count and which comps use it.

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_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
compNoComposition name, 'Folder/Name' path, or item id. Omit to use the active composition.
layerLimitNoMax layers listed (default 100).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so safety is covered. The description adds genuine value beyond that by disclosing the returned data scope, including that the layer list is deliberately compact, that a marker count plus which comps use it are included, and that renderers are reported with a validity flag — behavior an agent cannot see without an output schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single dense run-on sentence with a long parenthetical list; nothing is wasted but the structure makes it harder to scan than a short lead plus bulleted scope. The core subject is front-loaded, which helps.

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 field enumeration is exactly the missing piece and it is supplied thoroughly, covering size, fps, duration, work area, time, blur/shutter, renderers, resolution and flags. It falls short only on behavior the agent might need, such as what happens with an invalid comp reference or how truncation past layerLimit is signaled.

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 that comp accepts a name, 'Folder/Name' path, or id and that omitting it uses the active composition, plus the layerLimit default of 100. The description adds no parameter meaning beyond that, which is the expected baseline when the schema does the work.

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 the specific resource (a composition's settings) and enumerates exactly which settings are returned, so the agent knows what it gets. However, it never states the action as a verb and does not distinguish it from siblings such as get_project_info, get_comp_flowchart, or get_comp_layers_at_time, so an agent must infer that this is the general per-comp read.

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?

There is no when-to-use guidance at all: nothing says to call this before set_comp_settings, or to prefer get_comp_layers_at_time when only layers at a moment matter, or get_comp_flowchart for structure. Usage is only implied by the field list.

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