Skip to main content
Glama

watch_get_replay

Converts the current watch recording into an ordered batch of portal tool calls that reproduces recorded edits, ready to feed to the batch tool; non-reproducible edits are returned as unmapped.

Instructions

Convert the current watch recording into an ordered batch of portal tool calls that reproduces what was done — feed the returned operations straight to the batch tool. Layer/comp targets use {id} addressing. Returns { operations:[{tool,args}], count, unmapped:[...] } (plus deltas[] when relative:true). Mapping: value edits → set_property; key_add/key_mod → add_keyframe; path_change → set_path; parent → parent_layers; blend → set_layer_blend_mode; in_point/out_point → set_in_out; enabled → toggle_layer_state; text → set_text; layer_del → delete_layer. Non-reproducible edits (layer_add, key_del, key_ease with no recorded ease values, font/font_size/text_animator) go to unmapped with a human note — never fabricated. dedupe (default true) collapses a drag's many intermediate value samples to the final value per layer+prop.

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

Input Schema

NameRequiredDescriptionDefault
dedupeNoWhen true (default), collapse repeated value edits on the same layer+prop to the final value (a drag emits many). Set false to keep every recorded intermediate value.
instanceNoTarget a specific AE when more than one is connected (e.g. "2026", "2025", or a major like "26"). Omit when only one AE is open — see list_instances.
relativeNoWhen true, also return deltas[] (old→value change) for transform Position/Anchor Point value ops so the caller can retarget them onto another layer. operations stay ABSOLUTE — set_property sets absolute values.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so: it publishes the return shape, maps each recorded edit type to its target tool, and explicitly declares that non-reproducible edits (layer_add, key_del, key_ease without ease values, font changes) go to `unmapped` with a human note and are "never fabricated." That is a real behavioral guarantee an agent cannot get from schema fields.

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?

The purpose and the batch hand-off are front-loaded, followed by the return contract and a compact mapping list. It is dense and the arrow-chain mapping is scannable, though the single paragraph packs several distinct concerns (contract, mapping, unmapped policy, dedupe) that could be split for faster parsing.

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

Completeness5/5

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

No output schema exists, but the description supplies the return shape and the per-operation structure, which is exactly what an agent needs to chain into `batch`. For a three-optional-parameter read tool with no annotations, nothing essential is missing.

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 meaning beyond it: it explains that deltas[] appear only when relative:true and that operations stay ABSOLUTE so retargeting must happen by the caller, plus how dedupe collapses a drag's intermediate samples. The `instance` parameter is only covered by the schema, not the description.

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 specific verb and resource ("Convert the current watch recording into an ordered batch of portal tool calls") and immediately names the consumer of the result (`batch`). This clearly separates it from sibling read tools like watch_get_log or watch_status.

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?

Gives an explicit downstream instruction — "feed the returned operations straight to the `batch` tool" — and explains the dedupe/relative branches with concrete conditions. It stops short of naming when to prefer a sibling (e.g. raw event log vs. reproduction plan), leaving that to inference.

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