Skip to main content
Glama

Preparar chaves AE do movimento web

ae_preparar_movimento_web

Reads a JSON capture and writes a new 2D-converted batch file for After Effects, validating comp, layer, footage, and keyframes before application without modifying the project.

Instructions

Lê uma captura JSON e grava um arquivo novo com conversão 2D e lote batch.run para ae_do. Não altera o AE. O lote verifica comp, camada, footage e keys antes de aplicar; requer eval.run habilitado e não é transacional.

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": {
      "capturePath": "<capturePath>",
      "outPath": "<outPath>",
      "sourceSize": "<sourceSize>",
      "comp": "<comp>",
      "layer": "<layer>"
    },
    "name": "ae_preparar_movimento_web"
  }
}

Input Schema

NameRequiredDescriptionDefault
compYesNome único ou ID da comp AE, com viewport e fps da captura.
layerYesNome único ou índice de camada nova, 2D, sem parent nem keys.
outPathYesCaminho absoluto novo, com pasta existente, para a conversão e o lote.
sourceSizeYes[largura, altura] em pixels do footage a animar no AE.
timeOffsetNoDeslocamento das chaves em segundos; padrão 0.
capturePathYesCaminho absoluto da captura JSON existente.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare destructiveHint=false, so the description carries the real burden and does so well: it discloses that the AE project is untouched, that the batch pre-validates comp, layer, footage and keys before applying, that eval.run must be enabled as a hard prerequisite, and that the operation is not transactional. These are exactly the traits an agent needs to sequence and retry safely.

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?

Three tightly packed sentences: what it does, what it does not touch, then validation and prerequisites. No filler, and the most important constraints (AE untouched, eval.run required, non-transactional) are placed after the core action in a logical reading order despite the jargon density.

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 6-parameter write tool with no output schema, the description covers behavior, side effects and prerequisites well, which is most of what an agent needs. It leaves a small gap by not indicating what the call returns or what the written file contains structurally, and it does not touch timeOffset, relying on the schema for that.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds genuine meaning by stating that comp, layer, footage (sourceSize) and keys are validated against the AE project before the batch applies, implying these must reference existing entities. It does not clarify timeOffset or path semantics beyond the schema, so it is a modest lift rather than a full one.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a concrete verb pair and resource: reads a JSON capture and writes a new file containing the 2D conversion plus a batch.run batch destined for the sibling ae_do. This makes it immediately distinguishable from ae_do (which applies) and from ae_capturar_movimento_web (which captures), so the agent knows its position in the pipeline without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

"Não altera o AE" plus the explicit hand-off "lote batch.run para ae_do" tells the agent this is the preparation step and that application is a separate call, which is effective implicit routing. It does not spell out an explicit when-not-to-use condition or name other alternatives, so it stops short of a full 5.

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