Skip to main content
Glama

Design info

get_design_info
Read-onlyIdempotent

Reads a design file and returns its pages, top-level frames with sizes, layer tree, components, styles, variables, and fonts used. Use it to inspect design structure and inventory before review or export.

Instructions

What a design holds: pages and their top-level frames with sizes, the layer tree (names, types, text), components with their instance counts, styles, variables and the fonts used (and whether they are installed). Read only.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "input_path": "<input_path>"
    },
    "name": "get_design_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
depthNoHow deep the layer tree goes.
input_pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint and openWorldHint, and the description's 'Read only' only restates them. It does add value beyond the annotations by disclosing what the read actually surfaces (component instance counts, font installation status), which is genuinely useful pre-call context. It says nothing about cost or output volume for deep trees, which matters for a traversal tool.

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?

A single dense, front-loaded sentence that leads with the core answer ('What a design holds') and then enumerates the sections in a scannable list. Every clause carries content; the only marginal phrase is the trailing 'Read only', which duplicates the annotations.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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 does a decent job of enumerating the returned sections, so an agent knows what it gets back. However, for a 2-parameter traversal tool it leaves the required input_path unexplained and gives no guidance on how depth affects cost or completeness, so an agent cannot reliably size its call.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 50%: 'depth' is documented in the schema, but 'input_path' has no description anywhere. The description mentions 'the layer tree' but does not tie it to the depth parameter, nor does it explain what input_path should point at (file path, node id, design handle) or note the default of 3 and the 30-level cap. It therefore does not compensate for the coverage gap.

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 enumerates the exact payload a caller receives — pages, top-level frames with sizes, layer tree with names/types/text, components with instance counts, styles, variables, fonts and install status — which is specific enough to distinguish it from siblings like export_design or render_design. It does not use an explicit verb ('get'/'inspect') and instead relies on the noun phrase 'What a design holds', but paired with the tool name the intent is unambiguous.

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?

There is no when-to-use or when-not-to-use guidance and no sibling is named as an alternative for lighter-weight checks (e.g. get_figcraft_status or list_figcraft_catalog). 'Read only' implies inspection rather than mutation, which is the only hint about selection.

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