Skip to main content
Glama

read_outline

Read-only

Read a Figma file’s pages, sections, and screens as a compact text outline with IDs, names, and sizes, without expanding screen contents.

Instructions

Start here. Pages, sections and screens (top-level frames) of a file with ids, names and sizes; screen contents are not expanded. Cheap: text 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": {
      "file": "<file>"
    },
    "name": "read_outline"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileYesFigma file URL or key
pageNoOnly this page (name or id)
offsetNoFrom a [more: …] footer

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover read-only, non-destructive and open-world behavior, so the description's job is to add context — which it does by disclosing that frames are returned unexpanded and that the call is text-only and cheap. Pagination behavior is not explained here, relying on the offset parameter's '[more: …] footer' note in the schema.

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 dense sentence preceded by a front-loaded 'Start here.' instruction. Every clause carries information: entry point, scope, exclusions, and cost profile; nothing is redundant.

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 usefully enumerates the return shape (ids, names, sizes) and explicitly scopes out nested content, which is sufficient for a read-only listing tool. Minor residual gap is that pagination via the offset footer is left entirely to the schema.

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

Parameters3/5

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

Schema description coverage is 100%, so all three parameters (file, page, offset) are already documented with meaning. The description mentions ids, names and sizes, but those are return values rather than parameter guidance, so it adds no semantics beyond the schema.

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?

States a concrete resource (pages, sections, top-level frames of a file with ids, names, sizes) and an explicit boundary: 'screen contents are not expanded.' That boundary implicitly separates it from content-reading siblings like read_frame_text, though no sibling is named, keeping it just short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'Start here' gives explicit entry-point guidance for the workflow, and 'Cheap: text only' tells the agent when this is the economical choice over render-style tools. It stops short of naming a specific alternative for expanded content or stating when-not conditions.

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