Skip to main content
Glama
InDesign MCP Server

InDesign MCP Server

by vinitdeep

apply_parent_page

Assign a parent page to selected InDesign document pages using absolute page ranges or odd/even/all, with a full parent name, prefix, or [None].

Instructions

Apply a parent page to document pages. pages uses absolute positions in the file (1 = first page), e.g. "1-8", "9, 21, 37", "10-end", "all", "odd", "even". parent is the full name ("B-Chapter Opener"), just the prefix ("B"), or "[None]".

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": {
      "parent": "<parent>",
      "pages": "<pages>"
    },
    "name": "apply_parent_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
pagesYes
parentYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/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 behavioral burden, yet it says nothing about what happens to existing content on the affected pages, whether prior parent assignments are overwritten, whether the change is undoable, or what the response contains. The only behavioral hint is that '[None]' presumably clears a parent, which is not stated outright.

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 sentences with zero filler; the purpose is front-loaded and the parameter syntax follows immediately. Every clause carries actionable information.

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

Completeness3/5

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

For a two-parameter mutation tool with no annotations and no output schema, the description adequately covers inputs but not effects — no mention of overwrite semantics, error conditions for invalid page ranges, or required document state. An agent could call it correctly but not predict consequences.

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 coverage is 0%, so the description must compensate, and it largely does: it spells out the pages range syntax with concrete examples ('1-8', '10-end', 'all', 'odd', 'even') and defines the acceptable parent forms (full name, prefix, '[None]'). It falls short only on minor details like case sensitivity or whitespace handling.

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 opens with a concrete verb+resource: 'Apply a parent page to document pages,' which tells an agent exactly what the operation accomplishes. It does not explicitly differentiate itself from the sibling create_parent_page, but the action/object pairing 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 Guidelines3/5

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

Usage context is implied rather than stated: the agent learns the syntax of page ranges and parent identifiers but gets no explicit when-to-use versus create_parent_page or other page tools. The '[None]' option hints at removal, but the conditions that select this tool over alternatives are left to inference.

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