Skip to main content
Glama

Layers active at a time

get_comp_layers_at_time
Read-only

Lists composition layers active at a specific time and indicates which actually render, helping identify what appears on screen at a given frame.

Instructions

List the layers whose in/out range covers a given time, each with 'rendered' (enabled, not hidden by solo, not a guide/null/camera/light/audio-only). Useful to know what is on screen at a frame.

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

Input Schema

NameRequiredDescriptionDefault
compNoComposition name, 'Folder/Name' path, or item id. Omit to use the active composition.
timeNoTime to check (default: the comp's current time).
onlyVisibleNoOnly layers that actually render at that time.

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 and destructiveHint=false, so safety is covered. The description adds valuable behavioral detail by defining what the 'rendered' flag means (enabled, not hidden by solo, not a guide/null/camera/light/audio-only), which is not present in the annotations.

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?

The description is two tightly written sentences. The core purpose is front-loaded, followed by the clarification of 'rendered' and a brief use case. There is no wasted wording.

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?

For a simple read-only query with three optional parameters, no output schema, and full schema coverage, the description is nearly complete. It explains the key nuance ('rendered') but could have noted how onlyVisible interacts with the returned layer set, though the schema covers that.

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 three parameters (comp, time, onlyVisible) are fully documented in the schema. The description adds no further parameter semantics beyond the phrase 'given time,' making the baseline 3 appropriate.

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 uses a specific verb and resource: 'List the layers whose in/out range covers a given time.' This clearly distinguishes the tool from a generic layer list, but it does not explicitly name or contrast with sibling tools like list_layers or search_layers.

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?

The sentence 'Useful to know what is on screen at a frame' implies a use case, but there is no explicit when-to-use guidance, no exclusions, and no named alternatives. The agent must infer that this tool is for temporal layer visibility queries.

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