Skip to main content
Glama

gate_queue_job

Enqueue ComfyUI prompt graphs into a durable SQLite/Google Drive queue while the GPU sleeps, then auto-dispatch them on wake and archive outputs.

Instructions

Enqueue a ComfyUI prompt graph into the durable SQLite/Google Drive queue (works even while GPU is sleeping). Auto-dispatches on next wake and archives outputs.

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_queue_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
imageNoOptional reference image (local path, HTTP/HTTPS URL, or uploaded filename; local/URL inputs are pre-uploaded offline via /_gate/jobs/upload).
promptYesComfyUI API prompt graph dictionary mapping node IDs to node configs.
profileNoTarget profile ID (e.g. 'moss-image', 'flux-klein', 'wan-ltx-video').
workflow_idNoOptional workflow identifier.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.6.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true, idempotentHint=false and destructiveHint=false, so the safety profile is covered. The description adds real context beyond that: persistence in SQLite/Drive, offline acceptance, auto-dispatch on the next wake, and output archiving — behavior an agent could not infer from the annotations.

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?

A single front-loaded sentence with the durable-queue fact first and lifecycle behavior in the trailing clause; dense but well ordered. Minor cost: the parenthetical and trailing clause pack several distinct facts without separation.

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?

No output schema exists, and the description never says what enqueueing returns (presumably a job identifier used later with gate_get_job/gate_list_jobs). For a 4-parameter, nested-object mutation tool the input side is fully covered, but the return contract is left implicit.

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%, including notes on the nested prompt graph and offline pre-upload of local/URL images, so the schema carries the parameter burden. The description adds no parameter-level meaning beyond it, which is the baseline-3 case.

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?

States a specific verb plus resource: 'Enqueue a ComfyUI prompt graph into the durable SQLite/Google Drive queue'. The durable/offline nature and automatic dispatch distinguish it from an immediate-execution sibling like gate_generate without needing to open either schema.

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

Usage Guidelines3/5

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

The parenthetical 'works even while GPU is sleeping' implies the selecting condition (queue now, execute later), but no alternative tool is named and there are no explicit when-not conditions, e.g. versus running a job immediately.

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