Skip to main content
Glama

list_devices

Lists devices known to the controller with name, state, OS, owner, last-seen time, and controller status; filter by pending, accepted, or rejected approval state.

Instructions

Devices known to the controller, summarised: name, state, operating system, owner, last seen, and whether it is a controller. state_filter may be "pending", "accepted" or "rejected"; pending devices are waiting for approval. get_device has everything about one device.

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

Input Schema

NameRequiredDescriptionDefault
deploymentNo
state_filterNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose the returned fields and the semantics of each state value, but says nothing about pagination, result limits, permissions, or whether the call is read-only (only implied by the tool name).

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?

Three short sentences, front-loaded with what the tool returns, then the filter vocabulary, then the sibling hand-off. Slight awkwardness in the run-on first sentence but nothing redundant.

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?

With no output schema, describing the summary fields is the right compensation and it does so well. The omission of any explanation for the deployment parameter and of pagination behavior leaves the definition incomplete for a two-parameter listing tool.

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% and the schema provides no enum for state_filter, so the description's enumeration of "pending", "accepted", "rejected" is genuinely additive. However, the second parameter, deployment, is never mentioned, leaving half the inputs undocumented in both places.

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?

States the resource (devices known to the controller) and enumerates the summary fields returned (name, state, OS, owner, last seen, controller flag), which tells an agent exactly what this yields. It also distinguishes itself from get_device, the single-device sibling, so the boundary is clear.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The closing line explicitly routes the agent to get_device when full detail on one device is needed, and the note that pending devices are waiting for approval gives a concrete reason to call this tool. There are no explicit when-not-to-use exclusions, so it stops short of a 5.

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