Skip to main content
Glama

photoshop_update_text_content

Update the text of an active Photoshop text layer. Specify a document ID to target a specific document before editing, preventing tab-switch retargeting.

Instructions

Update the text content of active text layer

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYesNew text content
document_idNoOptional Photoshop document id from photoshop_get_state / photoshop_list_documents. When set, the tool activates that document before running so a UI tab switch cannot retarget the edit.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
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 behavioral burden. It only states the action 'Update the text content' without disclosing that existing content will be replaced, that an active text layer is required, whether the operation is undoable, or what happens if the active layer is not a text layer.

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

Conciseness4/5

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

The description is a single, front-loaded sentence with no filler. It is concise, though it omits important usage and behavioral context that would make it more helpful to an agent.

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?

For a mutation tool with no annotations and no output schema, the description is too thin. It does not tell the agent how to ensure a text layer is active, what side effects to expect, or how to recover from common failures, leaving important operational context missing.

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?

The input schema already fully describes both parameters: 'text' as new text content and 'document_id' with its activation behavior. The tool description adds no additional parameter semantics beyond what the schema provides, so the baseline of 3 is appropriate.

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 states a clear, specific operation: 'Update the text content' of the 'active text layer'. It clearly distinguishes this tool from related text-formatting siblings like photoshop_set_text_font, photoshop_set_text_color, and photoshop_set_text_alignment.

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

Usage Guidelines3/5

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

The description identifies the target as the 'active text layer', which implies the prerequisite that a text layer must be active. However, it does not explicitly state when to use this tool versus alternatives or provide any exclusions or failure conditions.

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

Deploy Server

Other Tools