Skip to main content
Glama

trigger_auto_layout

Trigger automatic layout of nodes in the workflow. This arranges nodes left-to-right based on data flow. Call this after adding all nodes and connections.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
workflowIdYes
workspaceIdYesThe workspace ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It usefully describes the layout algorithm ('left-to-right based on data flow'), but does not disclose side effects such as whether existing manually-positioned nodes are overwritten, whether the operation is reversible, or any permission requirements. Adequate behavioral context, but significant gaps for a mutating 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 short sentences, each earning its place: the action, the mechanism, and the timing. The core purpose is front-loaded with no waste.

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

Completeness3/5

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

For a two-parameter mutating tool with no annotations and no output schema, the description covers what it does and when to call it, which is the essential minimum. It omits destructiveness/reversibility of layout changes and says nothing about the undocumented workflowId parameter, leaving notable gaps.

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 coverage is only 50% (workspaceId is documented, workflowId is not), and the description adds no parameter-level meaning beyond the implicit mention of 'the workflow'. It fails to compensate for the undocumented workflowId parameter.

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 (Trigger) and resource (automatic layout of nodes in the workflow), and further clarifies the effect: nodes arranged left-to-right based on data flow. This is clearly distinguishable from siblings like add_node, connect_nodes, or update_node without opening their schemas.

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 timing guidance: 'Call this after adding all nodes and connections.' That is a clear usage condition. It does not name alternatives, but for an auto-layout operation there is no competing sibling, so the lack of exclusions is minor.

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