Skip to main content
Glama

ai_get_active_info

Retrieve the active Illustrator document's name, dimensions, path count, text frame count, and number of open documents to evaluate the current state before automation.

Instructions

获取 Illustrator 当前活动文档信息:名称、尺寸、路径数、文字框数、打开文档数。

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

A4.2/5.0
Behavior4/5

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

There are no annotations, so the description must carry the read-only signal; '获取...信息' clearly conveys a retrieval operation with no mutation. It also enumerates the observable outputs, giving the agent a good model of behavior, though it doesn't cover edge cases such as no active document or units for dimensions.

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?

A single compact sentence front-loads the operation and then provides a focused list of return fields. There is no filler, tautology, or redundant restating of the input schema.

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 parameterless getter with no output schema, the description is nearly complete: it tells the agent what to retrieve and what data will be available. It stops short of specifying units, data types, or behavior when no document is open, but these are minor for this level of complexity.

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?

With zero parameters, the schema leaves nothing ambiguous and the baseline is 4. The description's list of returned information adds semantic context even though 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?

Description uses a concrete verb (获取/get) and a specific resource (当前活动文档信息), and enumerates the exact data returned—name, dimensions, path count, text frame count, and open document count. The mention of Illustrator and 'active document' distinguishes it from siblings like ps_get_active_info and ai_list_documents.

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 phrase 当前活动 implies this tool should be chosen when the AI needs the active Illustrator document's properties rather than a list of all documents, but it never explicitly names alternatives or says when not to use it. The when-to-use guidance is therefore implied rather than stated.

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