Skip to main content
Glama
seajhawk

LM Studio MCP Server

by seajhawk

load_model

Load a model into memory with a configurable time-to-live (TTL) so it auto-unloads when the TTL expires, helping manage LM Studio resources.

Instructions

Load a model into memory with configurable Time-To-Live (TTL). The model will auto-unload after the TTL expires.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ttlNoTime-To-Live in seconds before auto-unload (default: 3600)
model_idYesThe ID of the model to load

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/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 behavioral burden. It usefully discloses that the model auto-unloads after the TTL expires, but it does not cover other relevant traits such as whether loading is idempotent, what happens if the model is already loaded, permission requirements, or return behavior.

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 two sentences and front-loads the core purpose. Every sentence adds value: the first states the action and configurability, the second states the auto-unload consequence.

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 low-complexity tool with full schema parameter coverage and no output schema, the description covers the essential purpose and TTL behavior. It is somewhat incomplete regarding edge cases and usage context, but the structured fields carry much of the remaining detail.

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 documents both parameters. The description adds the concept of configurable TTL and auto-unload, but does not add syntax or format details beyond what the schema provides. This matches the baseline of 3 when the schema does the heavy lifting.

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 states a specific verb and resource: load a model into memory. It also introduces the TTL behavior. However, it does not explicitly differentiate itself from siblings such as unload_model or configure_model beyond the natural opposite of loading.

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?

There is no explicit guidance on when to use this tool versus alternatives like list_models, get_model_details, or configure_model. The purpose implies it is for loading models, but no conditions or exclusions are provided.

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