Skip to main content
Glama
ozwei

LM Studio MCP Bridge

by ozwei

lms_load_cli

Load local LLM models from the command line with granular control over GPU offload, context length, and custom instance identifiers for precise deployment.

Instructions

CLI: Advanced model loading with granular control.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
gpuNoGPU offload (e.g., 'max', '0.5', 'off').
model_idYes
identifierNoCustom identifier for the loaded model instance.
context_lengthNoContext length override.
Behavior1/5

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

With no annotations provided, the description must disclose behavioral traits, but it gives none. It does not mention side effects, permission requirements, whether it starts a server, or how it interacts with the system. This is a significant omission for a loading tool.

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

Conciseness2/5

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

The description is extremely brief but not effectively concise; it is under-specified. The single sentence 'CLI: Advanced model loading with granular control' conveys little concrete information and could apply to almost any model-loading tool, so it does not earn its place.

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?

Given that there are no annotations and no output schema, the description needs to provide context about what the tool does, its parameters, and its effects. It fails to do so. The tool has 4 parameters and potentially complex behavior (GPU offload, context length), but the description offers no context, making it inadequate.

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?

The input schema describes 3 of 4 parameters (gpu, identifier, context_length), giving 75% coverage. The description adds no extra parameter semantics beyond the schema, so with high schema coverage the baseline score of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses the verb 'loading' and the resource 'model', so it communicates the basic action of loading a model. However, terms like 'advanced' and 'granular control' are vague and do not specify what advanced means, nor does it differentiate this tool from sibling tools like 'load_local_model' or 'lms_get'.

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 guidance on when to use this tool versus alternatives. The description does not mention exclusions, prerequisites, or scenarios where another tool would be more appropriate. Sibling tools include 'load_local_model' and 'lms_get', but the description provides no comparison.

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

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