set_active_layer
Activates a specified layer in an InDesign document, enabling subsequent operations to be applied to that layer.
Instructions
Set the active layer
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layerName | Yes | Layer name to activate |
Activates a specified layer in an InDesign document, enabling subsequent operations to be applied to that layer.
Set the active layer
| Name | Required | Description | Default |
|---|---|---|---|
| layerName | Yes | Layer name to activate |
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It fails to disclose behavioral traits such as whether the change is persistent, whether it affects existing items, or if the layer must already exist. This is critical for a mutation tool.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, front-loaded sentence with no wasted words. However, it could be slightly more informative without becoming verbose, so it is not a perfect 5.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the simplicity of the tool (1 param, no output schema), the description is too brief. It does not explain prerequisites (e.g., layer must exist) or the impact on subsequent operations. A new user would likely need additional documentation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% and the schema description for 'layerName' is already clear ('Layer name to activate'). The tool description adds no additional meaning beyond the schema, earning the baseline score of 3.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a clear verb+resource pattern ('Set the active layer'), distinguishing it from siblings like 'create_layer' and 'list_layers'. However, it lacks elaboration on what 'active layer' means in the context of InDesign, which could cause slight ambiguity.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
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. It does not mention that it should be called before adding items to ensure they go to the correct layer, nor does it reference related tools like 'list_layers'.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
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