Skip to main content
Glama

Will this model run on this hardware?

check_fit
Read-onlyIdempotent

Checks whether a local AI model fits specified GPU, multi-GPU, or Mac hardware; returns fit verdict, memory use, speed, and fixes for context or quantization.

Instructions

Checks whether one local AI model fits one hardware setup - a graphics card, several identical cards ('2x RTX 3090') or a Mac - and returns the verdict (fits / tight / does_not_fit), memory needed (weights + context cache + overhead) against memory available, and generation speed in tokens per second: measured on LocalBit's test node where it has run that pair, otherwise estimated with a likely range. When it doesn't fit, it says what to change (smaller quantization, shorter context, other hardware); it warns when the context exceeds the model's published maximum. Use this when the user names a model and their hardware. Use suggest_models instead when they only name hardware ('what can I run?'), compare_setups when weighing two options, and list_known first if a name isn't recognised (unknown names return the closest known ones). Every answer includes a citable source_url and the date the data is current as of.

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>",
      "hardware": "<hardware>"
    },
    "name": "check_fit"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelYesModel name, e.g. 'Llama 3.1 8B', 'qwen3:30b', 'gpt-oss 20b', or a size like '13B model'. list_known gives exact names.
quantNoQuantization, e.g. Q4_K_M (default), Q8_0, F16.
contextNoContext length in tokens (default 8192).
hardwareYesGraphics card, several cards ('2x RTX 3090') or a Mac ('M2 Pro 32 GB'), or memory like '12 GB card'. list_known gives exact names.
kv_cacheNoContext cache type: f16 (default), q8_0 or q4_0.

Output Schema

NameRequiredDescriptionDefault
basisNo
modelNo
quantNo
sizesNoOnly when a model family was asked without a size: each size on this hardware.
contextNo
verdictNo
hardwareNo
measuredNo
communityNoCommunity-submitted measurement (unverified), when the node has none.
memory_gbNo
data_as_ofNo
source_urlNo
suggestionsNo
gen_tokens_per_sNo
largest_that_fitsNo
gen_tokens_per_s_rangeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.1

TDQS

A4.6/5.0
Behavior4/5

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

Annotations only declare read-only/idempotent/closed-world; the description goes well beyond by disclosing that speed is measured on LocalBit's test node when that pair has run, otherwise estimated with a range, and that remediation hints and context-limit warnings are included. It also states every answer carries a source_url and data currency date, which is useful trust context. The main remaining gap is that it doesn't say whether estimates are marked as such in the fields the agent will read, but the output schema presumably covers that.

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?

It is a single dense paragraph, but front-loaded with the core operation and then the routing rules, with zero filler sentences. A bulleted split between 'what it returns' and 'when to use it' would read faster, but nothing is redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With annotations covering safety, a 100% documented 5-parameter schema, and an output schema handling return shape, the description fills the remaining gaps: measurement-vs-estimate provenance, remediation advice, context-limit warnings, and citation sourcing. An agent has everything needed to call it correctly and interpret the result.

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

Parameters4/5

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

Schema description coverage is 100%, so the baseline is 3; the description adds meaning by explaining that unrecognised model names return the closest known ones (a fuzzy-resolution behaviour the schema does not mention) and by reiterating hardware forms like '2x RTX 3090' as a single string. It does not add detail on quant or kv_cache trade-offs, which live in the schema.

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 opens with a precise verb+resource+shape: checks whether one local model fits one hardware setup, and enumerates the accepted hardware forms (single card, '2x RTX 3090', Mac). It then states exactly what comes back (verdict, memory needed vs available, tokens/sec), which is far more specific than the title alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit routing rules are given: use this when the user names both a model and hardware; use suggest_models when only hardware is named ('what can I run?'), compare_setups when weighing two options, and list_known first if a name isn't recognised. Both the when and the when-not are covered with named alternatives.

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