Skip to main content
Glama
InDesign MCP Server

InDesign MCP Server

by vinitdeep

set_page_numbering

Starts a page-numbering section at a chosen page, configures number style and first value, and removes existing sections when requested.

Instructions

Start a numbering section at a page (absolute position, 1 = first page): choose the number style and the number it starts at. Typical book: front matter at page 1 with LOWER_ROMAN (i, ii, iii), main text section starting at 1 in ARABIC at the first chapter. Omit startAt to continue numbering from the previous section. remove:true deletes the section starting at that page.

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": {
      "startPage": "<startPage>"
    },
    "name": "set_page_numbering"
  }
}

Input Schema

NameRequiredDescriptionDefault
styleNo
markerNoSection marker text (shown by a Section Marker character)
prefixNoOptional section prefix, e.g. "A-"
removeNo
startAtNoFirst page number of the section (omit to continue)
startPageYesAbsolute page position where the section starts (1-based)
includePrefixNoShow the prefix in page numbers

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior3/5

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

No annotations exist, so the description carries the full behavioral burden. It does disclose destructive semantics ('remove:true deletes the section starting at that page') and continuation behavior for omitted startAt, which is valuable. However it never says what happens to numbering in later sections, whether existing sections are overwritten, or what state the document is left in after removal.

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 core operation and its scope are front-loaded, and the parenthetical defining startPage comes before the example. The book example earns its place by showing the two-section pattern. It is a single dense paragraph, but no sentence is filler.

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 7-parameter mutation tool with no annotations and no output schema, the description covers the primary workflow and the delete path well enough to call it correctly. The gap is the three text/prefix parameters, which are neither explained nor given behavioral context, so an agent must rely entirely on the schema for them.

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?

With 71% schema coverage, the description adds real meaning: it explains startPage as an absolute 1-based position, startAt as the first number of the section and the effect of omitting it, style via a worked example of two enum values, and remove as deleting the section at that page. It says nothing about marker, prefix, or includePrefix, leaving those to the schema alone.

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?

The description names a specific verb and resource — 'Start a numbering section at a page' — and immediately scopes what a section controls (style and starting number). This is clearly distinguishable from the page-structure and page-management siblings, and an agent can tell it manipulates page numbering rather than page objects.

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?

It gives a concrete usage scenario (front matter in LOWER_ROMAN at page 1, main text restarting at 1 in ARABIC at the first chapter) plus the continuation rule via 'Omit startAt'. It does not name a sibling alternative or state when not to use it, so it falls short of full routing guidance.

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