Skip to main content
Glama

comfyui-loop-mcp

It doesn't just drive ComfyUI — it runs the loop: submit → get_result → get_image (LOOK) → compare_images → loop_record, with the ratchet (best-so-far + ledger) held on disk

Un servidor MCP consciente del bucle para tu propio ComfyUI. No solo llama a la API — ejecuta el bucle: construir → ejecutar → mirar → criticar → arreglar, hasta que el resultado cumple realmente el encargo.

Un grafo que se ejecuta sin node_errors es válido, no correcto. Manos deformadas, un fondo desplazado, un borde de mate duro, una costura de mosaico visible — nada de eso aparece en un registro de errores. Solo se ve en los píxeles. Por eso cada descripción de herramienta, cada respuesta de herramienta y las propias instrucciones del servidor empujan al modelo a mirar antes de declarar un grafo como terminado.

La parte que nadie más tiene: el trinquete es una herramienta, no una sugerencia. La mayoría de las herramientas de agente controlan ComfyUI. Esta gestiona el bucle — un bucle largo hace que su contexto se compacte, y en el momento en que eso ocurre, un "mejor hasta ahora" recordado se pierde: el trinquete deja de funcionar silenciosamente, el modelo reintenta cambios que ya rechazó, y puede entregarte una regresión como respuesta final. Así que el mejor grafo y el registro viven en disco, no en la memoria del modelo. Revertir es una llamada a una herramienta, no un acto de memoria.

loop_start ─▶ submit ─▶ get_result ─▶ get_image ─▶ compare_images ─▶ loop_record ─┐
     ▲                                   (LOOK)      (what moved?)    (ratchet)   │
     └───────────────────  revert to best, try something else  ◀─────────────────┘
                                                          ↓ can't name a defect?
                                           loop_finish + loop_report → sign-off

El método se incluye con el servidor. El prompt del bucle y la skill de Claude Code viven en comfy_loop/docs/ y se empaquetan en la wheel, de modo que comfy_loop / comfy_skill / comfy_install los sirven textualmente desde donde esté instalado el servidor — una sola fuente, nada que mantener sincronizado. (Nacieron en comfyui-llm-onboarding-prompt, que ya no se mantiene; este repositorio es donde se conservan ahora).


Cómo se compara con los propios servidores MCP de Comfy

ComfyUI incluye dos servidores oficiales, y esto es una tercera cosa construida junto a ellos — de forma independiente, y desde el otro extremo del problema.

Comfy-Org/comfy-mcp (primer commit 2026-07-01, un día después que este, aunque fue público primero) controla un ComfyUI local a través de comfy-cli: cada herramienta ejecuta el binario comfy y analiza su sobre JSON. Comfy Cloud MCP (https://cloud.comfy.org/mcp) es un servidor HTTP remoto que ejecuta el grafo en las GPU de Comfy. Ambos están construidos y mantenidos por el equipo de ComfyUI.

Este habla HTTP directamente a /prompt y /object_info — sin CLI, sin cuenta, nada que instalar más allá de httpx — y dedica su superficie a la mitad del trabajo que comienza después de que un grafo se ejecuta.

La diferencia real

Su servidor local trata la instalación de ComfyUI como lo que hay que gestionar: iniciarlo, detenerlo, cambiarlo a otra versión, iniciar sesión, gastar créditos en modelos de socios alojados, revisar sus registros, mantener los paquetes actualizados. Esa es una superficie genuinamente más grande que la de este repositorio, y es la superficie que mejor puede poseer un proveedor de plataforma — se mueve cada vez que ComfyUI, comfy-cli o las API de los socios se mueven. Si lo que necesitas es controlar y mantener mi instalación, usa el suyo.

Este trata la salida como lo que hay que gestionar — porque esa es la parte de la que éramos responsables. Salió del propio trabajo de producción de Alienrobot, donde un grafo que se ejecuta es el comienzo del trabajo, no el final. Nada de esto inicia un proceso ni gasta un crédito. En su lugar: devuelve los píxeles al modelo, compara dos pasadas en una imagen donde la deriva no puede esconderse, puntúa lo que el encargo realmente exige, y mantiene el mejor-hasta-ahora en disco para que un contexto compactado no pueda perderlo. Esa es la parte que nadie más tiene — no porque sea difícil llamar a /view, sino porque "haz que el agente mire, y evita que construya sobre una regresión" es una disciplina, no un punto final.

este repo

Comfy-Org/comfy-mcp

Habla con ComfyUI mediante

su API HTTP (/prompt, /object_info, /view)

subprocesos de comfy-cli (comfy … --json)

Dependencia adicional

ninguna (httpx, pillow)

comfy-cli ≥ 1.14 y una instalación que conozca

Ve un ComfyUI que no instalaste

sí: cualquier cosa a la que llegue la URL, incl. una máquina en la que no tienes shell

parcialmente; algunas herramientas son solo locales por construcción

Ver el resultado

get_image, get_video_frame: píxeles de vuelta al modelo

fetch_outputs(inline_images=True)

Evaluar el resultado

compare_images (modo diferencia), image_diff_stats, measure_image (costura de tesela / nitidez), video_temporal_stats

—

Conservar el mejor

loop_*: trinquete + registro en disco, revertir es una llamada de herramienta

—

Explorar un parámetro

loop_sweep: una entrada, N valores, una llamada, registrado en la ejecución

vary_workflow: producto cruzado de valores de ranura en archivos

Comprobación previa de un grafo

check_workflow: paquetes faltantes, ARCHIVOS de modelo faltantes, entradas obligatorias sin definir, cables muertos, sin nodo de salida, en una sola respuesta

validate_workflow + workflow_deps + plantilla local_check

Plantillas de subgrafo

expandidas y recableadas (los widgets promovidos se conservan)

expandidas en el cliente

Coste de tokens del descubrimiento

notación compacta de nodos (93% menos de object_info, 987 nodos); grafos FlowZip ~72% menos que litegraph

no es un objetivo declarado

Instalar lo que falta

ComfyUI-Manager: install_node_pack, install_model, restart_comfyui, update_comfyui

registro install_node, download_model (en segundo plano, cancelable), actualización completa/cambio de versión

De cero a funcionando

lo hace el agente: comfy_install es un prompt rellenado desde esta máquina (instalación existente, este Python, el acelerador de esta máquina), y cualquier llamada fallida devuelve los comandos de inicio/instalación

te dice que ejecutes comfy install en una terminal; launch_comfyui / stop_comfyui / switch_comfyui_version gestionan una instalación que ya existe

Ejecutar el proceso de ComfyUI

no: solo reinicio (vía Manager); el agente es quien tiene el shell

subprocesos de comfy-cli, así que sí

Modelos alojados/de socios, cuentas, créditos

no, deliberadamente

auth_login, partner_generate, puertas de consentimiento de gasto

Control de trabajos

submit_workflow, job_status, cancel_job, get_queue, interrupt

una herramienta job: estado / espera / vigilancia / cancelación / cola

Superficie MCP

43 herramientas + 2 prompts + 3 recursos

39 herramientas

Tamaño / licencia

~3.700 líneas, MIT

~16.000 líneas, AGPL-3.0-or-later o comercial

Creado por

Alienrobot: creado para, y usado en, nuestro propio trabajo de VFX/generativo

el equipo de ComfyUI, junto con la propia plataforma

Alcance del compromiso

el bucle: descubrimiento, conversión y evaluación de la salida

toda la instalación: ciclo de vida, cuentas, API de socios, paquetes

Cuál usar

  • Sin GPU → Cloud MCP. Nada local compite con el hardware que no tienes.

  • "Instálalo, ejecútalo, mantenlo funcionando" → Comfy-Org/comfy-mcp. Ciclo de vida, modelos de socios, descargas en segundo plano, fijación de versiones.

  • "El primer resultado funciona, y un ojo entrenado lo rechaza" → este. Seis dedos, un fondo a la deriva, un borde de mate duro, una costura de tesela visible, un clip que hierve. Eso es un bucle, y este es un servidor construido enteramente en torno a él.

Se complementan: nada te impide ejecutar ambos, y los nombres de las herramientas no chocan. (Los nombres de paquete sí chocaban: este también fue comfy-mcp, brevemente, que es una discusión perdida con la gente que posee el espacio de nombres de ComfyUI. De ahí comfyui-loop-mcp; el paquete de importación es comfy_loop, y ambos pueden instalarse lado a lado.)

Lo que no vamos a añadir

Absorber la lista de funciones de un competidor al por mayor es como se acaba con dos herramientas mediocres. Lo que hay aquí de las suyas es lo que un bucle necesita: comprobación previa, estado del trabajo, seguimiento de registros, margen de VRAM, actualizaciones. Lo que queda fuera, a propósito:

  • Cuentas, créditos, modelos de socios alojados. La propuesta es "nada sale de tu máquina, sin registro, sin medidor." Una puerta de créditos la contradice. Si quieres Kling o Veo, su servidor lo hace correctamente, con puertas de consentimiento que este repo no tiene razón para reinventar.

  • Iniciar y detener el proceso de ComfyUI. Un cliente HTTP no puede iniciar un servidor que no está en ejecución, y apuntar esto a una máquina en la que no tienes shell es un caso soportado, no uno marginal. restart_comfyui (vía Manager) es el límite honesto — pero "no poder" no es lo mismo que "no ayudar": el agente normalmente sí tiene shell, así que un servidor inalcanzable devuelve los comandos de instalación/inicio para esta máquina y espera que el agente los ejecute. Ni este servidor ni el de Comfy-Org instalan ComfyUI por ti (el suyo te remite a comfy install en una terminal); la diferencia es que aquí las instrucciones vuelven a través de la llamada de herramienta, dirigidas a quien pueda actuar sobre ellas.

  • Guardar / compartir / reproducir workflow como servicio. save_workflow te entrega un archivo verificado de ida y vuelta. Dónde viva después es asunto tuyo.

Related MCP server: ComfyPilot

Las tres primitivas de MCP, mapeadas al bucle

Primitiva

Qué expone

Paso del bucle

Herramientas

check_comfyui, list_nodes, get_node, list_models, search_models, search_templates, get_template

Descubre, no adivines

find_missing_nodes, install_node_pack, install_model, restart_comfyui, update_comfyui

Amplía (instala lo que necesita una plantilla)

check_workflow

Verifica antes de que intervenga la GPU

inflate_workflow, flowzip_to_api

Comprime (grafos eficientes en tokens)

template_slots, run_template

Ejecuta una plantilla probada con anulaciones (sin grafo en contexto)

upload_image, submit_workflow

Construir → Ejecutar

get_result, get_image (devuelve la imagen real)

Mira

loop_start, loop_record, loop_sweep, loop_best, loop_ledger, loop_finish, loop_report

Trinquete + registro, en disco

system_stats, get_queue, job_status, cancel_job, interrupt, free_vram, comfyui_logs

Control

Prompts

comfy_loop (método completo), comfy_skill (compacto), comfy_install (arranque)

Toda la disciplina, un solo comando

Recursos

comfyui://object_info (en vivo), comfyui://loop-method, comfyui://skill

Verdad + documentación

Tres cosas lo hacen consciente del bucle en lugar de un simple envoltorio de API:

  1. get_image devuelve la salida renderizada al modelo — ese es el paso que hace que «mirar» sea real. El modelo ve literalmente los píxeles.

  2. Las respuestas de las herramientas impulsan el bucle. submit_workflow en caso de éxito dice «válido, no correcto — ahora MIRA»; en caso de rechazo dice «no es una iteración — corrige el nodo indicado y vuelve a enviarlo». get_result termina con una directiva: «no te detengas aquí — MIRA, luego cambia un parámetro o declara cumplido el encargo».

  3. Las instrucciones del servidor incluyen una política de preferencia por el bucle (ver más abajo) que el cliente inyecta al conectarse.

La política de preferencia por el bucle (instrucciones del servidor)

En el apretón de manos, el servidor le dice al agente cuándo hacer bucle y cuándo no:

  • SIEMPRE descubre desde la API en vivo antes de escribir JSON; valida ejecutando; node_errors no son iteraciones — corrige y vuelve a enviar.

  • PREFIERE EL BUCLE siempre que un ojo entrenado pudiera rechazar la salida — composición/conteo, parecido, calidad de mate/bordes, upscale/restauración, reiluminación, costuras de textura, estabilidad temporal del vídeo, «haz que se vea bien».

  • TRINQUETE — conserva el mejor hasta ahora; mantén un cambio solo si lo supera, si no revierte y prueba algo distinto; pivota parámetro → cableado → modelo en meseta. Aplica un criterio objetivo solo donde el encargo lo tenga; juzga a ojo en caso contrario.

  • OMITE el bucle solo para tareas mecánicas (conversión de formato, una consulta de API pura, o cuando el usuario quiere explícitamente solo un grafo ejecutable).

  • Cuando dudes, haz al menos una pasada de mirar-y-criticar antes de declarar terminado.

El trinquete/registro/pivote están adaptados del bucle AutoResearch de Karpathy, ajustados para trabajo de imagen subjetivo (criterio objetivo solo donde exista; un punto de control de aprobación humana en lugar de ejecutarse para siempre). Estas líneas de política viven en las instructions del servidor + las respuestas de las herramientas; el método completo está en el prompt comfy_loop, que sirve el documento del bucle del repositorio textualmente.

MCP no puede forzar el comportamiento — expone capacidades y orientación. Esto convierte el bucle en el predeterminado fuerte y bien delimitado que se le dice repetidamente al agente que prefiera. Para una garantía firme en Claude Code, instala el mismo texto como una skill siempre activa:

mkdir -p ~/.claude/skills/comfyui-workflows
cp comfy_loop/docs/SKILL.md ~/.claude/skills/comfyui-workflows/

Skill = disciplina siempre activa, MCP = las herramientas que impulsa. Es el mismo archivo que sirve el prompt comfy_skill, así que no pueden discrepar — y delega en comfy_install para el arranque en lugar de llevar su propia receta obsoleta.


Referencia de herramientas

Descubrir

Herramienta

Argumentos

Devuelve

check_comfyui

—

Paso 0 del bucle y una verificación previa real. Cuando no responde, devuelve qué hacer al respecto, específico de esta máquina: iniciar la instalación que encontró, crear una o abrir el túnel para una URL remota (ver Solución de problemas). Cuando sí responde, también señala lo que se interpone entre aquí y un renderizado funcional: torch ejecutándose en la CPU (todos los renders funcionan, ~50x más lento, no se notifica ningún error), sin pesos en disco (un ComfyUI totalmente funcional que no puede renderizar nada), sin ComfyUI-Manager (con los dos comandos para solucionarlo, ya que restart_comfyui es en sí una ruta del Manager). De lo contrario: cantidad de nodos, versiones de ComfyUI/torch, VRAM por dispositivo libre vs total, si ComfyUI-Manager está presente (sin Manager = sin instalaciones, sin reinicio) y si la cola ya está ocupada — o un claro «no accesible».

list_nodes

keyword=""

Nodos cuyo nombre de clase o nombre mostrado coincide (un superconjunto estricto de la búsqueda solo de clases de la skill). Omite keyword para el recuento.

get_node

class_name, verbose=False

La interfaz de un nodo en formato compacto @Name +req:T ?opt:T -out:T (~90 % menos de tokens); verbose=True para el JSON completo (valores predeterminados, mínimo/máximo).

list_models

class_name, input_name=""

Los archivos de modelo reales que un cargador ofrece en disco (fuente de verdad), leídos de su enum: admite tanto la lista heredada como las codificaciones COMBO. Nunca inventes un nombre de archivo.

search_models

keyword="", model_type=""

El catálogo de modelos descargables (la lista de ComfyUI-Manager): encuentra checkpoints/LoRAs/VAEs/upscalers que quizá aún no tengas; cada resultado indica si ya está instalado. Instala con install_model.

search_templates

keyword="", source="online"

online (predeterminado): el catálogo abierto completo (Comfy-Org/workflow_templates, ~550), buscado por nombre/título/descripción en vivo desde GitHub; sin instalación. installed: solo lo que hay en este ComfyUI.

get_template

name, pack="", source="online", fmt="flowzip"

Obtiene una plantilla. fmt="flowzip" (predeterminado) es texto FlowZip compacto (~72 % más pequeño que el JSON litegraph sin formato, mediana); fmt="json" para el litegraph completo. En cualquier caso es litegraph — convierte con flowzip_to_api antes de enviarlo. Una plantilla online puede necesitar nodos/modelos que no tienes: compruébalo con find_missing_nodes.

inflate_workflow

flowzip

Expande el texto FlowZip de vuelta al JSON litegraph completo.

flowzip_to_api

flowzip

Convierte FlowZip/litegraph → formato API.

Herramienta

Argumentos

Devuelve

find_missing_nodes

name, pack="", source="online", workflow=None

Compara las clases de nodos con /object_info y resuelve cada una de las que faltan al id de paquete instalable. Funciona sobre una plantilla o sobre un workflow que ya tengas (formato API o litegraph), recursando en subgrafos. Solo lectura.

install_node_pack

pack_id, version="latest"

Instala un paquete a través de la cola de ComfyUI-Manager (registro de confianza, sin código arbitrario). Luego se requiere un reinicio.

install_model

name

Descarga un modelo del catálogo (de search_models) en la carpeta correcta models/<type>/ a través de Manager. No se necesita reinicio — verifica con list_models.

restart_comfyui

—

Reinicia ComfyUI (a través de Manager) para que los nuevos nodos se registren en /object_info. Informa del fallo con honestidad: una respuesta HTTP significa que no se reinició nada.

update_comfyui

target="comfyui"|"nodes"|"all"

Actualiza el núcleo de ComfyUI y/o todos los paquetes instalados a través de la cola de Manager, luego te dice que se requiere un reinicio. Ejecuta código de terceros — dilo primero. No en medio del bucle: mueve el comportamiento de los nodos bajo un trinquete cuyas pasadas anteriores se midieron contra el código antiguo.

Verificar — todo lo que se puede saber antes de que la GPU esté involucrada

Herramienta

Argumentos

Devuelve

check_workflow

workflow (API dict o litegraph)

Una respuesta a "¿se ejecutará esto en esta máquina?": clases de nodos que no tienes (resueltas a ids de paquete en la misma pasada), nombres de archivos de modelo que no están en la lista de ese cargador (con lo más cercano que sí tienes), entradas requeridas sin establecer, cables que apuntan a nodos ausentes, valores fuera del rango declarado de un nodo, y un grafo sin nodo de salida — que se ejecuta en verde y no produce nada que mirar. /prompt también encuentra estos: uno por envío, con un checkpoint faltante que se ve exactamente como un paquete faltante. Limpio aquí significa bien formado, no correcto — todavía tienes que mirar los píxeles.

Construir → Ejecutar → Mirar

Herramienta

Argumentos

Devuelve

upload_image

path, overwrite=True

Sube una imagen local al directorio input/ de ComfyUI; devuelve el nombre para referenciar en un nodo LoadImage.

submit_workflow

workflow (dict en formato API), client_id

En éxito: prompt_id + un empujón de "ahora MIRA". En fallo: node_errors + un empujón de "arregla ese nodo, reenvía".

get_result

prompt_id, timeout_s=120

Consulta /history; devuelve el filename/subfolder/type de cada salida, informa cuántos nodos fueron servidos desde caché (con semillas fijas solo los nodos aguas abajo de tu edición se re-ejecutan — las iteraciones son baratas a propósito), + una directiva para mirar e iterar. Una ejecución que murió a mitad de ejecución regresa como el nodo que falló y su excepción (OOM recibe un empujón de "free_vram, luego baja resolución") en lugar del engañoso "terminado pero sin salidas".

get_image

filename, subfolder="", image_type="output"

La imagen real, devuelta al modelo para que pueda juzgar los píxeles.

compare_images

filename_a, filename_b, mode="side_by_side"|"difference", amplify=1.0

La comparación como imagen. difference = 0.5+0.5*(a−b): las regiones idénticas se leen como gris medio plano, así que la deriva que nunca captarías a simple vista salta. Un cliente MCP no tiene shell para ffmpeg — sin esto, "diff tus salidas" es inejecutable.

image_diff_stats

filename_a, filename_b

Diferencia absoluta media/máxima + % de píxeles cambiados — la puerta de "cambié solo lo que quería". Detecta el "pequeño ajuste" que reescribió silenciosamente el fotograma.

measure_image

filename, metric="sharpness"|"tile_seam"|"brightness"

Una puntuación objetiva para el trinquete, donde el brief tiene una prueba objetiva. tile_seam compara la unión envolvente con una unión interior (~1.0 = realmente azulejos, >2 = una costura real — la afirmación que un ojo deja pasar); sharpness = energía de borde, sube con detalle real, baja cuando una pasada solo suavizó la imagen.

video_info

filename, subfolder=""

Dimensiones, fps y número de fotogramas para una salida de video. Llámalo antes de indexar fotogramas — necesitas el rango, y necesitas saber si dos clips que vas a comparar son siquiera de la misma longitud.

get_video_frame

filename, frame=0, subfolder=""

Un fotograma de una salida de video por índice de fotograma, devuelto como imagen. La mitad de video de get_image: get_result ya informa gifs/videos, pero cualquier otra herramienta LOOK es solo Pillow y no puede decodificar un mp4 — así que para grafos VHS/AnimateDiff/WAN "llamar a get_image y MIRAR" era inejecutable.

compare_video_frames

filename_a, filename_b, frame=0, mode="side_by_side"|"difference", amplify=1.0

La misma comparación, en el mismo índice de fotograma en ambos clips. Comparar por marca de tiempo falla silenciosamente en cuanto las longitudes difieren (un límite de fotogramas, un recorte, un fps diferente) — comparas dos momentos no relacionados con total confianza. En un desajuste de número de fotogramas, la advertencia está quemada en la imagen, no dejada en texto que puedas pasar por alto.

video_temporal_stats

filename, stride=1, max_frames=120, roi=None

Inestabilidad fotograma a fotograma como número — la puerta objetiva para "¿hierve?", que ningún fotograma fijo puede mostrar. Diferencia ingenua entre fotogramas consecutivos, así que el movimiento real cuenta: úsalo en el MISMO clip antes/después de un cambio, o pasa un roi sobre una región que debería ser estática. Validado en un par conocido (intercambio bruto por fotograma 3.53 → suavizado por flujo óptico 2.38).

El bucle, como estado duradero — el trinquete es una herramienta, no un ejercicio de memoria. Un bucle largo se compacta; si el mejor-hasta-ahora y el registro viven solo en el contexto del modelo, el trinquete deja de funcionar silenciosamente, el modelo reintenta cambios que ya rechazó y puede devolver una regresión como resultado final. Por eso viven en disco.

Tool

Args

Returns

loop_start

brief, gate=""

Abre una ejecución → run_id. gate es la prueba objetiva si el brief tiene una ("debe tener teselas sin costuras", "exactamente 3 manzanas").

loop_record

run_id, change, outcome, graph=None, score=None

Registra una pasada y aplica el trinquete. "better" guarda ese grafo como el nuevo mejor (reversible). "worse"/"same" devuelve directamente el mejor grafo para que revertir sea una sola llamada — más la lista de cambios ya probados, para que no repita un callejón sin salida. Si ambas pasadas llevan un score objetivo, el número anula el veredicto — un modelo que quiere terminar llamará "better" a una regresión.

loop_sweep

run_id, workflow, node_id, input_name, values

Ejecuta el mismo grafo con hasta 8 valores de una entrada, en una sola llamada — para los valores que no se pueden razonar (denoise, cfg, strength). Todo lo demás se mantiene idéntico, así que las salidas difieren exactamente en una variable. La tabla valor → prompt_id se escribe dentro de la ejecución, de modo que un modelo compactado la recupera desde loop_ledger en lugar de volver a ejecutar el barrido. Un barrido produce una pasada registrada, no N.

loop_best

run_id

El mejor grafo hasta ahora. La fuente de verdad después de una compactación — tu recuerdo no lo es.

loop_ledger

run_id

El registro de bucle de solo añadidura: cada pasada, qué cambió, qué hizo. Recupera el hilo tras la compactación; también es el registro que se entrega al usuario al finalizar.

loop_finish

run_id, summary=""

Cierra en el punto de control de convergencia; devuelve el registro final + el mejor grafo para presentar para aprobación.

loop_report

run_id, out_path=""

Renderiza toda la ejecución como una página HTML autocontenida — cada pasada, qué se conservó, qué se revirtió, miniaturas incrustadas en base64 para que se abra con ComfyUI apagado. La imagen final no prueba nada; las pasadas que descartaste son las que demuestran que el bucle convergió.

Entrega

Tool

Args

Returns

save_workflow

workflow (diccionario API), name="", save=True

API → UI/litegraph para que un humano pueda abrirlo y editarlo, guardado en la lista de workflows de ComfyUI. Ida y vuelta verificado: el resultado se convierte de nuevo a API y se compara con tu entrada, porque widgets_values es posicional y un desfase silencioso de uno desplaza los parámetros — un archivo plausible pero incorrecto es peor que ninguno.

Control

Tool

Args

Returns

system_stats

—

Dispositivo / VRAM (útil al ajustar resolución/lote o tras un OOM).

get_queue

—

Qué se está ejecutando y qué está pendiente.

job_status

prompt_id

Dónde está una ejecución sin bloquear: en cola (con su posición), ejecutándose, terminada con N salidas, o el error de ejecución que la mató. Lo que quieres con varias en vuelo — un loop_sweep, por ejemplo.

cancel_job

prompt_id=""

Elimina una ejecución en cola, o la interrumpe si ese id es el que se está ejecutando. Sin id, limpia la cola pendiente y deja el trabajo en ejecución intacto. interrupt es la versión contundente.

interrupt

—

Cancela la ejecución actual.

free_vram

unload_models=True

Descarga modelos y restablece la caché del ejecutor (POST /free). La propia eficiencia del bucle juega en tu contra aquí — las pasadas en caché son VRAM — así que esto es lo primero que probar antes de reescribir un grafo que provocó OOM. No es inmediato (se aplica en la siguiente iteración del trabajador de cola) y no puede tocar la VRAM de otro proceso; confírmalo con system_stats.

comfyui_logs

lines=60, grep=""

Muestra el final del registro de ComfyUI, donde los fallos se explican solos: el traceback dentro de un nodo, el OOM, el nodo personalizado que no se importó al inicio (que es por lo que su clase falta en object_info).

Prompts: comfy_loop (método autónomo completo) y comfy_skill (skill compacta), ambos servidos textualmente desde el markdown del repositorio, más comfy_install — la receta de arranque, generada contra la máquina en la que se ejecuta el servidor: una instalación si ya hay una, el intérprete para construir el venv (el del propio servidor, así que Python nunca es un requisito previo a resolver), si comfy-cli y git están presentes, y la compilación de torch que el acelerador de esta máquina realmente quiere (CUDA / ROCm / MPS / ninguna). El servidor no puede ejecutar nada de esto; el agente sí, y a él va dirigido.

Recursos: comfyui://object_info (volcado completo en vivo), comfyui://loop-method, comfyui://skill.


Observa el bucle en acción

Impulsado enteramente a través de este servidor MCP contra un ComfyUI real (RTX 4090, SD1.5), brief: "a crisp, sharply focused macro studio photo of a single red apple on a warm wooden table, fine skin texture, rich detail." Semilla fijada en 42 para que cada pasada cambie exactamente un parámetro y el efecto sea atribuible. La métrica objetiva es la varianza del laplaciano (una medida estándar de nitidez/enfoque).

Cinco pasadas del bucle, de izquierda a derecha: una manzana suave y plana se afila hasta convertirse en una nítida, saturada y con mucha textura

Pasada

Un cambio

Nitidez (varLap)

Veredicto mirando

1

línea base — 6 pasos, cfg 2.5

425

Suave, plana, mate. La más débil.

2

pasos 6 → 24

1204

Más nítida — pero el número alto es la veta de la madera, la piel de la manzana sigue siendo plástica.

3

cfg 2.5 → 7.5

515

La manzana se vuelve más rica (saturada, con pecas en la piel) — la métrica baja porque el fondo se suavizó.

4

euler → dpmpp_2m + karras

740

Ganadora. Destello nítido, lenticelas visibles, madera creíble.

5

pasos 24 → 36

661

≈ pasada 4. Rendimientos decrecientes → detenerse.

La lección sobre la que se construye el bucle, captada en directo: la métrica alcanzó su máximo en el pase 2, pero el pase 2 no es la mejor imagen — su puntuación se vio inflada por la textura del fondo, no por el detalle de la manzana. El ganador (pase 4) se eligió mirando. Un número en verde es válido, no correcto. (example_apple.png es ese resultado del pase 4).

…y la otra mitad: cuando el que se equivoca es el modelo

La manzana demuestra por qué no puedes fiarte a ciegas de la métrica. Esta ejecución demuestra por qué no puedes fiarte a ciegas del modelo — que es exactamente la razón por la que el trinquete es una herramienta y no una nota en un prompt.

Encargo: «una textura de adoquines perfectamente embaldosable — sin costura visible en el borde», con una compuerta objetiva (measure_image → tile_seam). Misma semilla en todo momento, de modo que cada pase cambia exactamente una cosa. Cada textura de abajo está embaldosada 2×2 — una costura no tiene dónde esconderse.

Tres pases embaldosados 2x2: la línea base tiene costuras, el embaldosado circular lo arregla, x_only devuelve la costura y se revierte

Pase

Un cambio

tile_seam

Trinquete

1

línea base SDXL

h 1.77 · v 1.23 → en el límite

conservado (primero)

2

SeamlessTile + MakeCircularVAE

h 0.78 · v 1.12 → sin costuras

NUEVO MÁXIMO

3

tiling → x_only

h 1.03 · v 1.56 → vuelve la costura

REVERTIDO

En el pase 3, el modelo le dijo a loop_record que el resultado era "better". No lo era: x_only embaldosa horizontalmente y deja el borde vertical roto — visible en la imagen de la derecha como piedras cortadas a ras contra la unión horizontal. La puntuación objetiva anuló la afirmación, restauró el pase 2 y devolvió el buen grafo.

Ese es el fallo que este servidor existe para prevenir: un agente que quiere terminar llamará mejora a una regresión. Si lo mejor hasta ahora hubiera vivido en el contexto del modelo en lugar de en disco, esa regresión habría sido la respuesta final.


Instalación

La versión corta: pídele a tu agente que lo haga. Pega esto en Claude Code (o en cualquier cliente MCP con shell) y no hagas nada más:

Configura el MCP de bucle de ComfyUI desde https://github.com/huikku/comfyui-loop-mcp — regístralo en mi cliente, e instala y lanza ComfyUI también si no está en ejecución.

Tiene todo lo que necesita para terminar eso sin ti: registrar el servidor es un claude mcp add, y una vez conectado, el prompt comfy_install devuelve el bootstrap para tu máquina — un ComfyUI existente que arrancar, el intérprete con el que construir el venv, la compilación de torch que tu tarjeta realmente quiere, ComfyUI-Manager y dónde poner los modelos. check_comfyui entonces nombra cualquier cosa que aún falte (sin pesos, torch en CPU, sin Manager) como cosas que el agente debe arreglar, no informar.

Si prefieres pegar configuración antes que prosa, esto ejecuta el servidor directamente desde GitHub — nada que clonar, nada que pip install:

{
  "mcpServers": {
    "comfyui": {
      "command": "uvx",
      "args": ["--from", "git+https://github.com/huikku/comfyui-loop-mcp", "comfyui-loop-mcp"],
      "env": { "COMFYUI_URL": "http://localhost:8188" }
    }
  }
}

Claude Code, una línea:

claude mcp add comfyui -- uvx --from git+https://github.com/huikku/comfyui-loop-mcp comfyui-loop-mcp

Clona el repositorio en su lugar y .mcp.json ya está ahí — Claude Code ofrece el servidor al abrirlo por primera vez, sin ningún comando. Reconecta el cliente después de añadirlo; los servidores MCP se leen en el momento de la conexión.

Desarrollando sobre él:

git clone https://github.com/huikku/comfyui-loop-mcp && cd comfyui-loop-mcp
pip install -e .            # or: uv tool install --editable .

Requiere Python ≥ 3.10 y un ComfyUI accesible. Instala mcp[cli], httpx, anyio, pillow. Funciona tanto con el SDK de MCP 1.x como 2.x — 2.0 renombró FastMCP a MCPServer y movió el helper Image, que el servidor importa de cualquier manera.

¿Lo tenías instalado como comfy-mcp? Ese nombre pertenece al servidor de Comfy-Org en PyPI, así que este ahora es comfyui-loop-mcp (paquete de importación comfy_loop, comando comfyui-loop-mcp). Ejecuta pip uninstall comfy-mcp primero y actualiza la configuración de tu cliente MCP. Las ejecuciones de bucle ya en disco se encuentran automáticamente — el antiguo ~/.comfy-mcp/runs se sigue usando hasta que apuntes COMFY_LOOP_STATE_DIR a otro sitio.

Disciplina siempre activa (Claude Code)

El método también se instala como skill, de modo que se carga con las palabras de activación en lugar de esperar a que se lo pidan — pídele al agente que haga esto también, o:

mkdir -p ~/.claude/skills/comfyui-workflows
cp comfy_loop/docs/SKILL.md ~/.claude/skills/comfyui-workflows/

El mismo archivo que sirve el prompt comfy_skill, de modo que el skill y el servidor no pueden divergir.

Configuración

Variable de entorno

Por defecto

Propósito

COMFYUI_URL

http://localhost:8188

Tu servidor de ComfyUI

COMFYUI_ONBOARDING_DIR

raíz del repo por encima de este paquete

Dónde leen su markdown los prompts comfy_loop / comfy_skill

COMFYUI_TEMPLATES_REF

main

Ref de Git de Comfy-Org/workflow_templates que lee el catálogo de plantillas en línea

COMFYUI_TEMPLATES_LIVE

sin definir

Ponlo a 1 para obtener el índice de catálogo más reciente de GitHub en lugar de la instantánea comprimida incluida

COMFY_LOOP_STATE_DIR

~/.comfyui-loop-mcp/runs

Dónde viven el trinquete y el libro de registro. Recurre al ~/.comfy-mcp/runs anterior al cambio de nombre si ahí es donde ya están tus ejecuciones

Apuntando a un ComfyUI remoto

ComfyUI normalmente se vincula a 127.0.0.1, así que un ComfyUI en otra máquina no es accesible a través de la red por defecto. Dos opciones:

  • Túnel SSH (lo más simple, mantiene ComfyUI privado): reenvía el puerto y deja COMFYUI_URL en localhost:

    ssh -N -L 8188:localhost:8188 your-remote-host
    # COMFYUI_URL stays http://localhost:8188
  • Vincula ComfyUI a la red y apunta directamente a él (solo en una red de confianza — esto expone una API sin autenticación):

    python main.py --listen 0.0.0.0 --port 8188
    # COMFYUI_URL=http://<remote-ip>:8188

Úsalo

  1. En tu agente, carga el prompt comfy_loop (o deja que lea el recurso comfyui://loop-method) para incorporar el método completo. Si tu cliente inyecta las instrucciones del servidor, la política de preferir el bucle ya está activa.

  2. Dale un objetivo. Hará check_comfyui → list_nodes / get_node / list_models → construirá JSON en formato API → submit_workflow → get_result → get_image, y luego criticará e iterará — un cambio por pase — hasta que no pueda nombrar un defecto, y entonces presentará el resultado para su aprobación.

Solución de problemas

  • «ComfyUI no es accesible» — la respuesta es un conjunto de instrucciones, no una queja, y van dirigidas al agente, que tiene un shell del que este servidor carece: busca un ComfyUI en esta máquina ($COMFYUI_PATH, el espacio de trabajo de comfy-cli, ~/ComfyUI, ~/comfy, ~/code, ~/github, /opt) y o bien devuelve el comando de arranque usando el python del venv propio de esa instalación, o la secuencia de clonado + venv + Manager + lanzamiento si no hay ninguno. Si COMFYUI_URL es remoto, deliberadamente no ofrece instalar en local — eso solo dejaría un segundo ComfyUI sin usar en la máquina equivocada — y te da el túnel SSH en su lugar. Cada herramienta devuelve esto, no solo check_comfyui; el consejo va adjunto en el transporte.

  • Node/modelo no encontrado — instala el paquete/modelo en el lado de ComfyUI y luego reinicia ComfyUI para que /object_info lo refleje (la API está obsoleta hasta entonces).

  • get_image no devuelve nada — asegúrate de que el grafo tenga un nodo SaveImage / PreviewImage; get_result enumera lo que se produjo realmente.

  • install_node_pack bloqueado / sin efecto — las herramientas de instalación necesitan ComfyUI-Manager en el host, y el nivel de seguridad de Manager debe permitir instalaciones por API. Después de instalar, se requiere restart_comfyui antes de que /object_info muestre los nuevos nodos.

  • find_missing_nodes elige el paquete «equivocado» — varios paquetes pueden exportar un nodo con el mismo nombre; la resolución toma la primera coincidencia del registro. Si una instalación no proporciona la clase, comprueba el paquete indicado e instala el correcto explícitamente.

Licencia

MIT.

Available Tools

32 tools
check_comfyuiA

Confirm ComfyUI is up and reachable (loop step 0).

Returns the installed-node count and device/VRAM. If this fails, ComfyUI isn't running or is on another port — do not start guessing node names.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A4.5/5.0
Behavior4/5

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

Discloses that the tool checks connectivity and returns node count and device/VRAM. It also warns about failure implications. No annotations exist, so the description carries the full burden, but it omits potential side effects or permissions.

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 concise sentences that front-load the purpose and immediately provide failure guidance. No wasted words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given zero parameters and an existing output schema, the description fully covers the tool's behavior, including its role in a loop, return data, and failure implications.

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?

No parameters exist, so baseline 4 applies. The description adds value by explaining the return values (installed-node count, device/VRAM) beyond the input schema.

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 uses specific verb 'confirm' and resource 'ComfyUI reachability', clearly stating the tool's purpose as a connectivity check. It distinguishes from sibling tools like 'system_stats' by focusing on reachability and loop integration.

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

Usage Guidelines4/5

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

Provides clear guidance: use for initial connectivity check, and if it fails, do not guess node names. However, it does not explicitly contrast with other tools like 'system_stats' or 'get_node' for when not to use.

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

compare_imagesA

See what changed between two passes (loop step 3: LOOK — the comparison).

mode="side_by_side": both outputs on one canvas — what moved, at a glance. mode="difference": 0.5 + 0.5*(a-b) — identical regions read FLAT MID-GRAY and only real changes pop. This is how you answer "did the background actually stay put?", which the eye is bad at. Raise amplify (e.g. 4.0) to surface subtle drift.

Use it every pass against your best-so-far: a change that altered more than you intended is a regression even if the new bit looks nice.

ParametersJSON Schema
NameRequiredDescriptionDefault
modeNoside_by_side
amplifyNo
filename_aYes
filename_bYes
subfolder_aNo
subfolder_bNo

TDQS

A4/5.0
Behavior4/5

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

No annotations provided, but the description details both modes (side_by_side layout, difference formula with visual result) and the amplify parameter effect. Does not explicitly state it is read-only but implies it.

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?

Front-loaded with purpose, uses bullet-like structure. Somewhat lengthy but each part adds value; could tighten file parameter explanation.

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 no annotations, no output schema, and 6 parameters, the description covers key behavioral details (mode, amplify, use case) but omits file parameter semantics and return value information, leaving gaps.

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 coverage is 0%, so description must compensate. Explains mode and amplify well (2 of 6 parameters), but leaves filename_a, filename_b, subfolder_a, subfolder_b undocumented. Partial coverage.

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 tool compares two images ('See what changed between two passes') and ties it to a loop step, distinguishing it from siblings like image_diff_stats (numerical stats) and get_image (retrieve).

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

Usage Guidelines4/5

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

Provides practical guidance: use every pass against your best-so-far, and explains when to use each mode. Lacks explicit when-not-to-use or alternative tools, but context is strong.

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

find_missing_nodesA

Diff a template's nodes against what's installed, and resolve each missing node to the pack that provides it (via ComfyUI-Manager's registry mapping).

Fetches the template (same args as get_template), lists the node classes it uses, subtracts what /object_info already has, and for each missing class reports the installable pack id to pass to install_node_pack. Read-only.

ParametersJSON Schema
NameRequiredDescriptionDefault
nameNo
packNo
sourceNoonline

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A4.3/5.0
Behavior5/5

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

No annotations are provided, so the description fully carries the behavioral disclosure burden. It explicitly declares the tool is 'Read-only' and details the steps: fetches template, lists node classes, subtracts what's installed, and reports missing nodes with pack IDs. This provides full transparency about inputs, process, and outputs without contradiction.

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?

The description is concise, with two clear paragraphs: the first states the core purpose, and the second elaborates the process. Every sentence adds value without fluff. It is front-loaded with the main action.

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 that the tool has an output schema (not shown but indicated), the description does not need to detail return values. It covers the tool's purpose, process, and relation to siblings. It explains dependencies (template, object_info, registry mapping). The only gap is parameter documentation, which is evaluated separately. Overall, it provides sufficient context for effective use.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 0% description coverage. The description only mentions 'same args as get_template', which adds minimal context by referencing another tool but does not explain the meaning or usage of the individual parameters (name, pack, source). This is insufficient for an agent to understand parameter semantics without external knowledge.

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 tool's function: 'Diff a template's nodes against what's installed, and resolve each missing node to the pack that provides it'. It specifies the action (diff and resolve) and resource (template nodes vs installed). This distinguishes it from siblings like get_template (fetches template) and install_node_pack (installs packs).

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

Usage Guidelines4/5

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

The description states it uses the same args as get_template, implying it should be used after fetching a template and before installing missing nodes with install_node_pack. It notes the process of subtracting installed nodes, guiding usage context. However, it does not explicitly state when not to use it or mention alternatives beyond referencing siblings.

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

flowzip_to_apiA

Convert FlowZip (or litegraph) into API/prompt format ready for submit_workflow.

Inflates FlowZip if needed, then maps the litegraph to the flat API graph using the live object_info (resolves links, maps widget values to named inputs). This is the bridge for authoring/adapting graphs compactly and running them.

Best-effort: subgraph instances and unknown nodes are skipped and reported; widget drift between an old template and a newer node shows up as a node_errors when you submit_workflow the result — read it, fix that node, re-submit. Review the API graph before running.

ParametersJSON Schema
NameRequiredDescriptionDefault
flowzipYes

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries full responsibility. It details the transformation process (inflating, mapping, resolving links) and discloses limitations (best-effort, skipped subgraphs, widget drift leading to errors). However, it does not explicitly state whether the operation is read-only or has side effects.

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?

The description is concise, front-loaded with the main purpose, and each sentence adds value without redundancy. It efficiently conveys the tool's function, best-effort nature, and post-processing advice.

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 that an output schema exists, the description need not explain return values. It covers the conversion process, edge cases (skipped nodes, widget drift), and provides guidance. It is reasonably complete for a converter tool, though it could mention prerequisites like live object_info.

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?

The schema has 0% coverage for the single parameter 'flowzip', so the description must compensate. It explains that the parameter is a FlowZip or litegraph and can be inflated, which adds meaning beyond the empty schema. However, it lacks details on format, encoding, or constraints.

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 starts with a clear verb 'Convert' and specifies the resource 'FlowZip (or litegraph)' with a target format 'API/prompt format ready for submit_workflow'. It distinguishes itself from siblings like inflate_workflow and submit_workflow by describing its bridging role.

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

Usage Guidelines4/5

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

The description states that this tool is intended for authoring/adapting graphs compactly and as a step before submitting workflows. It provides guidance on handling errors ('review the API graph before running') but does not explicitly compare to alternatives or specify when not to use it.

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

get_imageB

Fetch a rendered output so you can LOOK at it (loop step 3: LOOK — part 2).

Returns the actual image to the model. This is the step that makes the loop work: don't declare a workflow done off a green run — view the pixels, judge them against the brief, then change one thing and re-run.

ParametersJSON Schema
NameRequiredDescriptionDefault
filenameYes
subfolderNo
image_typeNooutput

TDQS

B3.1/5.0
Behavior3/5

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

The description discloses that the tool returns the actual image to the model, implying a read-only retrieval. Since no annotations are provided, the description carries the full burden for behavioral disclosure. While adequate for the core behavior, it omits potential side effects (e.g., does it consume the image? is there caching?) and does not address authentication or rate limits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two paragraphs with some repetition (e.g., 'loop step 3: LOOK — part 2' revisited). It could be more concise by merging the first sentence and the loop context. Overall, it is somewhat verbose for the information conveyed.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given three parameters with no schema descriptions and no output schema, the description leaves significant gaps: it does not explain which parameter is required (filename), what format identifiers take, or what the response contains. For a tool that returns binary image data, the absence of error handling or type hints is a deficiency.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description provides zero information about the three parameters (filename, subfolder, image_type). With 0% schema description coverage, the description must compensate but fails entirely. The agent receives no guidance on how to specify which image to fetch, making correct invocation difficult.

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 fetches a rendered output image for visual inspection, using active verbs like 'Fetch' and 'LOOK'. It distinguishes itself from siblings by embedding the tool in a loop workflow (step 3: LOOK), though it does not explicitly compare with similar tools like 'compare_images'.

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

Usage Guidelines4/5

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

The description provides explicit usage context: this is part of a loop where the agent should view pixels and judge against the brief before re-running. It advises against declaring workflow done based on a green run alone. However, it lacks explicit when-not-to-use or mention of alternatives like 'compare_images' for comparison tasks.

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

get_nodeD
ParametersJSON Schema
NameRequiredDescriptionDefault
verboseNo
class_nameYes

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

D1/5.0
Behavior1/5

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

Tool has no description.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness1/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Tool has no description.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Tool has no description.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Tool has no description.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose1/5

Does the description clearly state what the tool does and how it differs from similar tools?

Tool has no description.

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

Usage Guidelines1/5

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

Tool has no description.

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

get_queueA

Show what's running and pending in ComfyUI's execution queue.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A4.1/5.0
Behavior3/5

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

Note is a read operation, no params, output schema exists. Description does not explicitly confirm read-only nature or mention side effects, but tone suggests no destructive actions. Adequate given simplicity.

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?

Single sentence with clear subject and action. No extraneous information. Front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given zero parameters and presence of output schema, description is complete enough. No additional details needed.

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?

No parameters exist; schema coverage is 100%. Description adds nothing beyond schema, but baseline for 0 parameters is 4.

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?

Description clearly states the tool shows running and pending items in ComfyUI's execution queue. Verb 'show' and resource 'execution queue' are specific. Distinguishes from siblings like 'submit_workflow' and 'interrupt'.

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?

Description implies use when checking queue status but does not explicitly state when to use or compare with alternatives like 'system_stats' or 'check_comfyui'. No exclusion criteria.

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

get_resultA

Poll /history for a submitted prompt and return its output files (loop step 3: LOOK — part 1, find what was produced).

Blocks up to timeout_s for the run to finish. Returns each output's filename / subfolder / type — feed those to get_image to view the pixels.

ParametersJSON Schema
NameRequiredDescriptionDefault
prompt_idYes
timeout_sNo

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A4.1/5.0
Behavior3/5

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

No annotations provided, so description carries full burden. It discloses blocking behavior up to timeout_s and polling, but does not mention error handling, rate limits, idempotency, or whether it's read-only. Basic behavioral info is present.

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 two sentences with a clarifying note. It is efficient and front-loaded with the core action, though the loop reference adds some extraneous context for a multi-step process.

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 polling tool with two parameters and an output schema, the description covers the core behavior (blocking, output format, follow-up with get_image). It lacks details on error cases or timeout handling, but the output schema likely documents return values.

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 has 0% description coverage, so description must compensate. It explains timeout_s as the blocking duration, and the prompt_id is implicitly the identifier for the submitted prompt. This adds meaning beyond the schema's titles.

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 tool polls /history for a submitted prompt and returns output files, specifying the action (poll), resource (history for a prompt), and result (output files). It distinguishes from siblings like get_image (which views pixels) and get_node (which gets node info).

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

Usage Guidelines4/5

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

The description says to use after submitting a prompt, blocks up to timeout_s, and directs to feed outputs to get_image. It implies when to use but does not explicitly state when not to use or mention alternatives.

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

get_templateA

Fetch one workflow template as a known-good starting point.

source="online" (default): from the official GitHub catalog — no install needed; pack is ignored. source="installed": from this ComfyUI (pack required).

fmt="flowzip" (default): compact FlowZip text — ~72% fewer tokens than the raw litegraph JSON (median), enough to read/adapt the graph. fmt="json": the full litegraph. Either way it's litegraph, NOT the API/prompt format submit_workflow needs — adapt to API (resolve passthroughs, widgets_values -> named inputs via get_node), or inflate a FlowZip with inflate_workflow. If from the online catalog, first confirm you have its nodes/models — run find_missing_nodes then install_node_pack, or verify with list_nodes/list_models.

ParametersJSON Schema
NameRequiredDescriptionDefault
fmtNoflowzip
nameYes
packNo
sourceNoonline

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A5/5.0
Behavior5/5

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

No annotations present, so description fully carries the burden. Discloses that output is litegraph format (not API), token reduction stats, and that online templates require node/model verification.

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?

Well-structured with front-loaded purpose, then clear bullet-like explanation of parameters and usage context. Every sentence adds value.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (4 parameters, output schema exists, sibling tools like search_templates and run_template), the description is complete. It explains the output format, prerequisites, and next steps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, but description explains all four parameters in detail: name, source (behavior of online vs installed), pack (required for installed), and fmt (flowzip vs json, with token savings). Adds significant meaning beyond schema.

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?

Clearly states the verb 'Fetch', resource 'workflow template', and distinguishes between online and installed sources. Does not explicitly differentiate from sibling 'search_templates' but provides enough context to avoid confusion.

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?

Provides explicit guidance on when to use online vs installed, flowzip vs json, and mentions post-fetch steps like adapting to API format or checking nodes/models via other tools.

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

image_diff_statsA

Quantify the change between two passes — the 'I changed only what I meant to' gate.

Returns mean/max absolute difference and the % of pixels that moved. Pair it with compare_images: the picture tells you WHAT changed, this tells you HOW MUCH — and catches the case where a 'small tweak' quietly rewrote the frame.

ParametersJSON Schema
NameRequiredDescriptionDefault
filename_aYes
filename_bYes
subfolder_aNo
subfolder_bNo

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A3.6/5.0
Behavior3/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 the return values (statistical metrics) and implies a read-only operation, but does not explicitly state that the tool does not modify files or require special permissions. The warning about catching unintended changes adds some transparency, but more explicit statements about safety and side effects would improve it.

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?

The description is two sentences with a line break, each sentence adds value. It is front-loaded with the core purpose and includes a memorable phrase ('I changed only what I meant to' gate) that helps recall. No extraneous information.

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?

The description covers the main return values and the relationship with a sibling tool. However, it fails to address how the optional subfolder parameters affect behavior or defaults. Since an output schema exists (not shown), the return structure can be assumed documented, but parameter usage context is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, meaning the input schema lacks descriptions for all 4 parameters. The description does not mention any parameter names, purposes, or usage details (e.g., what filename_a and filename_b refer to, or how subfolders work). For a tool with 4 parameters and no schema descriptions, the description must compensate, but it provides zero parameter guidance.

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 that the tool quantifies change between two image passes, returning mean/max absolute difference and percentage of pixels changed. It differentiates from the sibling CompareImages by explaining that CompareImages shows what changed while this tool shows how much, and it warns about detecting unintended large changes.

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

Usage Guidelines4/5

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

The description explicitly recommends pairing with compare_images and explains the complementary roles (what vs. how much). It does not provide explicit when-not-to-use scenarios, but the context is sufficiently clear for an AI agent to decide when to invoke this tool over alternatives.

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

inflate_workflowA

Expand FlowZip text back into a full litegraph workflow JSON.

Reverse of the FlowZip that get_template returns. Structure (nodes, types, links, widget values) is preserved; cosmetic fields are not. To RUN it, still adapt the litegraph to API/prompt format for submit_workflow.

ParametersJSON Schema
NameRequiredDescriptionDefault
flowzipYes

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A4.4/5.0
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 that structure (nodes, types, links, widget values) is preserved while cosmetic fields are not, clearly detailing behavioral traits beyond schema. Minor omission: no mention of error handling or side effects.

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?

Three concise sentences: first describes action, second specifies preservation, third gives post-processing steps. No wasted words, front-loaded.

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 an existing output schema, the description covers input, behavior, and next steps adequately. Could mention potential errors from invalid flowzip, but overall complete for the tool's complexity.

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?

With 0% schema description coverage, the description compensates by explaining that 'flowzip' is FlowZip text from get_template. It adds meaning about the parameter's origin and format beyond the schema type string.

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?

Clearly states 'Expand FlowZip text back into a full litegraph workflow JSON' and distinguishes from siblings like get_template (which produces FlowZip) and flowzip_to_api (which converts to API format). Verb 'expand' and resource 'FlowZip to litegraph JSON' are specific.

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

Usage Guidelines4/5

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

Explicitly indicates it is the reverse of get_template and that the output must be adapted for submit_workflow, providing context on when to use. Could be more explicit about alternatives, but effectively guides the agent.

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

install_modelA

Download a model from the catalog by its exact name (from search_models), into the correct models// folder, via ComfyUI-Manager.

Trusted catalog only — Manager whitelists the source. Unlike nodes, models do NOT need a ComfyUI restart (loaders re-scan the folder); once it completes, verify with list_models. Large models can take a while — the download continues server-side even if this call's poll window ends.

ParametersJSON Schema
NameRequiredDescriptionDefault
nameYes

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A4.4/5.0
Behavior4/5

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

No annotations provided, yet description covers key behaviors: no restart needed, async continuation, and trust/whitelist source. Lacks specifics on error handling or permissions, but provides substantial transparency for a tool with zero annotation coverage.

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?

Three sentences, no redundancy, front-loaded with the main action. Every sentence adds value: the how, the constraints, and important behavioral notes.

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 existence of output schema (not shown), return values need not be explained. The description covers parameter source, folder destination, async behavior, and verification step. Could mention failure modes, but overall adequate for context.

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?

Only one parameter 'name' with 0% schema description coverage. The description adds crucial semantic context: the name must be an exact catalog name from search_models. This compensates well for the bare schema.

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 action (download/install), the resource (model from catalog), and the destination (models/<type>/ folder). It distinguishes from nodes (no restart needed) and references sibling tool search_models for exact name, making intent and scope unmistakable.

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

Usage Guidelines4/5

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

Explicitly tells to use exact name from search_models and to verify with list_models after completion. Also warns about large model download times and server-side continuation. Does not explicitly say when not to use, but the context is clear enough.

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

install_node_packA

Install a custom-node pack by its ComfyUI-Manager registry id (from find_missing_nodes) — trusted registry only, no arbitrary code.

Queues the install, starts the queue, and polls until done. A ComfyUI RESTART is required afterward before /object_info reflects the new nodes — call restart_comfyui, then re-query. Fails clearly if Manager's security level blocks API installs.

ParametersJSON Schema
NameRequiredDescriptionDefault
pack_idYes
versionNolatest

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description fully discloses the behavior: queues, starts, polls, requires restart, and fails on security blocks. Mentions trust and safety, providing clear expectations for the agent.

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 concise sentences plus a brief note; every sentence adds value. Front-loaded with core action and key constraint, then details the process and post-condition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Covers the full workflow: queueing, polling, restart requirement, and error handling. Output schema exists, so return value explanation is unnecessary. Complete for an agent to use correctly.

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?

Explains pack_id as the registry id from find_missing_nodes, but does not clarify the version parameter (its default 'latest' is only in schema). Schema coverage is 0%, so description partially compensates but leaves a gap.

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?

Clearly states the tool installs a custom-node pack using its ComfyUI-Manager registry id, specifying the source as 'trusted registry' and referencing find_missing_nodes for the id. Distinguishes from sibling tools like install_model and find_missing_nodes.

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

Usage Guidelines4/5

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

Indicates the tool should be used for trusted registry packs, mentions the prerequisite of obtaining the id from find_missing_nodes, and advises a subsequent restart via restart_comfyui. Does not explicitly state when not to use, but the context implies avoidance for arbitrary code.

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

interruptA

Cancel the currently executing prompt.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A4/5.0
Behavior2/5

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

No annotations provided; the description lacks any behavioral details beyond the action itself, such as side effects, reversibility, or state requirements.

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?

The description is a single, concise sentence that front-loads the essential information with no unnecessary words.

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 the tool has no parameters and a straightforward purpose, the description is mostly complete. However, it could mention expected state or result beyond the action.

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?

No parameters exist (schema coverage 100%), so the description does not need to add parameter information. Baseline score of 4 applies.

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 tool cancels the currently executing prompt, specifying the action and target. It distinguishes from sibling tools like 'submit_workflow' or 'loop_start'.

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

Usage Guidelines4/5

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

The description implies using the tool to stop execution, but does not explicitly state when not to use it or provide alternatives. Context from siblings suggests a clear use case.

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

list_modelsA

List the real model files a loader offers (loop step: never hallucinate a checkpoint/LoRA/VAE filename).

Reads the loader's enum from object_info (handles both the legacy list and the newer COMBO encoding). If input_name is omitted, reports every enum-typed input on the node. Pick ONLY from the returned list.

ParametersJSON Schema
NameRequiredDescriptionDefault
class_nameYes
input_nameNo

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A4.2/5.0
Behavior4/5

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

Despite no annotations, the description discloses how the tool works: it reads the loader's enum from object_info, handles both legacy list and COMBO encoding, and reports every enum-typed input if input_name is omitted. This provides good transparency, though it could mention the output format (which is covered by output schema).

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?

The description is succinct yet informative: a single sentence for purpose, then technical details, then usage warning. Every sentence adds value without repetition. It is well-structured and easy to read.

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 the tool's simplicity, the description provides sufficient context: purpose, technical behavior, parameter guidance, and a caution. An output schema exists to cover return values. It could include an example or mention of expected response, but overall it is complete enough for an agent to use correctly.

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?

The input schema has 0% description coverage, so the description must compensate. It explains the effect of omitting input_name (reports all enum-typed inputs) and implies that class_name identifies the loader. However, it does not fully describe class_name, and the description is incomplete for the class_name parameter.

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 tool's purpose: 'List the real model files a loader offers'. It specifies the resource (model files) and action (list), and adds context about avoiding hallucination. This differentiates it from sibling tools like search_models (which searches) and install_model (which installs).

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

Usage Guidelines4/5

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

The description gives explicit guidance: 'never hallucinate a checkpoint/LoRA/VAE filename' and 'Pick ONLY from the returned list'. It explains when input_name can be omitted to get all enum-typed inputs. However, it does not explicitly mention when not to use this tool or suggest alternatives.

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

list_nodesA

Search installed nodes by keyword (loop step: discover, don't guess).

Matches the keyword against BOTH the class name and the display name, so a node found by its UI label ("Load Image") still turns up. Returns class_name -> display_name. Class names are case-sensitive and differ from display names — use the class_name in workflow JSON. Omit keyword to get the total count only (the full list is large).

ParametersJSON Schema
NameRequiredDescriptionDefault
keywordNo

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A4.8/5.0
Behavior5/5

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

Given no annotations, the description fully discloses behavior: dual matching, case sensitivity, display name vs class name distinction, count-only mode when keyword omitted.

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?

Concise, front-loaded with main purpose, every sentence adds value. No wasted words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given one optional parameter and an output schema, the description covers input behavior, return format, and edge cases (omitting keyword). Complete for the tool's complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema coverage, the description explains the 'keyword' parameter meaning and behavior (optional, default empty, count mode). Adds significant value beyond schema.

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?

Clearly states 'Search installed nodes by keyword' and distinguishes from siblings like 'get_node' and 'find_missing_nodes'. Specifies matching against class and display names, and returns a mapping.

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

Usage Guidelines4/5

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

Provides context for usage: keyword search, and omitting keyword for count. Does not explicitly list when not to use, but sibling differentiation is implied by description.

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

loop_bestA

Fetch the best-so-far graph — to revert to it, or to deliver it as the final.

Use this after a compaction, or any time you're unsure the graph in your context is still the best one. It is the source of truth; your memory is not.

ParametersJSON Schema
NameRequiredDescriptionDefault
run_idYes

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A3.6/5.0
Behavior3/5

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

Describes the tool as the 'source of truth' implying authority and reliability, but does not disclose side effects or read-only nature given no annotations.

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?

Three sentences with no waste: purpose, when to use, and a behavioral trait. Excellent front-loading.

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 the existence of an output schema, the description adequately covers purpose and usage, though it could mention the return value type.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, and the description adds no meaning to the `run_id` parameter beyond the schema's title 'Run Id'.

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 it fetches the best-so-far graph for reverting or delivery. However, it does not differentiate from sibling loop tools like loop_finish or loop_start.

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

Usage Guidelines4/5

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

Explicitly recommends use after compaction or when unsure about the current graph's validity. Lacks a direct 'when not to use' statement.

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

loop_finishA

Close the loop at the convergence checkpoint — you can't name a defect anymore.

Marks the run converged and returns the final ledger + the best graph, ready to present. Then STOP and ask the user to approve or request changes; don't keep inventing variations to avoid stopping.

ParametersJSON Schema
NameRequiredDescriptionDefault
run_idYes
summaryNo

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A4.3/5.0
Behavior5/5

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

With no annotations, the description fully discloses behavior: it closes the loop, marks convergence, returns final ledger and best graph, and instructs the agent to stop. No contradictory or missing behavioral aspects are present.

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?

The description is two sentences, front-loads the main action, and contains no extraneous words. Every sentence is meaningful and earns its place.

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 the presence of an output schema, the description need not explain return values. It covers purpose, guidelines, and behavior well. However, the lack of parameter documentation is a gap, slightly reducing completeness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description does not mention the parameters 'run_id' or 'summary'. It fails to add meaning beyond the input schema, which is critical given the low coverage. The agent must guess the purpose of these parameters.

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 'close the loop' and the resource 'convergence checkpoint', and explains that it marks the run as converged and returns the final ledger and best graph. This distinguishes it from sibling tools like loop_start and loop_record, which are for earlier stages.

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?

Explicit usage guidance is provided: after convergence, stop and ask for user approval. It warns against continuing to invent variations, which is a clear when-not-to-use instruction.

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

loop_ledgerA

The append-only loop log: every pass, what changed, what it did.

Read it after a context compaction to recover the thread — what the brief was, what's already been tried (so you don't retry a dead end), and which pass is best. This is also the log you hand the user at sign-off; it's the story of how the result got good.

ParametersJSON Schema
NameRequiredDescriptionDefault
run_idYes

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A3.9/5.0
Behavior4/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 describes the tool as read-only ('append-only', 'read it') and discloses the content: what changed, what it did. It also explains behavioral context (recover thread, avoid retries, best pass). This provides sufficient transparency for an agent.

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 concise (three sentences) and front-loaded with the core purpose. Each sentence adds value: stating it is append-only, describing its contents, and listing use cases. There is no wasted text, though the parameter is entirely unaddressed.

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 simplicity (one required parameter) and the presence of an output schema (documenting return values), the description adequately covers purpose and usage context. However, the lack of parameter explanation is a notable gap. The description would be complete if it briefly mentioned that run_id identifies the loop session.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The only parameter, run_id, has no schema description (0% coverage) and the tool description does not explain what run_id represents or how to obtain it. The description focuses on the tool's output and usage context, not the input parameter. This leaves the agent without guidance on what value to provide.

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 tool is an append-only loop log that records each pass, what changed, and what it did. It specifies the purpose: read after context compaction to recover thread, avoid retrying dead ends, determine best pass, and provide user sign-off. This distinguishes it from sibling tools like loop_record (which likely records) and loop_report (which likely summarizes).

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

Usage Guidelines4/5

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

The description explicitly states when to use the tool: 'Read it after a context compaction to recover the thread' and 'hand to user at sign-off'. It implies it is for reading only, but does not explicitly mention when not to use it or alternatives. The purpose is clear enough that usage context is well-understood.

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

loop_recordA

Record a pass and apply the ratchet (loop step 5: DECIDE).

change the ONE thing you changed this pass ("denoise 0.6 -> 0.45"). outcome your verdict vs the best-so-far: "better" | "worse" | "same". graph the API graph you just ran — REQUIRED when outcome is "better", because that's what gets stored as the new best and handed back on a revert. score an objective score from measure_image, when the brief has a gate. If both this pass and the best have one, the NUMBER decides — not your verdict. (A model that wants to be finished will call a regression "better".) outputs this pass's output files, straight from get_result — pass them through so loop_report can show what each pass actually looked like.

On "worse"/"same" you get the best graph back: revert to it and try a DIFFERENT change. Never build on a regression — that's how a loop wanders instead of converging.

ParametersJSON Schema
NameRequiredDescriptionDefault
noteNo
graphNo
scoreNo
changeYes
run_idYes
outcomeYes
outputsNo

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations provided, the description must disclose behavioral traits. It explains the revert behavior on 'worse'/'same,' the requirement for graph with 'better,' and the role of score. It also mentions passing outputs for loop_report. However, it does not explicitly describe side effects or error handling, but the key behaviors are covered.

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 somewhat lengthy but well-structured, with bullet points for parameters and clear explanations. It front-loads the purpose. Minor redundancy (e.g., 'Never build on a regression' is reiterated) could be trimmed, but overall it is efficient.

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 the complexity of the tool (7 parameters, loop context) and the presence of an output schema, the description covers the essential aspects: input parameter behavior, decision logic, and the revert mechanism. It does not detail return format, but the output schema likely handles that. The description is sufficient for an agent to use the tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must add meaning for each parameter. It explains 'change' as the modification made, 'outcome' as verdict vs best-so-far, 'graph' as required when outcome is 'better,' 'score' as an objective measure for gates, 'outputs' as files for loop_report, and 'note' and 'run_id' implicitly. This provides significant value beyond the schema.

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 tool's purpose: 'Record a pass and apply the ratchet (loop step 5: DECIDE).' It specifies the verb 'Record a pass and apply the ratchet' and the resource 'loop step 5.' The purpose is distinct from sibling tools like loop_start, loop_best, loop_finish, etc.

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?

The description provides explicit guidance on when and how to use the tool. It explains that on 'worse' or 'same' outcomes, the best graph is returned and a different change should be tried. It also notes that graph is required when outcome is 'better,' and explains the role of score in decision-making. This distinguishes usage from alternatives.

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

loop_reportA

Render the whole run as ONE self-contained HTML page — every pass, what changed, what was kept, what was reverted, and the final.

This is the artifact worth keeping. The final image alone proves nothing; the evidence of convergence — the passes you threw away — is what shows the loop actually worked. Hand it over at the sign-off checkpoint alongside the result.

Images are downscaled and base64-inlined, so the page renders with ComfyUI off, on someone else's machine, or emailed. Writes next to the run state by default; set out_path to put it anywhere.

ParametersJSON Schema
NameRequiredDescriptionDefault
run_idYes
out_pathNo

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations provided, the description solely discloses key behaviors: images are downscaled and base64-inlined, the page can render offline or via email, and output is written next to the run state by default with optional out_path. This covers important traits beyond the schema, though permissions or performance are not addressed.

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?

The description is concise and well-structured: it starts with the primary purpose, explains why this artifact is important, then provides technical details about image handling and output location. Every sentence adds value without being verbose.

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 that an output schema exists (though not shown), the description need not explain return values. It covers the tool's purpose, usage, output format, and file location. However, it does not indicate whether the result is a success message or status, which might be useful.

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?

The schema has 0% description coverage, but the description explains that out_path can be set to place the report anywhere, adding meaning beyond the schema's default string type. The run_id parameter is implied by context (the run to report), but no explicit description is given. This is adequate but not rich.

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 tool renders the entire run as a self-contained HTML page, detailing what changed, was kept, reverted, and final. This is specific to generating a final report, distinguishing it from siblings like loop_best or loop_record which handle other aspects of the loop workflow.

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

Usage Guidelines4/5

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

The description provides clear context for when to use the tool: at the sign-off checkpoint alongside the result, emphasizing the artifact's value as evidence of convergence. However, it does not explicitly state when not to use it or reference alternative tools, though the purpose is sufficiently distinct.

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

loop_startA

Open a loop run — do this BEFORE the first submit (loop step 0).

brief is what "right" means, in the user's words; you'll be judged against it. gate is the objective test IF the brief has one ("must tile seamlessly", "exactly 3 apples", "identity preserved") — leave empty for purely aesthetic work.

Returns a run_id. Pass it to loop_record every pass. This is what makes the ratchet real: your best graph is stored HERE, not in your context, so it survives compaction and can actually be reverted to.

ParametersJSON Schema
NameRequiredDescriptionDefault
gateNo
briefYes

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A4.4/5.0
Behavior4/5

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

No annotations provided, but description covers key behavioral traits: returns run_id, stores best graph externally for persistence across compaction, enables reversion. Does not mention authorization or rate limits, but adequate for a start tool.

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?

Three paragraphs with clear structure: imperative instruction, parameter explanations, return value and significance. Concise but could be slightly tighter; no wasted sentences.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Fully covers purpose, usage timing, parameter semantics, return value (run_id), and behavioral significance. Output schema exists but description adds value beyond it. Complete for a start 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 has 2 params with 0% description coverage, but description adds substantive meaning: 'brief is what right means' and 'gate is the objective test'. Compensates for lack of schema-level descriptions.

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?

Clearly states it opens a loop run, with specific verb+resource ('Open a loop run'). Distinguishes from sibling tools like loop_record, loop_best, etc. by explaining this is step 0.

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

Usage Guidelines4/5

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

Explicit timing instruction: 'do this BEFORE the first submit'. Explains when to use 'gate' (if brief has objective test) vs leave empty. Does not explicitly mention when not to use, but context of siblings provides differentiation.

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

measure_imageA

Score an output objectively, for the ratchet (metric: sharpness | tile_seam | brightness).

Use ONLY where the brief has an objective test — then feed the score to loop_record so the ratchet can't be fooled by a model that wants to be done:

tile_seam "seamless texture" — compares the wrap-around join to an interior join. ~1.0 = genuinely tiles; >2 = a real seam. The eye waves this through. sharpness "upscale/restore, add detail" — edge energy. Rises with real detail, falls when a pass just softened the image. Compare ACROSS passes. brightness mean / stddev / p99 — exposure and blown-highlight checks.

A score is not the judgement. A graph with a great number can still look wrong — gate on the metric, decide with your eyes.

ParametersJSON Schema
NameRequiredDescriptionDefault
metricNosharpness
filenameYes
subfolderNo

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A4.2/5.0
Behavior4/5

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

The description explains what each metric measures (e.g., tile_seam compares wrap-around join to interior join). However, it does not explicitly state if the tool is read-only or if it requires specific permissions, though this is implied by its measurement nature.

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 relatively concise but uses line breaks and dashes that may not render well in all contexts. It is front-loaded with the main purpose, and each sentence adds value.

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 the existence of an output schema (not described) and no annotations, the description covers the main use case well. However, it does not mention the return type or output schema, and lacks explanation of 'objective test'.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage, the description only adds context for the metric parameter by listing values and meanings. It does not explain the filename or subfolder parameters, leaving them solely to the schema.

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 tool's purpose: 'Score an output objectively' for specific metrics (sharpness, tile_seam, brightness). It distinguishes itself from siblings by focusing on objective measurement for the ratchet system.

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 ONLY where the brief has an objective test' and advises feeding scores to loop_record. Also warns that 'A score is not the judgement' and to use eyes, providing clear context and exclusions.

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

restart_comfyuiA

Restart ComfyUI (via ComfyUI-Manager) so newly installed nodes register in /object_info. The server is briefly unavailable; poll check_comfyui after.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A4.4/5.0
Behavior4/5

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

No annotations provided, so description carries full burden. Discloses that server is briefly unavailable and recommends polling check_comfyui. Adequately transparent for a restart operation.

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, front-loaded with purpose and context, no wasted words. Efficient and clear.

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 no parameters and existing output schema, description covers why, side effect, and follow-up. Could mention output schema content but not required.

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?

Input schema has zero parameters, baseline is 4. No additional parameter info needed, description handles purpose and behavior.

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?

Clearly states 'Restart ComfyUI', a specific verb+resource, and explains the purpose: to register newly installed nodes in /object_info. Differentiates from siblings like check_comfyui and install_node_pack.

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

Usage Guidelines4/5

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

Implies usage after installing nodes to register them, and explicitly tells agent to poll check_comfyui after restart. No explicit when-not-to-use, but context is clear.

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

run_templateA

Run a known-good template with input overrides — WITHOUT loading the graph into context. Fetches the template, converts to API format, applies overrides, and submits. Use template_slots first to see what you can override.

overrides: {node_id: {input_name: value}} (node ids and inputs from template_slots). After it runs, call get_result then get_image and LOOK — a green run is valid, not correct.

Limitation: subgraph templates can't be expanded (converter coverage ~88% of non-subgraph nodes); if nodes are skipped it's reported and the run may be incomplete. Confirm the template's nodes/models exist first (find_missing_nodes).

ParametersJSON Schema
NameRequiredDescriptionDefault
nameYes
packNo
sourceNoonline
client_idNocomfy-mcp
overridesNo

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A4.3/5.0
Behavior4/5

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

No annotations provided, so the description carries full burden. It details the internal steps (fetch, convert, apply overrides, submit), discloses the converter coverage (~88%) and that skipped nodes are reported. It does not explicitly state whether the operation is read-only or modifies state, but the context implies it executes a run (non-destructive). Overall, good behavioral disclosure beyond the missing 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?

The description is relatively concise and well-structured: purpose, usage, overrides format, post-run steps, and limitations. Minor informal phrasing ('LOOK') but adds clarity. Could be slightly tighter, but effectively communicates essential information without verbosity.

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 the presence of an output schema (context signal), the description does not need to detail return values. It provides sufficient context: prerequisites (template_slots, find_missing_nodes), the process, limitations (subgraph, converter coverage), and post-run actions. Lacks explanation of 'pack' and 'source' but defaults are provided. Reasonably complete for a complex tool.

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 0%, so the description must compensate. It explains the 'overrides' parameter in detail (format: {node_id: {input_name: value}} and source from template_slots). However, it does not explain 'pack', 'source', or 'client_id' beyond default values. While overrides is the most complex parameter, the lack of explanation for others reduces the score.

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 specifies the action ('Run a known-good template with input overrides') and resource ('template'), distinguishing it from siblings like 'submit_workflow' and 'get_template'. It emphasizes the key differentiator: 'WITHOUT loading the graph into context.'

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 instructs to use 'template_slots' first for overrides, and after execution to call 'get_result' then 'get_image' (with a caveat about interpreting results). Also recommends confirming node/model existence with 'find_missing_nodes', and notes the limitation with subgraph templates. Provides clear when-to-use and when-not-to-use guidance.

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

save_workflowA

Convert an API graph to UI/litegraph format so a human can open and edit it.

The loop builds API format because that's what /prompt runs — it is NOT the file you drag onto the ComfyUI canvas. Call this when the user asks for the editable workflow.

The result is VERIFIED by converting it back to API format and diffing against what you passed in; any mismatch is reported. widgets_values is positional and a silent off-by-one shifts parameters — a plausible-but-wrong file is worse than none, so if the round-trip doesn't match, fix it before shipping it.

With save=True and a name, it's written to ComfyUI's workflows dir so it shows up in the UI's workflow list.

ParametersJSON Schema
NameRequiredDescriptionDefault
nameNo
saveNo
workflowYes

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A4.9/5.0
Behavior5/5

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

No annotations provided, so description carries full burden. It discloses verification via round-trip diffing, warns about silent off-by-one in widgets_values, and explains that mismatches are reported and should be fixed. Also describes save behavior comprehensively.

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?

The description is concise (about 90 words) yet thorough. Each sentence adds value, front-loading the primary purpose and then covering verification, warnings, and save behavior without redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity and the presence of an output schema, the description covers all necessary behavioral details: purpose, when to call, verification mechanism, edge case warnings, and persistence. No gaps remain.

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 0%, but the description adds meaning: workflow is the API graph, name and save control persisting the file. It explains the role of each parameter beyond the schema, compensating for the lack of schema descriptions.

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 tool's purpose: 'Convert an API graph to UI/litegraph format so a human can open and edit it.' It specifies the verb 'convert' and resource, and distinguishes from sibling tools by noting that the loop builds API format and this tool is for the editable format.

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?

The description explicitly says 'Call this when the user asks for the editable workflow.' It also implies when not to use it (the loop builds API format) and explains the save behavior. Additionally, it provides guidance on handling widgets_values positional off-by-one errors.

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

search_modelsA

Search the downloadable model catalog — find checkpoints/LoRAs/VAEs/ controlnets/upscalers you may NOT have installed yet (the local equivalent of the cloud's model search). Reads ComfyUI-Manager's model list; each result shows whether it's already installed on THIS box.

Filter by keyword (name/filename/base/description) and optional model_type (checkpoint, lora, vae, controlnet, upscale, clip, diffusion_model, ...). Install one with install_model(name). Requires ComfyUI-Manager on the host.

This is a catalog of known models; list_models shows what a specific loader currently offers on disk (ground truth). Discover here, then verify against list_models after installing.

ParametersJSON Schema
NameRequiredDescriptionDefault
keywordNo
model_typeNo

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A4.5/5.0
Behavior4/5

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

Discloses it reads ComfyUI-Manager's model list, shows installation status, and requires the add-on; no obvious undisclosed behaviors.

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?

Front-loaded purpose, efficient but slightly lengthy; every sentence adds value.

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?

Covers purpose, usage, parameters, prerequisites, and sibling relationship; output schema exists but not described, acceptable.

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?

With 0% schema coverage, description explains keyword filters (name/filename/base/description) and model_type with examples, compensating well.

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?

Clearly states it searches a downloadable model catalog for models not yet installed, lists specific model types (checkpoints, LoRAs, etc.), and distinguishes from list_models.

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 when to use (discover models) vs list_models (verify installation), and states prerequisite (ComfyUI-Manager).

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

search_templatesA

Search known-good workflow templates to adapt (few-shot beats zero-shot).

source="online" (default): the OFFICIAL open catalog on GitHub (Comfy-Org/workflow_templates) — the same ~550-template set the Cloud MCP's search is built from. You do NOT need these installed; they're browsed straight from the repo. Matches keyword against name + title + description.

source="installed": only templates on THIS ComfyUI right now (/api/workflow_templates — every installed pack's example workflows). Smaller, but guaranteed runnable on your install without adding anything.

Then fetch one with get_template. Note an online template may reference nodes/ models you haven't installed — reconcile against object_info before running.

ParametersJSON Schema
NameRequiredDescriptionDefault
sourceNoonline
keywordNo

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A4.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden. It transparently describes that online templates may reference missing nodes/models and that installation is not required for browsing. However, it does not explicitly confirm non-destructive behavior, though implied.

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 well-structured with multiple focused sentences—no wasted words. It front-loads the purpose and then details the sources. Could be slightly more compact, but still efficient.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given that an output schema exists (not shown), the description fully covers tool behavior, parameter semantics, usage guidance, and limitations. It is complete for a search tool with two simple parameters.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, but the description fully compensates by explaining the 'source' parameter options (online vs installed) and their meaning, and that 'keyword' matches against name+title+description. This adds value beyond the schema.

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 explicitly states it searches workflow templates from two distinct sources, with a clear verb ('search') and resource. It also distinguishes itself from sibling 'get_template' by positioning it as a follow-up step.

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?

Provides explicit guidance on when to use each source: 'online' for the official catalog (browsed without installation) and 'installed' for guaranteed runnable templates. Advises to fetch with get_template and reconcile against object_info for online templates.

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

submit_workflowA

Queue an API-format workflow for execution (loop step 2: RUN).

workflow is the flat API/prompt-format dict: {node_id: {class_type, inputs}}. Do NOT pass litegraph/UI format here.

On success: returns the prompt_id — then call get_result to fetch outputs and get_image to LOOK at them. Running with zero errors means the graph is VALID, not CORRECT — you still have to inspect the pixels. On failure: returns node_errors keyed by node id. That is NOT an iteration — read the error, fix that specific node, and re-submit until it executes.

ParametersJSON Schema
NameRequiredDescriptionDefault
workflowYes
client_idNocomfy-mcp

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A4.9/5.0
Behavior5/5

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

No annotations provided, so description fully compensates. Details both success (returns prompt_id) and failure (node_errors) outcomes. Explains that zero errors means graph is VALID but not CORRECT, requiring pixel inspection.

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?

Description is front-loaded with purpose, uses bullet-like structure for failure handling. Every sentence adds value; no filler. Efficiently conveys complex information in a compact form.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Completely covers usage context within a workflow system, referencing necessary post-execution steps and sibling tools. Output schema exists, so return values need not be described. All essential behavioral aspects are addressed.

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 has 0% description coverage; description adds critical meaning for 'workflow' parameter (flat API dict format). 'client_id' is not elaborated but has a default. Description greatly enhances understanding of the primary parameter.

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?

Clearly states the tool queues an API-format workflow for execution (loop step 2: RUN). Specifies the input format as flat API/prompt-format dict, distinguishing it from litegraph/UI format. Action and resource are explicit.

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?

Provides explicit guidance: on success call get_result/get_image, on failure read node_errors and fix specific node. Also warns against passing wrong format. Clearly differentiates from sibling tools.

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

system_statsA

Report device / VRAM usage — useful when tuning resolution/batch or after an OOM.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A4.4/5.0
Behavior4/5

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

No annotations provided; description fully carries behavioral disclosure. 'Report' implies read-only, no side effects mentioned. Transparent enough for a monitoring tool.

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?

Single sentence, front-loaded, no wasted words. Highly concise and structured.

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?

Has output schema (unknown richness). Description covers purpose and usage scenarios completely for a simple stat reporter. Could add more detail on output format but not necessary.

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?

No parameters; description adds no param info beyond schema, but baseline for 0 params is 4. Schema coverage is 100%, so no gap.

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?

Clearly states it reports device/VRAM usage, provides specific use cases (tuning resolution/batch, after OOM). Distinguishes from 30+ sibling tools as the only system stats reporter.

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

Usage Guidelines4/5

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

Explicitly mentions when to use (tuning, after OOM), giving clear context. No explicit when-not-to-use or alternatives, but context is sufficient for the tool's scope.

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

template_slotsA

List a template's overridable inputs WITHOUT loading the full graph JSON.

Converts the template to API format and reports each node's literal (non-wired) inputs and current values — the curated parameter list you can change with run_template. Far smaller than the raw graph. Subgraph/unknown nodes can't be expanded and are reported (their inputs aren't overridable this way).

ParametersJSON Schema
NameRequiredDescriptionDefault
nameYes
packNo
sourceNoonline

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries full burden. It discloses conversion to API format, reports literal inputs and current values, and identifies limitations for subgraph/unknown nodes. However, it does not mention potential side effects, authentication needs, or rate limits, missing some behavioral context.

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?

The description is three sentences, front-loaded with the primary purpose. Each sentence adds value: first sentence states core function, second explains process, third details boundaries. No redundancy or wasted words.

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?

While the description explains output and limitations well, it completely omits parameter semantics. Given zero schema coverage, this omission makes the tool's input interface opaque. An output schema exists (not provided), so return values are not required, but parameter documentation is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% and the description fails to explain any of the three parameters ('name', 'pack', 'source'). The description focuses entirely on output behavior, leaving parameter meaning undefined. This is a critical gap for agent invocation.

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 begins with a clear verb ('List') and resource ('a template's overridable inputs'), immediately stating the tool's core function. It distinguishes itself from siblings like 'get_template' by emphasizing it avoids loading full graph JSON, and explicitly links to 'run_template' for subsequent parameter changes.

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?

The description explicitly tells when to use this tool ('without loading the full graph JSON', 'far smaller than the raw graph') and when not to use it ('Subgraph/unknown nodes can't be expanded', 'their inputs aren't overridable this way'). It also names the sibling 'run_template' as the next step, providing clear contextual guidance.

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

upload_imageA

Upload a local image into ComfyUI's input/ dir so a LoadImage node can use it.

Returns the name to reference in the workflow. (Video nodes like VHS_LoadVideo* read files you place directly in ComfyUI's input/ dir instead.)

ParametersJSON Schema
NameRequiredDescriptionDefault
pathYes
overwriteNo

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries full burden. It reveals the upload destination and return value, but lacks details on overwrite behavior (default true) and any limitations. Still reasonably transparent for a simple file upload.

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?

Very concise: two sentences with a parenthetical note. Front-loaded with purpose, no unnecessary words. Every sentence adds value.

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 low param coverage and no output schema details, the description covers the core use case but misses parameter explanations. It is adequate but not thorough.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must explain parameters. It implies 'path' is the local file path but does not explicitly define either parameter, especially 'overwrite'. This is insufficient.

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 'Upload' and the resource 'local image into ComfyUI's input/ dir', and specifies the purpose: so a LoadImage node can use it. It also mentions the return value, making it distinct from sibling tools like 'get_image' or 'install_model'.

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?

The description explicitly tells when to use this tool (for LoadImage node) and when not to (for VHS_LoadVideo* nodes, which read files placed directly in the directory). This provides clear context and alternatives.

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 32 tool updatesv0.2.0
    • First observedcheck_comfyui
    • First observedcompare_images
    • First observedfind_missing_nodes
    • First observedflowzip_to_api
    • First observedget_image
    • First observedget_node
    • First observedget_queue
    • First observedget_result
    • First observedget_template
    • First observedimage_diff_stats
    • First observedinflate_workflow
    • First observedinstall_model
    • First observedinstall_node_pack
    • First observedinterrupt
    • First observedlist_models
    • First observedlist_nodes
    • First observedloop_best
    • First observedloop_finish
    • First observedloop_ledger
    • First observedloop_record
    • First observedloop_report
    • First observedloop_start
    • First observedmeasure_image
    • First observedrestart_comfyui
    • First observedrun_template
    • First observedsave_workflow
    • First observedsearch_models
    • First observedsearch_templates
    • First observedsubmit_workflow
    • First observedsystem_stats
    • First observedtemplate_slots
    • First observedupload_image

TDQS

B3.4/5.0

Scored across 32 tools

Disambiguation4/5

Most tools have clearly distinct purposes, but there is minor overlap between compare_images and image_diff_stats (both compare images, though one visual and one statistical) and between get_node (no description) and other tools. Overall, agents can distinguish them.

Naming Consistency5/5

All 32 tools follow a consistent verb_noun pattern with lowercase and underscores (e.g., check_comfyui, find_missing_nodes, loop_start). No mixing of conventions.

Tool Count4/5

32 tools is on the high side, but each tool serves a specific function in the ComfyUI loop workflow, including operations, installation, looping, and evaluation. Could be slightly reduced, but still appropriate for the scope.

Completeness5/5

The tool set covers the entire loop workflow end-to-end: start, run, evaluate, compare, record, finish, plus supporting operations for node/model management and template handling. No obvious gaps for the stated purpose.

Maintenance

ActivityActive
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers