Skip to main content
Glama
InDesign MCP

InDesign MCP

indesign_uxp_list_paragraph_styles

Read-onlyIdempotent

List paragraph styles in a specified InDesign document, including group paths and numeric IDs, so you can choose the right style before applying it.

Instructions

Lists paragraph styles in one explicitly identified document, including their group paths and numeric IDs. Use this before applying a style. Read-only and may return a truncated catalog.

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>"
    },
    "name": "indesign_uxp_list_paragraph_styles"
  }
}

Input Schema

NameRequiredDescriptionDefault
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

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and idempotentHint, so safety is covered. The description adds genuinely new behavior not in structured data: the result may be a truncated catalog, which tells the agent not to assume completeness, and it describes the shape of returned entries (group paths, numeric IDs) despite there being no output schema.

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 short sentences, each doing distinct work: what it lists, when to call it, and the truncation caveat. No redundancy or 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 simple read-only listing with no output schema, the definition covers the essentials: scope, contents, intended sequencing, and the truncation caveat. Only the timeout parameter and any pagination/follow-up mechanism for a truncated result are left unexplained.

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% with descriptions on both document_id and timeout_ms, so the schema carries parameter meaning. The description only alludes to a single identified document and does not add format or constraint detail beyond what the schema states. Baseline 3 applies.

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 and resource ('Lists paragraph styles'), scopes it to a single explicitly identified document, and names what the listing contains (group paths, numeric IDs). It signals its role relative to the apply-step without naming a specific sibling tool, so differentiation is implied rather than explicit.

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?

'Use this before applying a style' gives a concrete trigger for calling it. It does not state when NOT to use it or name an alternative catalog tool, but the workflow framing is clear enough for an agent to act on.

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