Skip to main content
Glama
OpenFigma MCP

OpenFigma MCP

by Shivam990q

canvas_create_frame

Creates a named frame with specified width and height on the active Figma canvas through a companion plugin.

Instructions

Creates a frame on the active Figma canvas via companion plugin.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "name": "<name>",
      "width": "<width>",
      "height": "<height>"
    },
    "name": "canvas_create_frame"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
widthYes
heightYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.8/5.0
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It mentions the companion-plugin dependency, which is useful, but omits whether the plugin must be running, what permissions are needed, whether the operation is idempotent, what side effects occur, and what is returned. For a mutation tool, this is a significant gap.

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?

The description is a single front-loaded sentence with no redundant wording. It is efficient and readable.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with three required parameters, no annotations, and no output schema, the description is too sparse. It does not cover required plugin state, canvas/session assumptions, error behavior, or parameter semantics. It identifies the action but not enough context to invoke it confidently.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/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 for undocumented parameters. It does not explain units for width/height, naming constraints, positioning behavior, or whether the frame is created at the origin. The parameter names are largely self-explanatory, but the definition adds no meaning beyond them.

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 states a specific verb and resource: creates a frame on the active Figma canvas. It also adds the important qualifier that creation happens via a companion plugin. It does not explicitly differentiate the tool from siblings like canvas_create_rectangle or canvas_create_text, but the resource is clear enough for selection.

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?

The description gives no when-to-use guidance, no exclusions, and no alternatives. It only implies that the tool applies to the active Figma canvas via the companion plugin. An agent must infer from sibling names which creation tool is appropriate.

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