Skip to main content
Glama

read_pack_workflow

Retrieve the ready workflow graph for a model pack by its name, to be used as the reference graph when setting up the model family on the user's canvas or enqueuing headlessly.

Instructions

Return a bundled pack's ready workflow.json graph by pack name (discover names + which packs have a workflow with list_packs). This is the EXPERT graph for that model family — use it as the source of truth when setting up the family on the user's canvas: recreate it node-by-node with the panel_* tools (panel_add_node / panel_connect / panel_set_widget) so it lands on their live canvas, or enqueue it headlessly. Prefer this over inventing a graph from scratch. Names are validated (no path traversal) and must match an existing pack directory.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesThe pack name (a directory under packs/, e.g. 'krea2-txt2img-manual'). Get valid names from list_packs.
Behavior4/5

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

No annotations provided, so description carries full burden. It discloses name validation (no path traversal) and that it returns a ready workflow.json graph. Could mention output format or error handling, but overall transparent.

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 plus a parenthetical, all front-loaded with purpose. Every sentence earns its place: purpose, usage guidance, and parameter context. No fluff.

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?

Given one parameter and no output schema, the description provides sufficient context: what the tool returns, how to use it, and validation. Could mention error behavior, but overall complete for a simple read tool.

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 coverage is 100% with a description, but the description adds valuable context: 'a directory under packs/, e.g. 'krea2-txt2img-manual'. Get valid names from list_packs.' This enhances understanding.

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 clearly states the verb+resource: 'Return a bundled pack's ready workflow.json graph by pack name'. It distinguishes from siblings by specifying it's the 'EXPERT graph for that model family' and contrasts with inventing from scratch.

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 states when to use: 'use it as the source of truth when setting up the family on the user's canvas' and 'prefer this over inventing a graph from scratch'. It also directs to list_packs to get valid names.

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/artokun/comfyui-mcp'

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