Skip to main content
Glama
dev.nodebudget/gguf-fit

dev.nodebudget/gguf-fit

by nodebudget

inspect_model_fit

Inspect Hugging Face repos or local GGUF headers to compute VRAM fit, KV-cache size, GPU layer allocation, tok/s, and launch flags before downloading weights.

Instructions

Inspect HF repo or local GGUF header and compute VRAM fit, KV cache, GPU layers, tok/s, and launch flags.

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": {
      "target": "<target>"
    },
    "name": "inspect_model_fit"
  }
}

Input Schema

NameRequiredDescriptionDefault
kvNoq8_0
ctxNoContext length
gpuNoPreset ID e.g. rtx-4090, m4-pro-48g, strix-halo-128g
quantNoQuant override e.g. Q4_K_M
bw_gbsNoCustom memory bandwidth GB/s
targetYesHF owner/repo, GGUF URL, or local .gguf path
vram_gibNoCustom VRAM/RAM GiB
all_quantsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden, and it does disclose the analysis outputs it produces. However, it omits important operational context: that HF targets imply network access and possibly auth for gated repos, whether any files are downloaded or cached, and whether a local path is read-only. It also says nothing about failure modes for unknown repos or architectures.

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?

A single front-loaded sentence that names the input, the analysis, and the outputs with no filler. Every clause carries information an agent can act on.

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

Completeness3/5

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

For an 8-parameter analysis tool with no output schema and no annotations, the description is adequate but thin: it names the headline metrics yet not the shape of the response, and it omits key operational caveats (remote fetch, auth, precedence between preset and custom overrides). Baseline viable, but a competent agent would still be guessing at some edges.

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 description coverage is 75%, so most parameters are already documented in the schema. The description adds no parameter-level meaning beyond restating the target types and the metrics affected; it does not explain interactions such as how gpu preset versus custom vram_gib/bw_gbs precedence works, or when all_quants changes the result.

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 uses a specific verb ("Inspect") and resource ("HF repo or local GGUF header") and enumerates the computed outputs (VRAM fit, KV cache, GPU layers, tok/s, launch flags), so the agent knows exactly what this returns. It does not explicitly name or distinguish itself from siblings like detect_local_hardware, leaving that separation inferential.

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 explicit when-to-use guidance, no prerequisites, and no routing to alternatives such as detect_local_hardware or audit_local_llm_runtime. The use case (checking whether a model fits before running it) is only implied by the computed metrics.

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