Skip to main content
Glama
kicholiz

Figma Write Bridge MCP

by kicholiz

set_timeline_duration

Set a timeline's duration in seconds on a node's top-level frame to make room for animation. Omit timelineId to target the node's first timeline; avoid shortening because it truncates existing motion.

Instructions

Set the duration, in seconds, of the timeline owned by the node's containing top-level frame. Omit timelineId to use the node's first timeline. Lengthen to make room for an animation; do not shorten unless the user asked, since it truncates existing motion.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nodeIdYes
durationYes
timelineIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/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 burden. It usefully discloses the destructive side effect (shortening truncates existing motion) and the timelineId default, but says nothing about reversibility, permissions, or response, leaving meaningful behavioral gaps for a mutation tool.

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?

Three tight sentences, front-loaded with the core action and scope, followed by the parameter default and the safety caveat. No filler or repetition.

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

Completeness4/5

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

For a 3-param mutation tool with no annotations and no output schema, the description covers unit, default behavior, and the key destructive consequence. Only the meaning of nodeId and reversibility are left implicit, so it is nearly complete.

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 coverage is 0%, so the description must compensate. It adds real meaning for two of three params — duration is 'in seconds' and timelineId omitted falls back to the node's first timeline — but nodeId is never explained, leaving one parameter undocumented in both schema and description.

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?

States a specific verb (Set) and resource (duration of a timeline), and pins the scope to 'the timeline owned by the node's containing top-level frame,' which tells the agent exactly what is being mutated. It does not explicitly contrast with nearby siblings like set_keyframe_track or apply_animation_style, but the purpose itself 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 Guidelines4/5

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

Gives explicit when/when-not guidance: lengthen to make room for animation, do not shorten unless the user asked because it truncates motion. This is strong operational direction, though it names no alternative tool to route to.

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