Skip to main content
Glama

set_flow_starting_point

Add, rename, reorder, or remove a prototype flow starting point on a top-level Figma frame; set index 0 to make it the default flow.

Instructions

Add, rename, reorder or remove a prototype flow starting point (Figma Design only). The node must be a top-level frame. Adding an existing start just renames it. index 0 makes it the default flow. Returns the page's updated flowStartingPoints.

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": {
      "nodeId": "<nodeId>"
    },
    "name": "set_flow_starting_point"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileNoTarget file (fileKey, id or name). Defaults to the most recently active file.
nameNoFlow name (default: frame name)
indexNoMove the flow to this position (0 = default flow)
nodeIdYesTop-level frame id
pageIdNoDefault: the node's page
removeNoRemove this flow starting point

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does unusually well: it states the platform restriction, the top-level-frame requirement, upsert semantics on duplicate names, index-0 default behavior, and the return payload ('Returns the page's updated flowStartingPoints'). It omits any mention of permissions and doesn't flag whether 'remove' is destructive or recoverable, which for a mutation tool is the main remaining 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?

Four short sentences, front-loaded with the operation set and platform scope, then constraints, then return value. No filler or redundancy; every sentence carries information an agent needs.

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 six-parameter mutation tool with no annotations and no output schema, this covers most of what an agent needs: scope, preconditions, duplicate handling, index semantics, and the response shape. Missing pieces are permission/auth requirements and whether removal is reversible or errors on a missing flow.

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 100%, so every one of the six parameters is already documented, and the description largely restates those semantics (index 0 = default flow, rename-on-duplicate). It adds the useful cross-parameter rule that nodeId must be a top-level frame, but offers nothing on file/page defaults or how 'name' interacts with 'remove'.

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 opens with concrete verbs and resource: 'Add, rename, reorder or remove a prototype flow starting point', plus the scope qualifier '(Figma Design only)'. That is far more specific than the tool name alone, though it doesn't explicitly contrast itself with siblings like trace_prototype_flow (the read-side counterpart) or set_reaction.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

It provides a precondition ('The node must be a top-level frame') and two operative rules ('Adding an existing start just renames it', 'index 0 makes it the default flow'), which guide invocation. However, it gives no explicit when-to-use/when-not framing and never names an alternative tool for reading or tracing flows instead.

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