Skip to main content
Glama

hmc_restore_lpar_profiles

Destructive

Restore LPAR profiles from a backup file on the HMC, overwriting current configuration. Specify the system name or UUID and the file path on the HMC.

Instructions

Restore LPAR profiles from a backup file via the HMC CLI.

Runs rstprofdata -m <system_name> -f <file_path> on the HMC via SSH and returns the raw command output.

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.

IMPORTANT: file_path is on the HMC filesystem, not the local machine. The backup file must already exist at that path on the HMC host.

WARNING: Restoring overwrites the current LPAR profile configuration. Confirm the system_name_or_uuid and file_path before calling.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathYesPath on the HMC filesystem where the backup file is located.
system_name_or_uuidYesThe name or UUID of the managed system (Power server).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

The description adds significant context beyond the destructiveHint annotation: it explicitly warns that restoring overwrites the current LPAR profile configuration, clarifies that file_path is on the HMC filesystem, and details the UUID-to-name resolution fallback mechanism. This fully discloses the destructive impact and important runtime 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 well-structured and front-loaded with the core purpose, followed by implementation details, an important file path note, and a destructive warning. Every sentence contributes necessary information, with no redundant or filler content.

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 complexity, the description covers all essential aspects: the exact command executed, the raw output, the file path location, UUID resolution, and the destructive overwrite warning. With an output schema and destructiveHint annotation already present, this is a complete and self-sufficient description.

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 input schema already provides descriptions for both parameters (100% coverage). The description adds extra value by clarifying that file_path must already exist on the HMC host and that system_name_or_uuid can be a UUID or CLI name with a documented resolution process, exceeding what the schema alone provides.

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 clearly states the tool restores LPAR profiles from a backup file via the HMC CLI, using a specific verb and resource. It distinguishes itself from siblings like backup and sync by explicitly naming the restore operation and the underlying command.

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 implies the tool is for restoring profiles from backups and emphasizes the prerequisite that the file must already exist on the HMC filesystem. It does not explicitly name alternative tools or exclusion conditions, but the usage context is clear and unambiguous.

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