Skip to main content
Glama

obj_get_document_info

Retrieve active document properties for EasyEDA Pro—file path, kind, grid, units, and schematic/PCB settings—to inspect design state before editing or exporting.

Instructions

Get comprehensive info about the active document.

For schematics: file path, kind, sheet size, title block visibility, snap grid, visible grid, unit system, and custom dimensions. For PCB: file path, kind, origin, snap grid.

Returns: Dictionary with document properties

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.1

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description must carry the behavioral burden. It clearly indicates a read-style information query and distinguishes schematic versus PCB contents, but it does not discuss side effects, permissions, failure cases, or pagination. For a simple zero-parameter info tool that is adequate but not rich.

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 definition is front-loaded with the core purpose and then lists type-specific details compactly. The final returns note is slightly redundant given the output schema, but overall it is efficient and easy to scan.

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 document-info tool, the description is largely complete: it names the active document, says the response depends on schematic versus PCB, and lists representative fields. With an output schema present, return-value detail need not be fully restated.

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 takes zero parameters, so there are no parameter semantics to explain. The schema is empty and schema coverage is 100%, making the baseline appropriate.

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?

The description names a specific verb and resource: getting comprehensive info about the active document. It further clarifies the purpose by listing schematic and PCB fields, so an agent can tell what it does. It does not explicitly distinguish itself from related sibling tools such as app_get_active_document or proj_get_board_info.

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 implies when the tool is useful by saying it returns comprehensive info about the active document, and it notes the result differs for schematics versus PCBs. However, it gives no explicit when-to-use guidance, prerequisites, or alternatives to consider.

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