Skip to main content
Glama

close_project

Close the current After Effects project, choosing to save, discard, or prompt for unsaved changes; use force to proceed despite unsaved edits and target a specific instance when needed.

Instructions

Close the current project. save: "save" | "discard" | "prompt" (default).

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

Input Schema

NameRequiredDescriptionDefault
saveNo
forceNoProceed even if the current project has unsaved changes (a native Save dialog will block AE until dismissed).
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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden, yet it never states what happens to unsaved changes under each save mode, whether the host application stays open, or that the operation is irreversible after a discard. The force parameter's blocking-dialog behavior is documented only in the schema, not contextualized in the description.

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 short sentences with the action front-loaded and no filler. It is compact rather than padded, though the brevity edges toward under-specification given the tool mutates state.

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

Completeness2/5

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

For a state-destroying operation with no annotations and no output schema, the definition omits the consequences of each mode and the failure/blocking behavior an agent would need before calling it. The 3-parameter surface is only partly addressed.

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 67%, and the description's main contribution is disclosing that save defaults to "prompt", which the schema does not state. It adds nothing about force or instance beyond what the schema already documents, so the baseline 3 is appropriate.

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 gives a specific verb+resource ("Close the current project") and implies the scope is the active project, which an agent can distinguish from save_project/open_project without opening the schema. It does not explicitly name a sibling, but the action is unambiguous.

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

Usage Guidelines2/5

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

There is no guidance on when to use this rather than save_project first, nor on when the default 'prompt' mode is preferable to 'save' or 'discard'. The agent must infer the workflow entirely from the parameter enum.

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