Skip to main content
Glama

workflow_deps

Map a workflow's node classes to the node packs that provide them, returning an install-status manifest to show which dependencies are missing. Read-only: no changes are made.

Instructions

Map a workflow's node classes to the node PACKS that provide them (read-only).

Wraps comfy node deps-in-workflow. Closes the loop validate_workflow opens::

validate_workflow -> workflow_deps -> install_node -> restart_comfyui

Accepts the same workflow JSON run_workflow takes, or a .png with an embedded workflow. Nothing is installed or changed.

Returns: ComfyUI-Manager's manifest verbatim: {"custom_nodes": {"<pack-id-or- repo-url>": {"state": "installed"|"not-installed"|..., ...}}, "unknown_nodes": [...]}. not-installed keys are the install_node list; unknown_nodes need a human.

Gotchas: - A key with /, : or @ is a repo URL, NOT a registry id — install_node refuses it; hand those to the user by hand. - Requires a ComfyUI-Manager comfy-cli can drive (a legacy custom_nodes/ clone doesn't count); otherwise returns {"error": ..., "unsupported": True} instead of the manifest. - NOT node_dependencies, which checks one named pack's Python requirements against your venv rather than mapping a graph.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
workflow_pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A5/5.0
Behavior5/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, and it does so thoroughly. It discloses that it is read-only, that nothing is installed or changed, that it wraps a ComfyUI-Manager call, what the return manifest looks like, and what happens when the required backend is absent.

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 dense but every sentence earns its place: purpose, wrapper, pipeline position, accepted inputs, return format, and key gotchas are all covered in a well-structured layout. The most important disambiguator (read-only mapping, not install) appears first, and the note about node_dependencies is explicitly isolated.

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?

Despite having no output schema and negligible parameter schema, the description provides the return manifest shape, identifies which keys feed install_node, flags repo URLs versus registry IDs, and explains the unsupported-backend failure. An agent has everything needed to call this tool correctly and interpret its result.

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?

The schema has 0% description coverage, but the description compensates by explaining exactly what workflow_path accepts: the same workflow JSON as run_workflow, or a .png with an embedded workflow. The parameter name plus the title further confirm it is a path, making the one required parameter fully usable.

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

Purpose5/5

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

States a specific action and resource: maps workflow node classes to the node packs providing them. It also marks itself read-only, names the underlying command, and explicitly distinguishes itself from node_dependencies, so an agent can identify what it does.

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?

Gives an explicit pipeline: validate_workflow -> workflow_deps -> install_node -> restart_comfyui. It also states the alternative it is not (node_dependencies) and the prerequisites/failure mode (requires a ComfyUI-Manager comfy-cli can drive), leaving no ambiguity about when it applies.

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