Skip to main content
Glama

generate_workflow_name

Create random, humorous workflow names for saving new workflows in ComfyUI, generating slug-style names like 'cosmic-penguin' or 'mighty-purple-narwhal' with customizable word count.

Instructions

Generate a random funny workflow name.

Args: words: Number of words in the name (2-4, default: 2) Returns a slug like 'cosmic-penguin' or 'mighty-purple-narwhal'. Use this when saving new workflows for creative naming.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
wordsNoNumber of words (2-4)

Implementation Reference

  • The handler function for the 'generate_workflow_name' tool. It generates a random funny name using the 'coolname.generate_slug' function with the specified number of words (clamped between 2-4), optionally logging via context.
    @mcp.tool() def generate_workflow_name( words: int = Field(default=2, description="Number of words (2-4)"), ctx: Context = None, ) -> str: """Generate a random funny workflow name. Args: words: Number of words in the name (2-4, default: 2) Returns a slug like 'cosmic-penguin' or 'mighty-purple-narwhal'. Use this when saving new workflows for creative naming. """ if ctx: ctx.info(f"Generating {words}-word workflow name") words = max(2, min(4, words)) # Clamp to valid range return generate_slug(words)
  • Call to register_workflow_tools(mcp) within register_all_tools, which registers the generate_workflow_name tool among others.
    register_workflow_tools(mcp)

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