Skip to main content
Glama
InDesign MCP Server

InDesign MCP Server

by vinitdeep

import_from_document

Copy paragraph, character, and object styles plus parent pages from another InDesign document into the active one, overwriting matching names by default or renaming them when overwrite is disabled.

Instructions

Copy paragraph styles, character styles, object styles and/or parent pages from another .indd/.indt into the active document (e.g. start a new book with the exact setup of a finished one). Existing items with the same name are overwritten unless overwrite:false (then renamed).

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": {
      "filePath": "<filePath>"
    },
    "name": "import_from_document"
  }
}

Input Schema

NameRequiredDescriptionDefault
filePathYes
overwriteNo
parentPagesNo
objectStylesNo
characterStylesNo
paragraphStylesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does disclose the key mutation risk: same-named existing items are overwritten, or renamed when overwrite:false. That is exactly the kind of destructive-behavior disclosure an agent needs before calling. It stops short of stating prerequisites (an open/active document, a valid file path) or what happens on partial failure.

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?

A single sentence with the operation front-loaded, the target document type named, and the example placed in a parenthetical so it does not interrupt the core statement. No filler words.

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 six-parameter mutation tool with no annotations and no output schema, the definition covers what is imported, from where, and the overwrite semantics. The remaining gaps — default values of the category toggles, and the assumption that a document is already open — are minor but real for an agent operating blind on the schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate and largely does: it names the four style/page categories that map to the boolean toggles and explains the non-obvious consequence of overwrite:false (rename rather than skip). It does not mention the defaults, notably that objectStyles defaults to false while the other toggles default to true — a meaningful gotcha left to the schema.

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 (copy) and specific resources (paragraph styles, character styles, object styles, parent pages) plus the direction of transfer (from another .indd/.indt into the active document). It is clearly distinct from siblings like create_paragraph_style or apply_style, though it never names an alternative explicitly.

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

Usage Guidelines3/5

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

The parenthetical 'e.g. start a new book with the exact setup of a finished one' gives a concrete usage context, which is more than nothing. However, there are no when-not conditions and no alternatives named (e.g. single-style tools for one-off copying), so the agent must infer the boundaries itself.

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