Skip to main content
Glama

sync_node_dependencies

Reconciles Python dependencies for all installed custom node packs in a local ComfyUI installation by running cm-cli restore-dependencies.

Instructions

Reconcile the Python dependencies of all installed custom node packs (comfy-cli node uv-sync analogue). Runs cm-cli restore-dependencies as a subprocess and requires a local ComfyUI install (COMFYUI_PATH); errors in remote --comfyui-url mode.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Even without annotations, the description discloses key behavioral traits: it runs as a subprocess, requires local COMFYUI_PATH, and fails in remote mode. This informs the agent about dependencies and constraints, beyond what is stated in the empty input 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 a single concise sentence that provides the core purpose, an equivalent command, and key constraints. No extraneous information, front-loaded with the main action.

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 explains the action and constraints well but omits any information about the output or return value. Given no output schema, the agent might benefit from knowing whether the tool returns a status or has side effects beyond dependency reconciliation.

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?

The tool has zero parameters, so the input schema is fully covered. The description adds value by noting the required environment variable (COMFYUI_PATH) which is not in the schema, meeting the baseline of 4 for tools with no 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 tool's purpose: reconciling Python dependencies of custom node packs. It provides an analogue (comfy-cli `node uv-sync`) and specifies the underlying command (`cm-cli restore-dependencies`), making the function distinct from sibling tools like install_custom_node or update_custom_node.

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

Usage Guidelines3/5

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

The description mentions when not to use the tool (errors in remote mode) and that a local ComfyUI install is required, but does not explicitly contrast with alternatives such as extract_workflow_dependencies or install_workflow_dependencies. Usage guidance is implied rather than explicit.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/artokun/comfyui-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server