Skip to main content
Glama

update_extension

Move an installed ComfyUI node pack to another released version, forward or back, with safety checks and verification. Roll back a broken update by naming a known working version.

Instructions

Move an installed node pack to another released version - forwards or back.

The same machinery as install_extension and the same guarantees: the plan is read first and an unsafe one refused, a checkpoint is written, and the difference is measured afterwards. What differs is the precondition - the pack must already be here - and that going back is as ordinary as going forward. A pack that broke after an update is fixed by naming the version that worked.

update_available compares strings and nothing more, here as everywhere: a pack's version is whatever its author typed, and the ones on this machine include 1.5.0, 2.0.0, 0.1 and nine empty strings. Ordering those needs a rule none of them agreed to. So this tool does not decide what "newer" is; it moves to the version it is given.

Args: name: the installed pack, by folder name, registry id, or part of either. version: the released version to move to, or "latest". dry_run: read the plan and stop.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
dry_runNo
versionNolatest

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.10

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full behavioral burden and does so thoroughly: it states that the plan is read first, unsafe plans are refused, a checkpoint is written, and the difference is measured afterward. It also discloses the important caveat that update_available does string comparison only and therefore this tool does not decide what counts as newer.

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 front-loaded with purpose and then structured into behavioral context and Args. It is somewhat long, but the length is mostly justified by the string-comparison caveat and the need to explain non-obvious parameter matching semantics.

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?

For a complex extension-mutation tool with no annotations, three parameters, and an output schema, the description supplies the missing precondition, safety behavior, parameter meaning, and dry-run semantics. Nothing critical for correct invocation appears absent.

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 compensate, and it does. It explains that name accepts folder name, registry id, or part of either; version is the released version or "latest"; and dry_run reads the plan and stops.

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 first sentence states a precise verb and resource: moving an installed node pack to another released version, forwards or back. It explicitly distinguishes the tool from install_extension by naming the differing precondition, so an agent can separate the two without inspecting schemas.

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 names install_extension as the sibling with the same machinery but a different precondition, and gives a concrete use case for downgrading after a bad update. It stops short of an explicit when-not-to-use rule or comparison with repair_extension, so it is strong but not fully exhaustive.

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