Skip to main content
Glama

Page outline

get_outline
Read-only

Lists pages and their top-level frames with IDs and sizes to map a Figma file and locate which sections to implement.

Instructions

Lists pages and their top-level frames (ids, sizes) — a cheap map of the file for finding what to implement.

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": "get_outline"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileNoWhich open Figma file (name or key) when several are connected. Default: the most recently active.
pageNoPage name or id; "*" lists every page's frames. Default: current page.
depthNoLevels below the page (default 1).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true, so the safety profile is covered. The description adds meaningful context beyond that — it discloses the returned fields (ids, sizes) and a cost characteristic ("cheap") that signals a lightweight call. It does not state limits, pagination, or how depth affects cost, so it earns a solid but not rich score.

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 sentence that front-loads the resource and return shape, then explains the purpose. No filler or redundant restatement of the name.

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 simple read-only orientation tool with three optional, fully documented parameters and an annotation covering safety, the description supplies what matters: what it returns, what it costs conceptually, and why to call it. Only edge behavior such as how deeper depth values change output is left unstated, which is minor.

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 coverage is 100%, so file, page, and depth are fully documented in the schema, including defaults and the "*" wildcard. The description's phrase "top-level frames" loosely reinforces the default depth of 1 but adds no format or syntax detail beyond the schema; baseline 3 applies.

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?

"Lists pages and their top-level frames (ids, sizes)" gives a concrete verb, resource, and return content, and the phrase "cheap map of the file" distinguishes it from heavier siblings like get_design or get_css. It stops short of naming an alternative explicitly, so it is clear but not fully differentiated.

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?

"for finding what to implement" supplies a clear use context: a cheap first-pass orientation before drilling into details. There are no explicit when-not conditions or named sibling alternatives, which keeps it from a 5.

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