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.

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>",
      "workflowId": "<workflowId>"
    },
    "name": "trigger_auto_layout"
  }
}

Input Schema

NameRequiredDescriptionDefault
workflowIdYes
workspaceIdYesThe workspace ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observed

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description must carry full behavioral disclosure. It describes the resulting layout direction, but does not say whether manual node positions are overwritten, whether the change is reversible, what permissions are required, or what the call returns.

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 three short sentences, front-loading the action and effect before the timing instruction. Every sentence carries useful information, though it is simple enough that a slightly tighter phrasing could have been used.

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 workflow-layout tool with no output schema and no annotations, the description covers the core action and when to call it. It remains incomplete on side-effect behavior, reversibility, and the undocumented workflowId parameter.

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 50%: workspaceId is described, but workflowId is undocumented in the schema. The description does not clarify either parameter beyond an implicit reference to 'the workflow', so it fails to compensate for the missing workflowId semantics.

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 ('Trigger') and resource ('automatic layout of nodes in the workflow') and explains the resulting arrangement ('left-to-right based on data flow'). It is clear without needing sibling comparison, though it does not explicitly differentiate itself from adjacent node/connection tools.

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?

It gives an explicit timing condition: 'Call this after adding all nodes and connections.' That tells the agent when to invoke it, but there is no mention of when not to use it or an alternative tool.

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.