Skip to main content
Glama
Figma Vector MCP

Figma Vector MCP

by workingmodel

switch_page

Switch the active Figma document page by ID or name so MCP clients can target and edit the correct canvas page.

Instructions

Switch to a different page in the Figma document by ID or name.

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

Input Schema

NameRequiredDescriptionDefault
pageIdNoPage ID
pageNameNoPage name (used if pageId not provided)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.3

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does disclose the core effect (changing the active page) and that selection is by ID or name, but it says nothing about failure modes (page not found, ambiguous name), case sensitivity of pageName, or whether the switch alters selection state.

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 front-loaded sentence with no filler words. It is efficient, though so terse for a state-changing navigation tool that the missing behavioral detail sits outside the sentence rather than being folded in compactly.

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 (two optional params, no nested objects, no output schema), so the description is minimally sufficient to get the agent to call it. However, an agent has no indication of how to obtain valid page IDs or of error behavior, both of which matter for correct invocation.

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 documents both parameters, including the fallback rule that pageName is used when pageId is absent. The description's "by ID or name" merely restates this and adds no format, precedence, or disambiguation detail 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?

The description names a specific verb and resource ("Switch to a different page") and identifies the target document and the two lookup keys. It is clear what the tool does, but it makes no attempt to differentiate itself from siblings such as get_page_list, which an agent might confuse with page navigation.

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 only implied: an agent can infer this sets the active page before doing node work, but there is no explicit trigger condition, no statement about what happens if the page is already active, and no pointer to get_page_list as the way to discover valid page IDs. No when-not guidance is given.

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