Skip to main content
Glama

list_devices

Read-onlyIdempotent

Lists the switches this server can query, returning device name, management host, and enabled backends (RESTCONF, SSH) without exposing credentials. Call first to verify device configuration.

Instructions

List the switches this server can query (currently exactly one ICX 7450).

Returns the device name, management host, and which backends (RESTCONF, SSH) are enabled. Never returns credentials. Call this first if unsure what device is configured or whether the server is set up.

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

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior3/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 genuinely useful behavior beyond that — the returned fields (name, management host, enabled backends) and the explicit guarantee that credentials are never returned — but says nothing about whether the call performs live discovery/network probing or how stale the device list may be.

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?

Three short sentences, front-loaded with the identification and scope, then return contents, then a caveat and a usage pointer. Every sentence carries distinct information with no repetition of the name or the annotations.

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?

For a zero-parameter read tool with a full output schema and complete annotations, nothing material is missing. The description still sketches the return fields and the credential-safety guarantee, which is more than the structured fields require.

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 there is no parameter semantics to add; the baseline of 4 applies. The description correctly does not invent arguments.

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?

States a specific verb and resource ("List the switches this server can query") plus concrete scope ("currently exactly one ICX 7450"), which is unmistakably distinct from the get_* / run_show_command siblings that read device data rather than enumerate devices. An agent knows exactly what this returns without opening the schema.

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?

Gives a clear trigger: "Call this first if unsure what device is configured or whether the server is set up." It does not name an explicit alternative or a when-not condition, but for a zero-argument bootstrap/list tool the guidance is sufficient to place it in a workflow.

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