Skip to main content
Glama
InDesign MCP Server

InDesign MCP Server

by vinitdeep

get_page_structure

Shows a book’s structure by listing parent pages and where they are used, numbering sections, and paragraph/character styles with usage counts.

Instructions

Show the book structure: parent pages (what is on them, what they are based on, which pages use them), numbering sections (start page, style, number range) and paragraph/character styles with how often each is used.

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": "get_page_structure"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose the content and rough shape of what is returned (three categories of structural information, including per-style usage counts), but it never states that the operation is read-only/side-effect free or whether it covers the whole book versus the current spread.

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?

A single front-loaded sentence with the verb and resource first, then the three result categories in readable parentheticals. It is dense but every clause adds a distinct piece of information; only the run-on enumeration style costs it a point.

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?

With no parameters and no output schema, the description must stand in for the return value, and it does so by naming the three structural groups the caller will receive. The remaining gap is scope (entire document vs. current page) and whether the data reflects only used or all defined styles.

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?

The schema has zero parameters, so there is nothing for the description to disambiguate and the baseline is 4. The clauses it does include describe output content rather than inputs, which is appropriate here.

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?

"Show the book structure" pairs a clear verb with a specific resource, and the parenthetical enumeration (parent pages, numbering sections, paragraph/character styles with usage counts) makes the payload concrete. It does not, however, contrast itself with nearby inspection siblings such as get_document_info or get_text_content, so an agent must infer the boundary.

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 is only implied: the fact that it returns parent pages, numbering and style frequency suggests a pre-mutation inspection step (e.g. before apply_parent_page or set_page_numbering), but the description never states when to prefer it or what alternatives exist. No exclusions or prerequisites are given.

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