Skip to main content
Glama
InDesign MCP Server

InDesign MCP Server

by vinitdeep

apply_script_fonts

Fix Indic text that appears as empty boxes in InDesign documents by switching affected runs to glyph-capable fonts and enabling the World-Ready composer; correct runs stay unchanged.

Instructions

Fix Indic text (Odia, Hindi/Devanagari, Bengali, Tamil, Telugu, Kannada, Malayalam, Gujarati, Gurmukhi) that shows as empty boxes: switches only those text runs to an installed font that has the glyphs (e.g. Noto Sans Oriya, Nirmala UI) and turns on the World-Ready composer. Runs already in an Indic font are left alone. Text-writing tools do this automatically; use this for existing documents.

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

Input Schema

NameRequiredDescriptionDefault
pageIndexNoPage of frameIndex
fontFamilyNoForce this font family for all Indic runs (e.g. "Noto Sans Oriya"). Default: best installed font per script.
frameIndexNoOnly this text frame (with pageIndex). Default: whole document.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the load and does well: it discloses the write scope (only failing Indic runs are touched), an important implicit setting change (enabling the World-Ready composer), and a per-script font selection default. It omits reversibility/undo behavior and whether the caller needs any permission or pre-check before the composer setting is flipped document-wide.

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?

Three tightly written sentences: symptom first, then the fix and its scope limit, then the when-to-use rule. No rephrasing of the name, no filler, and the conditional guidance is front-loaded at the end where it is most actionable.

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 3-optional-parameter mutation tool with no annotations and no output schema, the description covers symptom, action, scope, side effect, and defaulting well enough to call correctly. It leaves open what happens when no installed font covers a script, and whether the caller gets any report of which runs changed.

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 is 3; the description goes further by explaining that fontFamily forces one family across all Indic runs while the default picks the best installed font per script, and it names concrete font examples that clarify intent. The pageIndex/frameIndex narrowing to a single frame is described in the schema but the description reinforces the whole-document default scope.

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?

States a specific verb+resource: it fixes Indic text that renders as empty boxes by switching affected runs to a glyph-capable font and enabling the World-Ready composer. The problem, the mechanism, and the scope ('only those text runs') are all named, so an agent can distinguish it from generic style/text tools.

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 a clear routing rule: text-writing tools do this automatically, so use this only for existing documents. It also states the no-op condition ('runs already in an Indic font are left alone'). It stops short of naming a specific sibling or describing what to do when the repair fails to find a suitable font.

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