Skip to main content
Glama
Ka1y0
by Ka1y0

Unload an LM Studio model

lmstudio_unload_model

Unload a specific loaded model from LM Studio by providing its identifier. This mutating action requires explicit confirmation and never unloads all models.

Instructions

MUTATING and disabled by default. Requires one explicit loaded identifier and never unloads all models.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
identifierYes
Behavior4/5

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

With no annotations, the description carries the full burden and discloses key behaviors: it labels the operation MUTATING, notes it is disabled by default, requires exactly one loaded identifier, and never unloads all models. This provides essential safety and operational context.

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 extremely concise with two short sentences, front-loaded with 'MUTATING'. Every word adds value—mutation flag, disabled-by-default caveat, parameter requirement, and safety guarantee. No redundancy.

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 tool is simple with a single parameter, but the description omits what happens on success or failure, and does not reference how to obtain a valid identifier (e.g., from lmstudio_list_loaded_models). The 'disabled by default' note is useful but unexplained. Overall it is adequate but has clear gaps.

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?

Schema description coverage is 0%, and the description compensates by specifying that the identifier must be an explicit 'loaded identifier', which adds crucial meaning beyond the schema's type and length constraints. It also implies the identifier must refer to a currently loaded model.

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 implies the tool unloads a specific model via 'never unloads all models' and 'Requires one explicit loaded identifier', while the title explicitly states 'Unload an LM Studio model'. This distinguishes it from load_model but does not name the action in the description itself.

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 implicitly conveys usage by requiring one loaded identifier, but it does not explicitly state when to use this tool versus alternatives, nor does it mention any exclusions. The 'disabled by default' warning is context but not a usage guide.

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/Ka1y0/lmstudio-mcp'

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