Skip to main content
Glama

delete_local_model

Permanently delete a local model from the allowlisted directory. Provide the model ID and set confirm to true to stop it if running and remove its downloaded snapshot.

Instructions

Permanently delete a downloaded snapshot from the allowlisted models directory. Stops that model if it is running. Requires confirm=true. Does not unregister other backends.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
confirmYesMust be true; refuses otherwise
model_idYesCatalog id whose weights to delete
Behavior5/5

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

With no annotations provided, the description carries the full burden, and it excels. It discloses permanence ('Permanently delete'), side effects ('Stops that model if it is running'), the safety requirement ('Requires confirm=true'), and the limitation ('Does not unregister other backends'). This is exactly the transparency needed for a destructive operation.

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?

Three sentences, all front-loaded and necessary. The first sentence states the core action, the second covers side effects, the third covers preconditions and scope limitations. No filler or repetition of schema fields.

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 two-parameter destructive tool with no annotations and no output schema, this description is complete. It covers the action, side effects, safety gate, and scope exclusion. An agent has everything needed to invoke it correctly and to know what to expect after execution.

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 coverage is 100%, so the baseline is 3. The description adds meaningful context by defining model_id as a 'downloaded snapshot' in the 'allowlisted models directory,' and by restating the confirm=true requirement in operational terms. This goes beyond the schema descriptions without duplicating them unnecessarily.

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 opens with a specific verb and resource: 'Permanently delete a downloaded snapshot from the allowlisted models directory.' This clearly distinguishes it from siblings like download_local_model, start_vllm, stop_vllm, and remove_vllm. An agent can immediately tell this tool is for deleting local model files, not for managing running backends.

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 gives clear context: it deletes downloaded snapshots, stops the model if running, and explicitly states it does not unregister other backends. This provides an implicit boundary between this tool and backend-managing siblings like remove_vllm. However, it does not explicitly name an alternative tool, so it falls short of a perfect 5.

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/Unaware-Kerbin/agent-orchestrator'

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