Skip to main content
Glama
Rompni

figma-rest-mcp

by Rompni

Create dev resources

create_dev_resources

Attach a Dev Mode URL to a Figma node to give developers direct access to design specs and context.

Instructions

POST /v1/dev_resources — attach a Dev Mode URL to a node. Scope: file_dev_resources:write.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes
fileYesFigma file key or URL (figma.com/design/... or figma.com/file/...)
nameYes
node_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.5.0

TDQS

C2.7/5.0
Behavior2/5

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

Annotations indicate readOnlyHint=false and openWorldHint=true, so the description doesn't need to restate that it's a write operation. However, it adds no behavioral context beyond the endpoint: no mention of idempotency, whether it overwrites existing resources, what happens on duplicate names, or required auth scopes. The openWorldHint=true suggests unknown side effects, but the description doesn't clarify.

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?

The description is a single concise sentence with the endpoint and scope front-loaded. It earns its place, though it could be slightly more informative without becoming verbose.

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 create/write tool with no output schema and sparse parameter descriptions, the description is incomplete. An agent doesn't know what the response will be, whether the operation is idempotent, or what the 'name' and 'url' fields semantically represent. The sibling list shows related dev resource tools, but the description doesn't connect to them.

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 only 25% (only 'file' has a description). The description adds no parameter-level meaning beyond the schema. It doesn't explain what 'name' is for, what format 'url' should take, or how 'node_id' relates to the node. With low coverage, the description should compensate but doesn't.

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 ('attach') and resource ('Dev Mode URL to a node'), and includes the HTTP endpoint and scope. It is clear what the tool does, though it doesn't explicitly distinguish it from sibling tools like update_dev_resources or delete_dev_resource beyond the create action implied by the name.

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?

No guidance on when to use this tool versus alternatives. It doesn't mention that update_dev_resources should be used for modifying existing resources, or that delete_dev_resource is for removal. The scope string is present but not explained as a prerequisite or permission requirement.

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