Skip to main content
Glama
OpenFigma MCP

OpenFigma MCP

set_current_page

Switch the active Figma page by ID or name to access its top-level nodes and list all pages in the document.

Instructions

Switch Figma to a page of the current document, by its ID or its name, and get that page's top-level nodes and every page of the 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": "set_current_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageIdNoThe ID of the page to switch to, from get_document_info's pages
pageNameNoThe page's name, or a part of it that only one page's name contains

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations present, the description carries the full burden and does disclose meaningful behavior: it changes editor state ("Switch Figma to a page") and returns both the page's top-level nodes and every page of the document. It does not address the failure mode when a partial name matches zero or several pages, nor whether the switch is persistent or session-scoped.

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?

One sentence, front-loaded with the action, with no filler. It is slightly run-on at the tail ("and get that page's top-level nodes and every page of the document"), where the secondary return data reads as tacked on rather than structured.

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?

No output schema exists, so the description takes on return-value explanation and does so adequately by naming the top-level nodes and the document page list. Given only two fully documented optional parameters, the main residual gap is the undefined behavior of an argument-less call.

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 the schema already explains pageId origin and the partial-name matching rule; baseline 3 applies. The description restates these as alternatives ("by its ID or its name") but adds no precedence rule if both are supplied and no statement that one is required.

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?

Specific verb + resource ("Switch Figma to a page of the current document") plus a stated payload (top-level nodes and the document's page list). This clearly distinguishes it from create_page, but the described effect is doing two things at once (navigation + data retrieval), which slightly blurs what the tool primarily is.

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?

Usage is implied rather than stated: the agent can infer this is the way to move to another page before operating on its nodes, and "by its ID or its name" hints at two identification paths. There is no explicit when-to-use, no exclusion, and no guidance for the notable case where neither pageId nor pageName is supplied (required parameter count is 0).

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