Skip to main content
Glama
open-figma-mcp

open-figma-mcp

by RHK1335

figma_lock_nodes

figma_lock_nodes

Locks one or more Figma nodes to prevent unintended edits, accepting node IDs in colon or URL hyphen format.

Instructions

Lock one or more nodes.

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

Input Schema

NameRequiredDescriptionDefault
nodeIdNoFigma node ID. Colon or URL hyphen format accepted.
nodeIdsNoFigma node IDs. Colon or URL hyphen format accepted.
screenKeyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

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. It states the mutation ('Lock') but omits whether locking is idempotent, what happens to already-locked nodes, whether the change is undoable, and what the response contains. Only the barest behavior is conveyed.

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 zero waste. Brevity is achieved, but it tips into under-specification rather than crisp completeness.

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 no annotations, no output schema, and one of three parameters undescribed anywhere, this definition leaves too much for the agent to infer about side effects and required access.

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?

With 67% schema description coverage, the schema already documents nodeId and nodeIds including accepted formats. The description's 'one or more' hints that nodeId or nodeIds may be used, but it adds nothing about the undocumented screenKey parameter or whether the two ID parameters are alternatives.

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 and resource ('Lock ... nodes') and the phrase 'one or more' signals batch semantics. It does not explicitly differentiate from siblings like figma_unlock_nodes, but the operation is unambiguous.

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 figma_unlock_nodes or other node-manipulation tools, and no mention of prerequisites such as needing edit access or nodes already being unlocked.

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

Deploy Server

Other Tools