Skip to main content
Glama

ae_dialog

Detect and dismiss modal dialogs from After Effects and third-party plugins, set handling policies, and recover queued operations to keep automation workflows running.

Instructions

Modal dialog watchdog & queue recovery for AE and third-party plugins (e.g., Trapcode Particular warnings). Actions: detect, policy_get, policy_set, dismiss, reset_queue.

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": {
      "action": "<action>"
    },
    "name": "ae_dialog"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYesDialog watchdog action to perform.
handleNoWindow handle (from action=detect) to dismiss.
policyNoDialog handling policy for policy_set.
buttonTextNoButton label to click on the dialog (default 'OK').

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does disclose that this touches third-party plugin dialogs and that queues can be reset, which signals state mutation. However, it does not state whether dismiss is irreversible, what 'queue recovery' actually restores, or how the notify vs whitelist policies differ in effect — meaningful gaps for a mutating tool.

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?

Two sentences, front-loaded with the purpose before the action inventory, and every phrase carries meaning. The action list is a useful index rather than filler.

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

Completeness3/5

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

For a four-parameter tool with no annotations and no output schema, the definition should explain what detect returns (a handle) and how the policy modes affect subsequent behavior. The 100% schema coverage offsets some of this, but the multi-action polymorphism leaves the agent to piece the workflow together from the enum.

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%, with enums on both action and policy, so the schema already documents every parameter. The description adds only situational context (plugin warning dialogs) and no syntax, defaults, or handle-lifetime details beyond what the schema provides.

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 names a specific resource (modal dialogs) and a specific capability set (watchdog and queue recovery), with a concrete example ('Trapcode Particular warnings') that grounds the concept. It enumerates the five actions, so an agent knows the tool's operating envelope. It stops short of distinguishing itself from siblings by name, but no sibling obviously overlaps.

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?

Listing the actions (detect, policy_get, policy_set, dismiss, reset_queue) implies the workflow, but there is no explicit when-to-use guidance, no ordering (e.g., 'call detect first, then dismiss with the returned handle'), and no statement of when to prefer this over simply evaluating JSX or checking ae_status. Usage must be inferred.

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