Skip to main content
Glama

hmc_sync_lpar_profile

Destructive

Save a logical partition's current running configuration to its named profile, overwriting the previous definition so the profile matches the live state.

Instructions

Sync an LPAR's running configuration back to its current profile.

Runs chsyscfg -r lpar -m <system_name> -i "name=<lpar_name>,sync_curr_profile=1" on the HMC via SSH and returns the raw command output.

This operation saves the LPAR's current running configuration to its current named profile, overwriting the previous profile definition.

WARNING: Overwrites the current profile definition. Confirm the system_name_or_uuid and lpar_name_or_uuid before calling.

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
lpar_name_or_uuidYesThe name or UUID of the logical partition to sync.
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?

Beyond the destructiveHint annotation, the description discloses that the operation 'overwrites the previous profile definition,' warns to confirm identifiers, explains the command executed, and details the UUID-to-name resolution process with fallback behavior. This adds substantial behavioral context not captured in structured fields.

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 concise but information-dense, with each sentence serving a purpose: defining the action, showing the command, stating the overwrite risk, providing a warning, and explaining resolution logic. No redundant or irrelevant 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?

For a destructive sync operation, the description covers the operation, command, side effects, parameter handling, and output (raw command output). With good annotations and full schema coverage, this is complete and self-contained.

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?

Schema descriptions already cover both parameters fully, but the description adds important semantic context: that names or UUIDs are accepted and that UUIDs are resolved via REST or SSH fallback. This enriches understanding beyond the schema's basic field descriptions.

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's function: 'Sync an LPAR's running configuration back to its current profile.' It specifies the action, resource, and target, and includes the exact HMC command executed. This distinguishes it from sibling tools like hmc_backup_lpar_profiles and hmc_modify_lpar.

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?

The description implies when to use the tool (to persist running config to a profile) and provides a warning, but it does not explicitly contrast with alternatives or state conditions when not to use it. There is no mention of sibling tools or exclusions, leaving usage context implicit rather than explicit.

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