Skip to main content
Glama

lmstudio_estimate_memory

Read-only

Estimate VRAM and RAM usage for a model with chosen load settings before loading it, and check whether the configuration passes LM Studio's memory safety guardrails.

Instructions

Ask LM Studio how much VRAM and RAM a model would use with given load settings, without loading it. Shows whether it passes LM Studio's safety guardrails.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "model": "<model>"
    },
    "name": "lmstudio_estimate_memory"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelYesModel key (partial names work if unique).
configNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, and the description adds real value on top: nothing is loaded as a side effect, and the response reports whether LM Studio's safety guardrails would be passed. It does not say what the estimate looks like or what happens when a model isn't locally available.

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?

Two short sentences with zero filler, and the key non-obvious property (no load occurs) is placed up front.

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 read-only estimation tool the description covers purpose, side-effect profile, and the meaning of the result (feasibility against guardrails), which is adequate. The lack of any output-shape hint and the undocumented nested config fields are the remaining gaps.

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 description says "with given load settings" but adds no meaning about the model or config parameters themselves. Top-level schema coverage is 50% (model is documented, the config object is not), and a handful of nested fields such as seed, physical_batch_size, and rope_frequency_base/scale carry no description anywhere, so the gaps are not compensated for.

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 gives a specific verb and resource: asking LM Studio to estimate VRAM and RAM usage for a model under given load settings. The phrase "without loading it" implicitly separates it from lmstudio_load_model, though no sibling is named outright.

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?

Usage is implied rather than stated: it is clearly a pre-flight check you run before committing to a load. However, there is no explicit when-to-use/when-not-to-use framing, no mention that a comparison tool like lmstudio_optimize_settings exists, and no stated precondition such as the server running or the model being downloaded.

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