Skip to main content
Glama

gate_generate

Submit a raw ComfyUI prompt workflow graph to a running instance, wait for execution, and retrieve output URLs plus metadata for generated results.

Instructions

Submit a raw ComfyUI prompt workflow graph to the running instance, wait for execution, and return output URLs and metadata.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "prompt": "<prompt>"
    },
    "name": "gate_generate"
  }
}

Input Schema

NameRequiredDescriptionDefault
promptYesStandard ComfyUI prompt graph JSON object mapping node IDs to node configurations.
timeout_secondsNoMaximum seconds to wait for generation (default: 180).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare non-readonly, open-world, non-idempotent, non-destructive behavior, so the description's real contribution is disclosing that the call blocks until execution finishes and returns output URLs and metadata. That blocking semantics is genuinely new information not present in any structured field. It falls short of explaining timeout/failure behavior or what happens to a partially executed job.

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?

A single sentence with three front-loaded clauses (submit, wait, return) and no filler. Every clause corresponds to something the agent needs to know when invoking the tool.

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?

For a two-parameter, nested-object tool with no output schema, the description covers the essential contract: what is submitted, that the call is synchronous, and roughly what comes back. Missing pieces are failure and timeout outcomes and the relationship to the higher-level generation siblings, which matters given five siblings in the same namespace.

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?

Schema description coverage is 100%, with both 'prompt' and 'timeout_seconds' fully documented including the default of 180 seconds. The description adds no format, size, or validation detail beyond the schema, so the schema carries the full burden and baseline 3 applies.

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 names a specific verb-and-resource pair: submit a raw ComfyUI prompt graph to the running instance, then wait and return outputs. 'Raw ... prompt workflow graph' signals this is the low-level escape hatch, though it never names the sibling tools it differs from, so the distinction is implied rather than stated.

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?

There is no explicit guidance on when to prefer this over gate_txt2img or gate_img2img, despite those being the obvious alternatives for generation. The word 'raw' hints at a custom-workflow use case, but an agent must infer the routing rule entirely from the name and the word 'raw'.

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