Skip to main content
Glama

invokeai_workflows

Manage InvokeAI node workflows: list, get, save, and delete stored workflow artifacts. Provides CRUD operations for the workflow library.

Instructions

Manage InvokeAI node workflows (list, get, save, delete).

[RATIONALE] Workflows are stored artifacts in a single store; CRUD plus export share this portmanteau. Running a workflow graph goes through invokeai_generate or a raw enqueue - this tool manages the stored workflow library.

Return Format

{"success": bool, "operation": str, "data": {...}, "message": str}

Examples

invokeai_workflows(operation="list") invokeai_workflows(operation="get", workflow_id="wf-uuid") invokeai_workflows(operation="save", workflow_json='{"nodes": {...}}')

Notes:

  • workflow_json must be a full InvokeAI workflow object (id, nodes, edges).

  • Save with an existing id updates; without one, creates.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax workflows to list.
offsetNoPagination offset.
operationYesWorkflow operation to perform.
workflow_idNoWorkflow id (required for get, delete).
workflow_jsonNoRaw workflow JSON string (required for save).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations provided, the description carries the burden. It discloses the return format, save/update behavior, and that workflow_json must be a full workflow object. It does not mention whether delete is irreversible or how errors are surfaced, but it covers key behavioral aspects adequately.

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 well-structured with clear sections: purpose, rationale, return format, examples, and notes. Each section earns its place without redundancy, and critical information is front-loaded in the opening sentence.

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 tool is a CRUD manager with moderate complexity, and the description covers it fully: operations, return format, examples, save semantics, and required fields. It clearly differentiates from sibling tools, making it adequately complete for an agent to select and invoke correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so parameters are already documented. The description adds value beyond the schema by explaining save semantics, requiring a full workflow object, and providing examples that tie parameters to operations. This goes beyond the baseline mid-rating.

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 opens with a specific verb-resource pair: 'Manage InvokeAI node workflows (list, get, save, delete)', which clearly states the tool's scope. It further distinguishes from siblings by noting that running a workflow graph goes through invokeai_generate or enqueue, so this tool is for the stored library.

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?

The description explicitly provides when and when not to use the tool: 'Running a workflow graph goes through invokeai_generate or a raw enqueue - this tool manages the stored workflow library.' It also clarifies save semantics (create vs update) and gives usage examples for each operation, which serves as clear usage guidance.

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

Install Server

Other Tools

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/sandraschi/invokeai-mcp'

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