Skip to main content
Glama

use_instance

Set the default After Effects instance for commands that omit an instance argument, accepting a version or port so you can target one open AE without repeating it.

Instructions

Set the default After Effects instance that subsequent commands target when they don't pass their own instance. Accepts an instance id ("2026"/"2025"), an AE major ("26"), or a port. A per-call instance argument always overrides this. Useful when two AEs are open and you want to work in one for a while without repeating instance on every call.

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": {
      "instance": "<instance>"
    },
    "name": "use_instance"
  }
}

Input Schema

NameRequiredDescriptionDefault
instanceYese.g. "2026", "2025", "26", or a port number

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does disclose that it mutates persistent state affecting subsequent commands, plus override precedence. It leaves lifecycle questions unanswered: how long the default persists, how to clear/reset it, and what happens if the named instance is not running.

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?

Four short sentences, front-loaded with the core effect of the call. There is minor redundancy, since 'when they don't pass their own instance' and 'A per-call `instance` argument always overrides this' convey the same rule twice.

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 one-parameter, non-annotated configuration tool, the description is close to sufficient, and no output schema means return values need not be explained. It is still thin on error behavior and default lifetime, which matter for a call that silently changes the target of every later command.

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 coverage is 100% and the schema example already lists "2026"/"2025"/"26"/port, so the description largely restates it. It adds the small clarification that an AE major like "26" is accepted alongside the id, but no resolution rules for ambiguous or conflicting identifiers.

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?

Names a specific verb and resource: 'Set the default After Effects instance that subsequent commands target.' It also scopes the effect precisely ('when they don't pass their own instance'), which lets an agent place it against per-call instance targeting without opening a schema.

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?

States the selecting condition explicitly ('useful when two AEs are open and you want to work in one for a while') and names the alternative behavior (per-call `instance` always overrides). Both the when-to-use and the competing mechanism are spelled out.

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