Skip to main content
Glama
theloniuser

InDesign UXP MCP Server

by theloniuser

find_text_in_document

Search for text across an entire InDesign document. Optionally replace found text using case-sensitive, whole-word, or regex options.

Instructions

Find text across the entire document

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
searchTextYesText to search for
replaceTextNoText to replace with (optional)
caseSensitiveNoCase sensitive search
wholeWordNoWhole word search
useRegexNoUse regular expressions
Behavior2/5

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

No annotations are provided, so the description must carry the full burden of behavioral disclosure. However, the description is minimal and potentially misleading: it says 'Find' but includes a replaceText parameter, implying mutability. It does not state whether the tool modifies the document, what the return value is, or any side effects.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single sentence that is too brief for a tool with 5 parameters. While concise, it lacks structure and does not front-load important context. Important details like the optional replace behavior and boolean flags are omitted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (5 parameters, no output schema, no annotations), the description is severely incomplete. It does not explain the scope of the search, the effect of parameters, return values, or whether the tool is read-only. The agent would have insufficient context to use the tool correctly.

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 description coverage is 100%, so the input schema already documents all parameters with descriptions. The tool description adds no additional meaning beyond what the schema provides. Baseline score of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'Find text across the entire document' specifies the verb (Find) and resource (text in document), but it is vague because it does not address the optional replace functionality implied by the replaceText parameter. Additionally, there is a sibling tool 'find_replace_text' which likely performs a more comprehensive find and replace, but the description does not differentiate this tool from that sibling.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. There is no mention of prerequisites, exclusions, or context where this tool is preferred. The sibling tool 'find_replace_text' is not referenced, leaving the agent without decision-making context.

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/theloniuser/indesign-uxp-server'

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