Skip to main content
Glama
anananaTERRA

mcp-indesign-agent

by anananaTERRA

get_document_model

Access a cached summary of the active InDesign document to avoid rescanning, with optional forced refresh. Quickly retrieve document structure, styles, and layout data for further processing.

Instructions

Return a summary of the cached Document Model without rescanning InDesign (unless forceRefresh or cache empty).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
maxAgeMsNoIf cache older than this, rescan
timeoutSecNo
forceRefreshNoIf true, rescan before returning
includeItemsNoInclude full items array (can be large)
Behavior4/5

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

No annotations are provided, so the description carries the transparency burden. It discloses caching behavior, the conditions for triggering a rescan (forceRefresh or cache empty), and implies a potentially expensive rescan. It doesn't cover error conditions or return shape, but for a read-like summary tool the key behaviors are addressed.

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?

A single sentence that front-loads the primary action, then adds the key conditional behavior. Every word earns its place with 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 tool with four optional parameters, no output schema, and no annotations, the description provides the essential use-case context: cached summary retrieval with rescan conditions. It doesn't detail the return value, but the name and purpose make that predictable. The combination of schema descriptions and this concise overview is sufficient for correct invocation.

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 75%, so baseline is 3. The description adds meaning to forceRefresh and cache-related parameters (maxAgeMs, cache empty), and the phrase 'without rescanning' clarifies the tool's core mechanism. It doesn't explicitly mention timeoutSec or includeItems, but these are already documented well in the schema.

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 uses a specific verb ('Return a summary') and names the resource ('cached Document Model'), clearly distinguishing it from sibling tools like scan_document or refresh_document. The phrase 'without rescanning InDesign' further sharpens its identity as a cache-reading operation.

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 implicitly provides usage context: use when you want a summary without rescanning, unless the cache is empty or forceRefresh is set. It doesn't explicitly name alternatives or state when to avoid, but the 'without rescanning' phrasing contrasts with scan_document, offering usable guidance.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/anananaTERRA/mcp-indesign-agent'

If you have feedback or need assistance with the MCP directory API, please join our Discord server