Skip to main content
Glama

Close project

close_project
Destructive

Closes the open After Effects project and leaves an empty untitled project. Save to its file or a new .aep path, or discard unsaved changes, since no dialog is shown.

Instructions

Close the open project (AE is left with an empty untitled project). Dirty projects need saveCurrent (true or path) or discardChanges:true; never shows a dialog.

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
overwriteNoAllow saveCurrent to replace an existing different .aep file.
saveCurrentNoSave the open project first: true = save to its own file (fails if it was never saved), or a .aep path (save as).
discardChangesNoRequired (true) when the open project has unsaved changes and saveCurrent is not given; those changes are lost.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the destructive nature is not new information. The description does add real value beyond them: unsaved changes are lost, the app ends in an empty untitled project, and no confirmation dialog will appear. It says nothing about failure modes (e.g., what happens when saveCurrent is true and the project was never saved) beyond what the schema already states.

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?

Two compact clauses with zero filler; the action is stated first, then the consequence and the required flags. Every sentence earns its place.

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 3-optional-parameter mutation with annotations and no output schema, the definition covers the action, the post-state, the unsaved-changes requirement, and the no-dialog behavior. Only edge cases (never-saved project with saveCurrent:true, interaction with overwrite) are left to the schema.

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 each of the three parameters is already documented, including the conditional relationship between saveCurrent and discardChanges. The description restates that same relationship ("Dirty projects need saveCurrent... or discardChanges:true") without adding format or edge-case detail, so baseline 3 applies.

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?

States a specific verb and resource ("Close the open project") and adds the resulting post-state ("AE is left with an empty untitled project"), which an agent could not infer from the name alone. It does not explicitly distinguish itself from sibling tools like save_project or new_project, so it stops short of a 5.

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 a clear conditional usage rule: a dirty project requires either saveCurrent (true or a path) or discardChanges:true. It also sets the expectation that no dialog is ever shown, so the caller must decide up front. It never names an alternative tool such as save_project, hence not a 5.

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