Skip to main content
Glama
FigeloMCP
by mmonzera

get_pages

Lists all pages in a Figma document, optionally targeting a specific channel, fileKey, or document name when multiple files are open. Use it to discover page structure before navigating or editing.

Instructions

List all pages in the Figma document.

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_pages"
  }
}

Input Schema

NameRequiredDescriptionDefault
channelNoOptional Figma document channel, fileKey, or documentName when multiple Figma files are open

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden of behavioral disclosure. "List" implies a read-only operation, but the description says nothing about ordering, whether page IDs are included, whether the list can be empty, or how the optional channel affects which document is read.

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 short sentence with no filler, and the core action is front-loaded. It is minimal but not padded, though it could have used the remaining space to state return shape.

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?

The tool is simple: one optional parameter with full schema coverage and no output schema. The description is just adequate, but since no output schema exists it could have described what a page entry contains and how the channel parameter confines the results.

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% and the single optional channel parameter is already documented in the schema as a fileKey/documentName selector. The description adds no additional meaning, but with full schema coverage the baseline of 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?

States a specific verb and resource ("List all pages") scoped to "the Figma document," so the agent knows exactly what it retrieves. It does not differentiate from siblings that may also expose page information, such as get_document_info, leaving some ambiguity about overlap.

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 explicit guidance on when to call this versus alternatives like get_document_info or get_node. Usage is only implied by the phrase "all pages in the Figma document," with no exclusions or prerequisites stated.

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