Skip to main content
Glama

compute_targets_list

Read-onlyIdempotent

Lists configured compute targets (local CPU, CUDA state) and a read-only device matrix showing which operations support prefer_gpu or require_gpu, so you can select valid execution settings.

Instructions

Configured compute targets (local CPU, CUDA state) and device_matrix: which operations support prefer_gpu/require_gpu. Read-only.

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": {
      "request": "<request>"
    },
    "name": "compute_targets_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestYesTool arguments object (all fields documented; Z is positive upward).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the trailing 'Read-only' adds nothing beyond structured data. The description does add useful behavioral context by naming the two returned payload categories (target config and device_matrix capability map) and disclosing CUDA state, but it says nothing about response shape or whether the matrix is static.

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

Conciseness4/5

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

One front-loaded sentence with no filler, and the two payload categories come before the read-only note. The phrasing is telegraphic ('device_matrix: which operations support...') but every clause carries information.

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?

There is no output schema, so the description must carry the return-value burden, and it only names the two payloads without describing their shape or fields. For a read-only discovery/reference tool this is adequate minimum-viable coverage but leaves the agent guessing at what it will actually receive.

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 100%, and the single 'request' wrapper's nested execution fields are exhaustively annotated, including which operations support prefer_gpu/require_gpu. The description adds no meaning beyond that schema, so the baseline of 3 applies.

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?

Names the resource precisely: configured compute targets (local CPU, CUDA state) plus a device_matrix of GPU-capable operations. That is a specific, non-tautological purpose an agent can distinguish from siblings like diagnostics or properties_reference, though it never contrasts itself with those siblings explicitly.

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?

Usage is only implied: the schema's device_policy and target_id fields point back to compute_targets_list, so an agent can infer this is the discovery call to make before configuring execution. The description itself states no when-to-use condition, no prerequisite, and no alternative.

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