Skip to main content
Glama

document_getInfo

Retrieve metadata for the open Moho document, including name, path, dimensions, FPS, frame range, current frame, layer and Layer Comp counts, active action, and background color.

Instructions

Get open document metadata (name, path, dimensions, FPS, frame range, current frame, layer counts, Layer Comp count, active doc action, background color).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "document_getInfo"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

A4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the burden; "Get" reasonably conveys a read-only, non-destructive operation, and the field list tells the agent what information surfaces. It does not state error behavior when no document is open, whether the values are a snapshot versus live, or any side effects — gaps that are low-risk for a zero-parameter getter but not addressed.

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?

One sentence with the core action front-loaded and the detail subordinated in a parenthetical. Every listed item is distinct return information an agent might need, so nothing reads as padding.

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?

With no output schema, the description must describe return values, and it does so field by field — the right call for this tool. The only shortfall is the absence of any note on behavior when no document is open, which for a zero-parameter reader is a minor rather than blocking omission.

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 no parameters, which is the baseline-4 case; there is nothing for the description to disambiguate. The description's only semantic burden was the return content, which it handles in the parenthetical list.

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?

"Get open document metadata" gives a specific verb plus resource, and the parenthetical enumerates exactly what metadata (name, path, dimensions, FPS, frame range, layer counts, Layer Comp count, active doc action, background color). That level of specificity lets an agent separate this reader from siblings like document_setFrame, document_close, or document_save without inspecting their schemas.

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 word "open" implicitly scopes it to a currently open document, which is useful framing, but there is no explicit statement of when to prefer this tool over related readers or what to do if no document is open. Usage is implied by the name and purpose rather than stated.

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