Skip to main content
Glama
JFTavares

InDesign MCP para Windows

by JFTavares

close_document

Close the active InDesign document, with optional save and confirmation to avoid losing unsaved changes.

Instructions

Close the current document

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
saveNoSave before closing
confirmDestructiveNoREQUIRED: Confirm potential data loss

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It only says 'close the current document' and does not disclose the potential for data loss, the need to confirm destructive actions, or the effects of the save parameter. The schema hints at data loss, but the description itself does not.

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?

The description is a single, front-loaded sentence with no wasted words. It is appropriately concise for a simple operation, though it omits valuable context about destructive behavior.

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 destructive action with no annotations and no output schema, the description is incomplete. An agent calling close_document({}) might lose unsaved data because the description does not explain the save/confirm behavior or warn about consequences. Additional context is necessary for safe use.

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%, so the parameters are already fully documented. The description adds no additional meaning about how save or confirmDestructive affect the close operation, so the baseline of 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 states a specific verb ('Close') and resource ('current document'), making the tool's core purpose immediately clear. It is distinct from siblings like open_document and save_document, though it does not add detail about what 'current' means in multi-document contexts.

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?

The description gives no guidance on when to use this tool versus alternatives, when it is safe to close, or what state the document must be in. Sibling tools like save_document exist, but no selection criteria are offered.

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