Skip to main content
Glama
zhanglongxiao111

indesign-cli MCP Server

create_color_swatch

Create a named color swatch in Adobe InDesign by specifying RGB values and choosing between process or spot color type.

Instructions

Create a color swatch

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
redYesRed value (0-255)
blueYesBlue value (0-255)
nameYesSwatch name
greenYesGreen value (0-255)
colorTypeNoPROCESS
Behavior2/5

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

No annotations are provided, so the description must disclose behavioral traits. It only states 'Create a color swatch', which implies a non-destructive addition, but does not specify prerequisites, side effects, error conditions, or how the tool interacts with the document state. This leaves significant gaps for an agent to safely invoke the tool.

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

Conciseness3/5

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

The description is extremely concise, consisting of a single phrase. While efficient, it sacrifices useful context. It is front-loaded with the main action, but lacks any supporting details.

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

Completeness2/5

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

Given the tool has five parameters, no output schema, and no annotations, the description is insufficient to provide a complete understanding. It does not cover the semantics of colorType, the context of creating a swatch within an InDesign document, or any expected return values. This leaves agents underinformed.

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

Parameters2/5

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

The description adds no information about parameters beyond what is already in the input schema. The schema covers 4 out of 5 parameters with descriptions, but the description does not clarify the meaning or usage of any parameter, nor does it compensate for the missing description of the colorType parameter.

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?

Description clearly states the action (create) and resource (color swatch), which is a specific verb+resource pairing. It distinguishes from sibling tools that create other objects (e.g., create_rectangle, create_character_style) by its target. However, it lacks any context about what a color swatch is in the application, which slightly reduces clarity for agents unfamiliar with the domain.

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?

No usage guidelines provided. There is no mention of when to use this tool versus alternatives like apply_color or list_color_swatches. Agents are left to infer based on the tool name alone, which is insufficient.

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/zhanglongxiao111/indesign-cli'

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