Skip to main content
Glama

Sound cues from animation

ae_sound_cues
Read-only

Reads a composition's keyframes to list ranked sound-effect cue points—entrances, exits, pops, taps, whooshes, arrivals, and typing—so you can choose and place SFX accurately.

Instructions

Read the comp's keyframes and list where sound effects belong — entrances (pop/whoosh), exits, scale pops, taps/clicks (layers named cursor/toque/tap), whooshes at the peak speed of fast moves, arrivals (light thud), typing — merged within 40 ms and ranked by weight. Use the list to pick SFX from the leveled library, then ae_place_sfx. House rule: one effect per element that enters or leaves, below the music/voice.

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": {
      "comp": "<comp>"
    },
    "name": "ae_sound_cues"
  }
}

Input Schema

NameRequiredDescriptionDefault
compYesComposition name or id.
instanceNoAfter Effects instance to address for this call, when several are running (AfterFX.exe -m): an instance id (its AE_MCP_INSTANCE at launch, or the `name` given to instance.start) or the name of the project file it has open. Omit to use this server's default (AE_MCP_INSTANCE, else the single live instance). ae_context and ae_do instance.list show what is live.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A4.2/5.0
Behavior3/5

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

Annotations declare readOnlyHint=true, and the description is consistent with a read-only analysis pass. It adds real behavioral context beyond annotations: merge window of 40 ms, ranking by weight, detection heuristics keyed to layer names (cursor/toque/tap), and the loudness rule. It does not disclose output shape, cost, or whether keyframe scanning is limited to the current comp's active range, so a 3 is appropriate.

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?

One dense but front-loaded paragraph: the action and output come first, then the detection taxonomy, then the follow-up call and house rule. Every clause carries operational information; no filler or restatement of the title.

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 read-only analysis tool with a fully documented two-parameter schema and no output schema, the description covers purpose, detection rules, merging, ranking, and next step. The remaining gap is the return format (field names, ordering guarantee), which matters since there is no output schema to fall back on.

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% and both parameters (comp, instance) are documented in the schema, so the baseline is 3. The description adds nothing about the comp parameter (name vs id) or instance selection; its detail is about detection heuristics, not parameters.

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 (read keyframes, list sound-effect placements) and resource (the comp's keyframes), enumerates the categories it detects (entrances, exits, scale pops, taps, whooshes at peak speed, arrivals, typing), and names the downstream consumer (ae_place_sfx). It is clearly distinguishable from the placement sibling.

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

Usage Guidelines5/5

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

Explicitly routes the workflow: use this list to pick SFX from the leveled library, then call ae_place_sfx. It also gives the house rule (one effect per element that enters or leaves, below music/voice), so an agent knows both when to use it and what constraint to honor afterwards.

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