Skip to main content
Glama

ps_get_active_info

Retrieves current Photoshop document info: name, pixel size, resolution, color mode, layer count, and active layer. Enables inspecting file state to guide automation or design decisions.

Instructions

获取 Photoshop 当前活动文档信息:名称、像素尺寸、分辨率、颜色模式、图层数、活动图层名。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It clearly implies a read-only, side-effect-free operation by saying '获取信息' (get info), and it lists the exact data returned. However, it does not disclose behavior in edge cases such as no active document, nor does it specify the response format.

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?

The description is a single concise sentence that front-loads the operation and resource, then lists all relevant information fields. Every word adds value and there is no redundant or vague content.

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 zero-parameter getter tool, the description adequately covers what the tool does and what information it returns. It could be slightly more complete by noting the return format or behavior when no document is active, but the core context an agent needs to invoke the tool correctly is present.

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?

The tool has zero parameters, and with a schema coverage of 100%, there is nothing for the description to clarify about parameter meaning. The baseline of 4 applies because no parameter documentation is needed.

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 clearly specifies the verb '获取' (get), the resource '当前活动文档信息' (current active document info), and enumerates exactly what fields are returned: name, pixel dimensions, resolution, color mode, layer count, and active layer name. It also distinguishes itself from siblings like ps_list_documents and ai_get_active_info by explicitly naming Photoshop and the active document scope.

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 does not provide any guidance on when to use this tool versus alternatives. It does not mention situations where the active document might not exist, nor does it contrast with ps_list_documents or ai_get_active_info. The intended usage is only implied by the tool name and description.

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

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/freakyglorian-create/adobe-com-mcp'

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