Skip to main content
Glama

find_available_gpu

Locate GPUs with at least the specified free VRAM in GiB right now to confirm a model can load before allocating resources.

Instructions

GPUs with at least required_vram_gb (GiB) free right now.

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": {
      "required_vram_gb": "<required_vram_gb>"
    },
    "name": "find_available_gpu"
  }
}

Input Schema

NameRequiredDescriptionDefault
required_vram_gbYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/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 burden, and it does contribute one important behavioral fact: the threshold applies to FREE memory at query time, not total capacity. It does not disclose result ordering, whether an empty result is returned when nothing qualifies, or whether the query is expensive/live.

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?

One sentence, front-loaded with the resource and the filter, no filler. Nothing could be removed without losing meaning.

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 a simple one-parameter query tool with no output schema, the definition covers the core semantics but leaves the shape of the answer (list vs count, ordering, empty case) entirely unspecified. Adequate but with a clear gap for an agent deciding what to do with the result.

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 coverage is 0%, so the description must compensate for the single parameter. It does add the unit (GiB) and clarifies the parameter is a minimum-free threshold, which goes beyond the schema's bare 'number'. It does not say whether the comparison is exact or inclusive beyond 'at least', nor how fractional values are handled.

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 names the resource (GPUs) and a specific selection condition: at least required_vram_gb GiB free right now. This is more precise than the bare tool name and is distinguishable from list_gpus or get_gpu_info. It stops short of naming a sibling as the non-alternative, so it does not reach 5.

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?

'right now' implies this is a live availability query rather than an inventory listing, which is useful implied guidance. However, it never states when to prefer this over list_gpus, estimate_model_fit, or recommend_gpu_for_model, and gives no exclusions or prerequisites.

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