Skip to main content
Glama

hmc_list_io_slots

Read-only

List physical I/O slots on a managed system via HMC CLI, returning slot details such as DR name, PCI class, and assigned LPAR. Optionally filter by PCI class for Ethernet, SAS, SAN, or NVMe adapters.

Instructions

List physical I/O slots on a managed system via the HMC CLI.

Runs lshwres -r io --rsubtype slot -m <system_name> on the HMC via SSH and returns one dict per slot. Each dict includes fields such as drc_name, pci_class, feature_codes, and lpar_name (empty string when the slot is unassigned).

The system may be given by CLI name or by UUID; a UUID is resolved to its CLI name via REST (falling back to an lssyscfg lookup over SSH when the REST API is unreachable) before the command runs.

pci_class filters by PCI class:

  • "all" — return every slot (default)

  • "eth" — Ethernet adapters (PCI class 0200)

  • "sas" — SAS/SCSI adapters (PCI class 0104)

  • "san" — Fibre Channel / SAN adapters (PCI class 0C04)

  • "nvme" — NVMe adapters (PCI class 0108)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pci_classNoall
system_name_or_uuidYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

The description goes well beyond the readOnlyHint annotation by detailing the exact HMC command executed, the UUID resolution process with fallback, and the output structure. It also specifies the pci_class filter values and their PCI class codes, providing transparent behavior.

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?

The description is structured with a clear opening sentence, followed by command details, output description, and filter documentation. Each section adds necessary information without redundancy, making it concise despite its length.

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?

Given the tool's moderate complexity (2 params, output schema exists), the description covers the purpose, command, output fields, parameter semantics, and resolution behavior. It is complete enough for an agent to select and invoke the tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema only lists parameter names without descriptions. The description compensates by explaining that system_name_or_uuid can be a CLI name or UUID and how it is resolved, and by fully documenting pci_class values including defaults and the meaning of each filter.

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 'List physical I/O slots on a managed system via the HMC CLI,' clearly identifying the action (list) and resource (physical I/O slots). It also specifies the underlying command and output format, distinguishing it from sibling tools like hmc_list_adapters or hmc_list_resources.

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 description provides clear usage context by explaining the system parameter (CLI name or UUID) and the pci_class filter options with their meanings. However, it does not explicitly mention alternative tools or when not to use this tool, so it lacks exclusions beyond the clear context.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/randomparity/hmc-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server