vram-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OLLAMA_BASE_URL | No | Ollama endpoint URL | http://127.0.0.1:11434 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| vram_statusA | Report the selected GPU and server-wide Ollama model residency. Includes device identity, source health/timestamps/coverage, claims, recent
GPU activity, and pressure (ok|tight|degraded|thrashing|unknown). Unavailable
residency is null; unavailable telemetry never establishes an empty or
healthy GPU. Each |
| list_loadedA | List the models currently resident in VRAM, with claim/busy detail. |
| unloadA | Evict a single model from VRAM now (Ollama Refuses by default if |
| ensure_freeA | Free VRAM until at least Also reports |
| warmA | Load a model or refresh its keep-alive (e.g. "5m"; "-1" pins indefinitely). An already resident model requires zero additional capacity. New loads account for reservations using an approximate model size; size_verified describes that estimate, while outcome describes verified residency. Returns succeeded|refused|failed|unknown. On unknown, inspect residency and pending_until before retrying. force=True bypasses admission checks but cannot override a pending operation. Zero durations must use unload(). |
| claimA | Declare that you're using Lets other sessions see who's using a model and why before deciding to
evict it. Renew before |
| reserveA | Reserve Use this for non-Ollama GPU work (a training run, a diffusion job) so other
sessions can see the VRAM is spoken for. COOPERATIVE: this gates vram-mcp's own |
| renewB | Extend an existing claim's expiry before it lapses. |
| releaseB | Release a claim early, before its TTL would expire. |
| list_claimsB | See who's claiming what right now (all models, or one). |
| adviseB | Suggest env/config changes to keep VRAM healthy (heuristics). |
| historyA | The VRAM audit trail, newest first: who ran unload/ensure_free/warm, and
which models/processes appeared or disappeared (with a best-effort cause).
Filter by |
| trendA | Free-VRAM trend over the last Answers "was this a gradual erosion or a sudden spike?" — the question a
point-in-time
|
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 13 tools
Most tools have clearly distinct purposes, but there is real overlap between list_loaded and vram_status (both report residency) and between history and trend (both surface historical data). The descriptions do enough to separate them, so an agent can mostly disambiguate, but these pairs require reading carefully.
There is a discernible pattern — verb_noun for actions (list_loaded, ensure_free, list_claims) and bare verbs for mutations (unload, warm, renew, release) — but query tools use bare nouns (history, trend, advise, claim, reserve), mixing conventions. It is readable but not a single predictable scheme.
13 tools is well-scoped for VRAM lifecycle management: monitoring, eviction/loading, and a cooperative claim/reservation system. Each tool earns its place without redundancy or padding.
The claim lifecycle is complete (claim/renew/release/list_claims) and monitoring covers status, history, trend, and advice. Minor gap: reservations (reserve) lack an explicit release/list counterpart, so non-Ollama capacity reservations may be harder to inspect or cancel.