Skip to main content
Glama

plan_hybrid_moe_split

Read-onlyIdempotent

Compute exact GPU VRAM and system RAM split plans for dense or Mixture-of-Experts LLM deployment, including KV-cache math and ready-to-run llama.cpp flags.

Instructions

Compute an exact Dense or Mixture-of-Experts (--n-cpu-moe) GPU VRAM + System DDR5 RAM execution plan with separated GPU App Budget vs Physical VRAM (including OS/DWM reserve) ledgers, GQA KV-cache math, and ready-to-run llama.cpp flags.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "plan_hybrid_moe_split"
  }
}

Input Schema

NameRequiredDescriptionDefault
quantNoWeight quantization format (e.g. 'q4_k_m', 'iq3_m', 'q8_0').q4_k_m
is_moeNo
presetNoBuilt-in model preset (ignored only when custom `total_params_b` is supplied).qwen3-35b-a3b
ram_gibNoTotal host System RAM in GiB (e.g. 64.0).
head_dimNo
kv_quantNoOptional explicit KV-cache quantization override ('f16', 'bf16', 'q8_0', 'q4_0').
vram_gibNoTotal physical GPU VRAM in GiB (e.g. 16.0).
num_layersNo
num_kv_headsNo
context_tokensNoContext window length in tokens (e.g. 32768).
total_params_bNo
active_params_bNo
os_headroom_gibNoOS / Desktop Window Manager (DWM) VRAM reserve in GiB (default 1.25 GiB).
routed_expert_fractionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so safety is covered. The description adds real domain context that the plan separates GPU App Budget from Physical VRAM and accounts for an OS/DWM reserve. With no output schema, it partially covers the return shape by naming the ledgers and flags, but it omits any error/precedence behavior (e.g., which inputs win when both preset and custom params are passed).

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

Conciseness3/5

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

It is a single front-loaded sentence, so the purpose arrives immediately with no filler. But it is heavily jargon-dense (“ledgers,” “--n-cpu-moe,” “GQA KV-cache math”) without breaking out inputs vs outputs, which hampers scanning more than its length does.

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?

The description names the plan's outputs, which partly offsets the missing output schema. For a 14-parameter planning tool with zero required fields, though, it says nothing about which parameter combinations are valid or how defaults flow into the result, so an agent still needs the schema to call it correctly.

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 only 50% across 14 parameters, so the description must compensate and it largely does not. It mentions only --n-cpu-moe (is_moe) and the OS/DWM reserve implicitly; is_moe, routed_expert_fraction, active_params_b, head_dim, num_kv_heads, and num_layers carry no meaning from the prose. An agent must infer the MoE/dense branching and expert-offload semantics entirely from the schema.

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 ("Compute") and names the exact artifact produced: a Dense or MoE GPU VRAM + System DDR5 RAM execution plan with separate App-Budget vs Physical-VRAM ledgers, KV-cache math, and llama.cpp flags. It is far more specific than the title alone. However it never distinguishes itself from the sibling compute_gqa_kv_cache, even though it also performs GQA KV-cache math, leaving overlap ambiguity.

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 when-to-use or when-not-to-use guidance, and no mention of the alternative compute_gqa_kv_cache. It also doesn't explain the key routing decision an agent must make — choosing a built-in preset versus supplying custom total_params_b/active_params_b — beyond what the schema field note states.

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

Deploy Server

Other Tools