Skip to main content
Glama

ae_text_get_document

Reads full TextDocument properties from a specified text layer so you can inspect or modify text formatting, paragraphs, and source content in After Effects projects.

Instructions

Baca properti lengkap TextDocument pada layer teks

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": {
      "layerIndex": "<layerIndex>"
    },
    "name": "ae_text_get_document"
  }
}

Input Schema

NameRequiredDescriptionDefault
compIdNoID numerik CompItem (opsional jika comp aktif)
compNameNoNama CompItem (opsional)
layerIndexYes
timeSecondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.9/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does convey that the operation is a read (non-mutating) and that it returns the complete property set of a TextDocument, plus an implicit precondition that the target layer must be a text layer. It omits error behavior, whether comp/layer resolution falls back to the active comp, and any rate or auth considerations.

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?

A single front-loaded sentence with no filler. It is efficient, though its terseness borders on under-specification for a four-parameter tool.

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

Completeness2/5

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

With no annotations, no output schema, and two undocumented parameters, the description should do more: explain the optional comp targeting, what 'timeSeconds' means for a text document read, and what 'complete properties' includes. As written, an agent has to guess at invocation details.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 50%: compId and compName are documented in the schema, but layerIndex and timeSeconds have no description anywhere. The tool description explains none of the four parameters, so it does not compensate for the coverage gap.

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 verb ('Baca' = read) and a specific resource ('properti lengkap TextDocument'), scoped to 'pada layer teks'. This clearly contrasts with the setter sibling ae_text_set_document by implication, though that sibling is never named.

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, no prerequisites, and no mention of alternatives such as ae_text_set_document or ae_property_get_value. The agent must infer from the verb alone that this is the read counterpart to the setter.

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