Skip to main content
Glama

unload_models

Free GPU VRAM by unloading Kokoro, Orpheus, and Whisper models before running memory-intensive tasks such as audiocraft or Blender.

Instructions

Libera a VRAM (descarrega Kokoro/Orpheus/Whisper), ex.: antes de usar o audiocraft ou o Blender.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "unload_models"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the core effect: named models are unloaded and VRAM is freed. It omits what happens to in-flight jobs that may depend on those models, whether the call errors when nothing is loaded, and that models must be reloaded afterwards (a latency cost).

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?

One short sentence with the effect front-loaded and the usage example trailing as support. Nothing is wasted and nothing is buried.

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 zero-parameter, no-output-schema utility, the description covers what it does and when to reach for it. The remaining gap is behavioral edge cases (running jobs, reload cost), which is minor for a tool this simple.

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 takes zero parameters, so there is no parameter semantics to explain and the baseline of 4 applies. The description correctly implies a global, all-targets unload rather than a per-model selection.

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?

States a specific verb and effect ('Libera a VRAM') plus the exact resources affected (Kokoro/Orpheus/Whisper), so an agent knows precisely what the call does. It does not name a sibling alternative, but the sibling list is job/audio-generation oriented, so confusion risk is low.

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?

Provides a concrete when-to-use trigger ('antes de usar o audiocraft ou o Blender'), which is exactly the kind of pre-condition an agent needs to sequence this call. There are no explicit when-not conditions or named alternatives, keeping it short of a 5.

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