Skip to main content
Glama
lostpunk
by lostpunk

update_page

Destructive

Rename a Figma page or set its solid #RRGGBB canvas background color by page ID, updating the open file directly through the local plugin bridge.

Instructions

Rename a page and/or set its canvas background. The background is a single solid #RRGGBB paint.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNo
pageIdYes
backgroundNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.4

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already disclose the safety profile (readOnlyHint=false, destructiveHint=true, openWorldHint=false), so the safety burden is covered. The description adds a useful constraint about the background being a single solid #RRGGBB paint, but says nothing about reversibility, permissions, or whether renaming affects existing references. With annotations carrying safety, a 3 is appropriate.

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?

Two tight sentences with the primary action front-loaded and a formatting constraint appended. Every clause earns its place with no filler.

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?

For a mutation tool with no output schema and 0% schema description coverage, the description is functional but thin. It conveys the two operations and the background format but does not explain return behavior, whether background replaces existing paint, or permission requirements, leaving meaningful gaps.

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 0%, so the description must compensate. It clarifies 'name' (rename) and gives format meaning for 'background' (#RRGGBB single solid paint), which adds value beyond the bare pattern. However, it leaves 'pageId' unexplained and adds no per-parameter detail on required/optional roles, so compensation is only partial.

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 gives a specific verb(s)+resource: 'Rename a page and/or set its canvas background.' This clearly distinguishes it from create_page and update_node by naming the page resource and the exact operations. It does not, however, explicitly contrast itself against the nearest siblings (update_node, create_page), so it falls 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 Guidelines2/5

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

There is no guidance on when to use this versus alternatives like update_node or create_page, nor any prerequisite or condition stated. The description only says what it does, leaving all routing decisions to inference.

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