Skip to main content
Glama

get_workflow_template

Retrieve a pre-built ComfyUI workflow template for image generation, including Flux Dev for higher quality, Flux Schnell for faster processing, or an empty template to start from scratch.

Instructions

Get a pre-built workflow template.

    Args:
        template_name: One of:
            - 'empty': Empty workflow
            - 'fal-flux-dev': Flux Dev via fal.ai (higher quality)
            - 'fal-flux-schnell': Flux Schnell via fal.ai (faster)

    Returns a workflow dict that can be modified and executed.
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
template_nameYesTemplate: 'fal-flux-dev', 'fal-flux-schnell', 'empty'
Behavior2/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 discloses that the tool returns a workflow dict that can be modified and executed, which adds some behavioral context beyond basic retrieval. However, it lacks details on permissions, error handling, rate limits, or whether this is a read-only operation (implied but not stated). For a tool with zero annotation coverage, this is insufficient.

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 appropriately sized and front-loaded: the first sentence states the purpose clearly, followed by structured parameter details and return information. Every sentence adds value, with no wasted words. Minor improvement could be made by integrating the return statement more seamlessly.

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?

Given the tool's low complexity (1 parameter, no nested objects) and 100% schema coverage, the description is moderately complete. It covers purpose, parameters, and return value. However, with no output schema and no annotations, it should ideally include more behavioral details (e.g., read-only nature, error cases) to fully compensate for missing structured data.

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 the baseline is 3. The description adds value by explaining the semantics of 'template_name' options: it lists the three possible values ('empty', 'fal-flux-dev', 'fal-flux-schnell') and provides brief explanations for two of them (e.g., 'higher quality' vs. 'faster'), which enhances understanding beyond the schema's enum-like listing.

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 clearly states the tool's purpose: 'Get a pre-built workflow template.' It specifies the verb ('Get') and resource ('workflow template'), and distinguishes it from siblings like 'create_workflow' or 'list_templates' by focusing on retrieval of specific templates rather than creation or listing. However, it doesn't explicitly differentiate from 'list_templates' in terms of granularity (single vs. multiple).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention when to choose this over 'list_templates' (e.g., for detailed template retrieval vs. listing names) or 'create_workflow' (e.g., for starting from a template vs. from scratch). Usage is implied through the description but not explicitly stated.

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

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