Skip to main content
Glama
portertech

LM Studio MCP Server

by portertech

load_model

Load a specified model into LM Studio memory for inference. Optionally set context length and batch size.

Instructions

Load a model into memory in LM Studio

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelYesThe model key to load (e.g., 'llama-3.2-3b-instruct')
identifierNoCustom identifier for the loaded model instance
contextLengthNoContext window size in tokens
evalBatchSizeNoNumber of tokens to process together in a batch
Behavior2/5

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

With no annotations, the description fully bears the burden of behavioral disclosure. It only states 'Load a model into memory', omitting potential side effects (e.g., unloading previous model), resource consumption, loading time, or error conditions.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

At one sentence, the description is concise, but it sacrifices essential details. It could be expanded without becoming verbose.

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?

For a 4-parameter tool with no output schema and no annotations, the description is inadequate. It does not explain return behavior, verification steps, or how loading integrates with sibling tools like list_loaded_models.

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 coverage is 100% with each parameter having a description in the schema. The description adds no extra meaning beyond what the schema already provides, so baseline 3 is appropriate.

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 uses a specific verb 'Load' and resource 'a model into memory in LM Studio', clearly distinguishing it from sibling tools like unload_model, list_loaded_models, and list_models.

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?

The description provides no when-to-use guidance, prerequisites, or alternatives. It does not mention that loading requires the model to be available via list_models or that it may conflict with an already loaded model.

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/portertech/lm-studio-mcp-server'

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