Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as FlowRunner Prompt to Flow. If you published it, claim ownership there.

Auto-arrange flow

auto_layout_flow
DestructiveIdempotent

Rearrange every block's position as a left-to-right tree (the canvas auto-arrange), saved immediately — including blocks a person placed. apply_operations positions only the blocks it adds (to the right of the existing ones) and never moves blocks already on the canvas.

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": {
      "workspaceId": "<workspaceId>",
      "versionId": "<versionId>"
    },
    "name": "auto_layout_flow"
  }
}

Input Schema

NameRequiredDescriptionDefault
versionIdYes
workspaceIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, and the description adds real context beyond that: it discloses exactly what is destroyed (manual block placements are overwritten) and that the result is persisted immediately. It does not address permissions, undo/recovery, or whether the arrangement can be reverted, which would round out a destructive mutation.

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?

Two sentences, fully front-loaded: the action and its destructive scope come first, then the sibling comparison that prevents misuse. No filler wording.

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 two-parameter destructive mutation with no output schema, the description covers the important behavioral facts (overwrites manual placement, persists immediately, distinct from apply_operations). The only meaningful gap is that the parameters and their scope are entirely undocumented.

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% and the description never mentions workspaceId or versionId, so neither source explains what scope the rearrangement applies to. An agent must infer that the two required identifiers select the flow instance being laid out.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Rearrange every block's position as a left-to-right tree') plus the persistence behavior ('saved immediately'). It immediately distinguishes scope from the sibling by noting it moves 'blocks a person placed', which apply_operations does not do.

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

Usage Guidelines5/5

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

Explicitly routes the agent away from this tool for incremental work by describing what apply_operations does instead ('positions only the blocks it adds... never moves blocks already on the canvas'). The when-to-use versus alternative distinction is stated rather than inferred.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources