Skip to main content
Glama

Inspect a comp

inspect_comp

Lists composition layers with type, in/out frames, parent, position, and keyframe counts so you can audit an After Effects comp's structure before editing.

Instructions

Lists layers with type, in/out frames, parent, position and key counts.

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": "inspect_comp"
  }
}

Input Schema

NameRequiredDescriptionDefault
compNoDefaults to the active comp

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden; 'Lists' plus the field enumeration does signal a non-mutating read of layer metadata, which is genuine behavioral context. However, it does not disclose ordering, whether the scan is expensive on large comps, or what happens when the specified comp does not exist.

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?

One sentence with zero filler, and the returned-field list is front-loaded where the agent needs it. It is slightly too compressed for a tool whose vocabulary is domain-specific, but nothing is wasted.

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?

For a simple one-optional-parameter read tool this is close to adequate, and the field list partially compensates for the absent output schema. It still leaves the agent guessing about result structure (one entry per layer, ordering, identifier formats) and about failure behavior for an invalid comp.

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?

The single 'comp' parameter is fully documented in the schema, including that it defaults to the active comp. The description adds no additional meaning about how a comp is identified (name, id, index) beyond what the schema already states, so the baseline 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?

States a specific verb and resource ('Lists layers') scoped to a comp, and enumerates what each entry carries (type, in/out frames, parent, position, key counts). That makes it clearly distinguishable from mutating siblings like animate_layer or move_camera, though the abbreviation 'comp' and AE-specific terms like 'in/out frames' assume domain familiarity.

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 explicit when-to-use guidance, no statement of prerequisites, and no routing to any alternative inspection path. The usage is only weakly implied by the word 'Lists'.

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