Skip to main content
Glama
didou92i

lmstudio-local

by didou92i

lm_estimate

Read-only

Estimate memory required to load a model before actually loading it, using the installed CLI's estimate-only support. Plan resources without running the model.

Instructions

Estimate model memory needs without loading it, using installed CLI estimate-only support.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelYes
optionsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, covering the safety profile. The description adds genuinely useful behavioral context by confirming the model is not actually loaded, i.e. a side-effect-free dry run. It says nothing about estimate accuracy or how the many options affect the result.

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

Conciseness4/5

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

A single tight sentence with the operation front-loaded and zero filler. It is efficient, though arguably too terse for a tool exposing a large nested options object.

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?

With 0% schema description coverage on a tool whose 'options' object contains a dozen undocumented tuning fields, the description is not complete enough for an agent to invoke it correctly beyond passing a model name. No output schema exists, so return values need not be explained, but the parameter guidance gap is significant.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%: neither 'model' nor the deeply nested 'options' object (gpu, ttl, context_length, speculative_draft_*) is documented anywhere. The description mentions no parameter at all and does not compensate for the coverage gap, leaving the substantial options surface opaque.

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 ('Estimate model memory needs') and adds the key qualifier 'without loading it,' which cleanly distinguishes it from write-oriented siblings like lm_load and lm_load_advanced. It stops short of naming an alternative explicitly, but the purpose is unambiguous.

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 only implied: you gather that this is a pre-load check, and 'using installed CLI estimate-only support' hints at a prerequisite. There is no explicit statement of when to prefer this over lm_load/lm_load_advanced or what to do if the estimate-only support is missing.

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