Skip to main content
Glama

organize_workflow

Remove guesswork from a finished ComfyUI graph: sort wired nodes into pipeline bands, add human-readable titles and colored groups, then highlight editable knobs and add leave-alone guidance notes.

Instructions

THE finishing step: auto-layout into pipeline stage bands, colored groups, human titles, green highlights on user-editable knobs, and markdown guidance notes (model-family aware, two registers: 'touch this' vs 'leave alone'). Run after wiring is done and before save_workflow. Idempotent.

MUTATES the session workflow in place - the applied block in the result summarizes the layout/group/note changes; inspect_workflow or export_workflow_json shows the full reorganized graph.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
workflow_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed2 schema fields changedv0.15.1
    • removedInput schema / properties / workflow_id / title
      Removed value: -"Workflow Id"
    • removedInput schema / title
      Removed value: -"organize_workflowArguments"
  2. First observedv0.2.0

TDQS

A4.5/5.0
Behavior5/5

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

The description goes well beyond the annotations by explicitly stating that the tool MUTATES the session workflow in place and is idempotent. It also explains what the result contains (the applied block) and how to see the full reorganized graph, which is valuable context that the annotations do not provide.

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?

The description is compact but information-dense: two sentences carry purpose, sequencing, mutation semantics, idempotence, and output behavior. The key instruction is front-loaded and every sentence earns its place.

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

Completeness5/5

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

The description covers the main operational requirements: when to call it, what it mutates, idempotence, what the result contains, and how to inspect the complete output. Since an output schema exists, the description does not need to restate return values, and it gives the agent enough context to invoke the tool correctly.

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?

The schema coverage for workflow_id is 0%, and the description does not explain workflow_id explicitly. However, the repeated mention of 'session workflow' and 'workflow' implies that this ID selects the target workflow to be organized. For a single, self-describing identifier parameter, this is adequate but not fully explicit compensation.

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?

The description names a clear verb and resource: it auto-layouts the workflow into pipeline stage bands, colored groups, human titles, highlights, and guidance notes. It also distinguishes itself from sibling tools by being explicitly 'the finishing step' before save_workflow, rather than an inspection, validation, or save operation.

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 clear lifecycle guidance: run after wiring and before save_workflow. It also tells the agent that inspect_workflow or export_workflow_json can be used afterward to view the full result. It does not explicitly name alternatives for when not to use it, so it falls just short of a perfect dimension.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/EnragedAntelope/comfy-draftsman'

If you have feedback or need assistance with the MCP directory API, please join our Discord server