Skip to main content
Glama

list_devices

Retrieves all inventory network devices except port-1 entries, returning names, types, transports, console/Telnet/SNMP hosts and ports, plus descriptions for inspection.

Instructions

Return all devices in the inventory, excluding port-1 devices.

Returns a list of dicts with keys: name, type, transport, console_host, console_port, telnet_host, telnet_port, snmp_host, snmp_port, description.

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

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/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 behavioral burden. It does disclose one real trait beyond structure — the port-1 exclusion — but says nothing about freshness, ordering, permissions, or whether the inventory enumeration triggers live polling, which matters for a network-inventory tool.

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 short sentences, front-loaded with the operation and its filter. The key list is compact and the exclusion is stated before the return detail, so nothing needs re-reading.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so the enumerated return keys are largely redundant with structured data rather than harmful. What remains thin is behavioral context (ordering, liveness, auth), which is a modest gap for a parameterless read tool.

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 zero parameters, so the baseline is 4. The description adds one useful semantic point the empty schema cannot: the port-1 exclusion is unconditional and not toggleable by any argument.

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 a specific verb and resource ('Return all devices in the inventory') plus a precise scope exclusion ('excluding port-1 devices'), so an agent knows exactly what comes back. It never names or contrasts a sibling (run_show, snmp_get, snmp_walk), so differentiation is inferable from the verb rather than stated.

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?

There is no explicit when-to-use, no prerequisite, and no named alternative for retrieving the excluded port-1 devices. The exclusion constraint implies usage conditions (inventory enumeration, not per-operation queries), which is adequate but leaves the agent to infer routing.

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

Deploy Server

Other Tools