Skip to main content
Glama
InDesign MCP Server

InDesign MCP Server

by vinitdeep

set_style

Create or update paragraph and character styles with any InDesign properties, then apply them consistently instead of formatting text by hand.

Instructions

Create or update a paragraph or character style with ANY InDesign properties. This is how book typography should be defined — then apply it with apply_style instead of formatting text by hand. properties examples: {font:"EB Garamond", fontStyle:"Medium", pointSize:13, leading:15, justification:"LEFT_JUSTIFIED", firstLineIndent:"0.125in", spaceAfter:"0.125in", hyphenation:false, fillColor:"Black", tracking:40, capitalization:"ALL_CAPS", startParagraph:"NEXT_ODD_PAGE", keepWithNext:2, dropCapLines:3, dropCapCharacters:1}. Sizes/leading are points; indents and spacing accept unit strings ("0.125in", "9pt", "3mm"). ALL_CAPS strings become InDesign enum values. A character style only changes the properties you give it (e.g. {fontStyle:"Italic"}).

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": {
      "type": "<type>",
      "name": "<name>"
    },
    "name": "set_style"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesStyle name
typeYesStyle type
groupNoOptional style group path, e.g. "Body" or "Front Matter/Titles"
basedOnNoParent style name (changes to it flow down)
nextStyleNoParagraph only: style used for the next paragraph when typing
propertiesNoInDesign properties to set (see description)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior3/5

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

No annotations, so the description carries the full burden. It usefully discloses merge semantics for character styles, unit-string acceptance, and ALL_CAPS-to-enum coercion, but leaves the key mutation question ambiguous: on update, are omitted properties preserved (as for character styles) or reset? It also says nothing about permissions, failure on unknown property names, or whether an existing style of the same name is silently overwritten.

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?

Front-loads the purpose, then the workflow advice, then the property reference, which is a sensible order. The long inline property example is dense but earns its place as a concrete reference; the single paragraph could be broken into short lines for scanability, but no sentence is wasted.

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 mutation tool with no annotations and no output schema, the property semantics are well covered, but important pieces are missing: what the call returns, whether creation vs update is reported, and how this tool relates to the many narrowly scoped style siblings. An agent can construct the call but cannot fully predict the update or failure behavior.

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 100%, so baseline would be 3, but the description does real work the schema does not: the schema only says 'InDesign properties to set (see description)', and the description supplies a 15-key example object, sizing units in points, accepted unit strings ('0.125in', '9pt', '3mm'), and how string values map to InDesign enums. The 'type' parameter's functional consequence is also spelled out for character styles.

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?

States a specific verb pair and resource: 'Create or update a paragraph or character style with ANY InDesign properties', and explicitly routes application to apply_style. It does not distinguish itself from the overlapping siblings create_paragraph_style, modify_paragraph_style, create_character_style and modify_character_style, which appear to cover the same ground for narrower cases.

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?

Gives clear when-to-use framing ('This is how book typography should be defined') and names the alternative for the downstream step: apply it with apply_style instead of formatting text by hand. It offers no exclusion telling an agent when to prefer the specialized create_/modify_ style tools over this generic one.

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