Skip to main content
Glama

get_gpus

Read-onlyIdempotent

Fetches live GPU metrics including usage, memory, temperature, and top processes to diagnose GPU bottlenecks in games or programs.

Instructions

GPUs right now: each adapter's usage, its engines (3D, copy, video...), dedicated and shared memory and temperature, as far as its driver reports them, and the 10 processes using the GPU most. A live snapshot; the list is empty on a machine without a GPU the system can read. Use it when a game or program is held back on the GPU side; get_displays covers the monitors, get_sensors every temperature, get_hardware the processor and board.

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": "get_gpus"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds real behavioral context beyond them: it is a live snapshot, fields are only present "as far as its driver reports them" (partial data possible), and the list is empty on a machine with no readable GPU. It does not mention latency or volume, but for a local read that is a minor omission.

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?

Two sentences, front-loaded with the resource and snapshot nature, then the usage routing. The dense enumeration in sentence one is all substantive content, with no filler or restatement of the name.

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?

There is no output schema, yet the description fully conveys the return shape (adapters, engines, memory split, temperature, top processes) and the empty-result case. Combined with zero parameters and full annotation coverage, nothing an agent needs to call or interpret it is missing.

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?

The tool takes no parameters, so the baseline is 4. The description does clarify an implicit output-side limit (only the 10 processes using the GPU most), which prevents an agent from expecting an exhaustive process list.

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 specific verb+resource ("GPUs right now") and enumerates the returned fields: per-adapter usage, engines (3D, copy, video), dedicated and shared memory, temperature, and the top 10 processes. It also explicitly separates itself from get_displays, get_sensors and get_hardware, so an agent can pick it without inspecting siblings.

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?

It states the triggering condition ("Use it when a game or program is held back on the GPU side") and names three alternatives with the domain each covers. That is explicit when-to-use plus routing, leaving nothing to inference.

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