Skip to main content
Glama
InDesign MCP

InDesign MCP

indesign_uxp_create_text_frame

Destructive

Creates a text frame on an identified page in a specified InDesign document using point-based bounds to place editable text at a known location.

Instructions

Creates a text frame on one explicitly identified page in one explicitly identified document through UXP. Coordinates are passed directly as point-valued [top, left, bottom, right] bounds and use InDesign's current ruler zero point; verify placement in InDesign because this UXP path has not been host-verified. After a timeout, the frame may still have been created; inspect before retrying and do not retry blindly.

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": {
      "document_id": "<document_id>",
      "page_id": "<page_id>",
      "bounds_pt": "<bounds_pt>",
      "text": "<text>"
    },
    "name": "indesign_uxp_create_text_frame"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesText content; maximum 50,000 characters
page_idYesPositive numeric Page.id from the inspection result
bounds_ptYes[top, left, bottom, right] in points, relative to InDesign's current ruler zero point
timeout_msNoOptional wait in milliseconds; defaults to 30,000 and is limited to 1,000–120,000
document_idYesPositive numeric Document.id from the inspection result

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.9/5.0
Behavior4/5

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

Beyond readOnlyHint=false/destructiveHint=true, it discloses two non-obvious traits: the UXP path is not host-verified, and a timeout does not mean the frame wasn't created, so retrying blindly can duplicate it. That is meaningful context the annotations cannot convey. It stops short of saying what a successful call returns or what permissions it needs.

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-loaded with purpose and scope; the risk warnings come after. Every sentence carries information, though the bounds/[top,left,bottom,right]/ruler-origin sentence repeats what the schema already states.

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 mutating tool with no output schema, it covers the highest-risk aspects (unverified host behavior, non-idempotent retry after timeout). It omits what the call returns (e.g., a created frame id the agent would need for follow-up set/read calls), which is a notable gap for a create operation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema already documents ids, bounds ordering, units, ruler origin, and text limits. The description's coordinate explanation largely restates the schema rather than adding syntax or defaults, so the baseline of 3 applies.

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 and resource ("Creates a text frame") with precise scope: one explicitly identified page in one explicitly identified document. The phrase "through UXP" separates it from the non-UXP sibling indesign_add_text_frame and from the read/set variants.

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?

Gives useful operational guidance (verify placement, inspect after timeout, don't retry blindly) but never states when to choose this over indesign_add_text_frame or other creation paths. Usage is implied by the tool's name rather than spelled out.

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