Skip to main content
Glama

free_memory

Free up ComfyUI VRAM and RAM by clearing cached memory and unloading loaded models to prepare for new tasks.

Instructions

Free ComfyUI VRAM and RAM.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
free_memoryNoWhether to free cached memory.
unload_modelsNoWhether to unload loaded models from memory.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

With no annotations provided, the description must fully disclose behavioral traits, but it only states that it frees VRAM and RAM. It doesn't mention side effects (e.g., unloading models, clearing cached memory), whether it interrupts running jobs, or if any prerequisites exist. The parameter names hint at model unloading and cache clearing, but this is not explained.

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 extremely concise—a single sentence that immediately states the action and target. It contains no filler or redundant information. It sacrifices completeness for brevity, but for pure conciseness it is exemplary.

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?

Despite the output schema existing, the description is far too sparse for a tool with no annotations. It lacks usage guidance, side-effect disclosure, and any behavioral context, making it insufficient for an agent to safely decide when and how to invoke this 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 100%, so the schema already fully documents both boolean parameters ('free_memory' and 'unload_models') with descriptions. The tool description itself adds no parameter-level detail, earning the baseline score of 3.

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 uses a specific verb ('free') and a clear resource ('ComfyUI VRAM and RAM'), which clearly states the tool's function. However, it doesn't explicitly distinguish itself from sibling tools, though no sibling seems to serve the same memory-freeing purpose.

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

Usage Guidelines2/5

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

No guidance is provided on when to use this tool versus alternatives, such as memory pressure situations or after model execution. The description simply states what it does without any context for use.

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/halbert04/comfyui-mcp'

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