Skip to main content
Glama

Close a project

close_project
Destructive

Closes the active Premiere Pro project or a specified open one, saving first when save=true or discarding unsaved changes when save=false.

Instructions

Close an open project without any prompt. With save=true the project is saved first; with save=false unsaved changes are lost. Closes the active project unless project_path names another open one. Returns what was closed and which project is active afterwards (null when none is left).

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": {
      "save": "<save>"
    },
    "name": "close_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
saveYesRequired. true = save the project before closing; false = close and discard unsaved changes.
project_pathNoAbsolute path of the open project to close (from list_open_projects). Omit to close the active project.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior4/5

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

Adds real behavior beyond the annotations: closing happens 'without any prompt' (no confirmation gate), save=false permanently discards unsaved work, and it discloses the return payload including the active project afterwards, null when none remains. Annotations already declare destructiveHint=true and idempotentHint=false, so this description meaningfully extends rather than duplicates them.

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 action and its no-prompt trait, then the save consequences, then scope, then return value. Dense with no filler, though the return-value sentence could be trimmed if an output schema existed.

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

Completeness5/5

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

For a two-parameter destructive mutation with no output schema, the definition covers the prerequisite (project must be open), the default target, the data-loss consequence, the absence of a confirmation prompt, and the return value. Nothing an agent needs in order to call it safely is missing.

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 both parameters are documented in-schema, including the requirement on save. The description restates the save semantics and reiterates that project_path defaults to the active project, adding only marginal clarification beyond the structured data.

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 and resource ('Close an open project') and immediately scopes it: it closes the active project unless project_path names another open one. An agent can distinguish this from save_project or close_sequence without inspecting any schema.

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 clear conditional direction on the save flag (true = save first, false = unsaved changes lost) and on target selection (omit project_path to close the active project). It does not explicitly name alternatives such as save_project for the case where the user wants to persist changes without closing, so it falls short of full when/when-not routing.

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