Skip to main content
Glama

comfyui_update_custom_node

Update a custom node pack to its latest version with an optional restart and security audit to ensure safe operation.

Instructions

Update a custom node pack to the latest version.

    Args:
        node_id: Node pack ID to update.
        restart: If True, restart ComfyUI after update and run a security audit
                 on all installed nodes.

    Returns:
        Status message. If restart=True, includes security audit results.
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
node_idYesCustom-node pack ID to update to the latest version.
restartNoIf True, restart ComfyUI after update and run a security audit.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

The annotations already indicate non-read-only and non-idempotent behavior. The description adds valuable context about the restart flag: restarting ComfyUI after update and running a security audit on all installed nodes. It also explains return values, providing transparency beyond the annotations.

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

Conciseness4/5

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

The description is well-structured with Args and Returns sections, and the core purpose is stated first. It is not overly verbose, though the Args section duplicates schema information rather than adding new 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?

For a relatively simple update tool, the description covers purpose, parameters, and return values sufficiently. It does not mention error conditions or prerequisites, but given the schema completeness and the presence of an output schema, it is adequately complete.

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

Parameters3/5

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

Schema description coverage is 100%, with detailed descriptions for both node_id and restart. The description's Args section essentially restates the schema without adding new meaning, so the baseline of 3 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's function: 'Update a custom node pack to the latest version.' This uses a specific verb ('Update') and resource ('custom node pack'), and it distinctly separates this tool from siblings like install, uninstall, search, and audit.

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 implies that this tool is for updating custom nodes, but it does not explicitly state when to use it versus alternatives (e.g., installing or uninstalling). There is no mention of prerequisites or exclusions, so the guidance is only implicit.

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/hybridindie/comfyui_mcp'

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