Skip to main content
Glama

hmc_set_lpar_proc_compat

Set the processor compatibility mode of an LPAR on an IBM HMC. Accepts system and LPAR names or UUIDs to update the partition's configuration.

Instructions

Set the processor compatibility mode of an LPAR.

Runs chsyscfg -r lpar -m <system_name> -i "name=<lpar_name>,lpar_proc_compat_mode=<mode>" on the HMC via SSH.

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.

WARNING: This modifies the LPAR configuration on the HMC. Confirm lpar_name_or_uuid, system_name_or_uuid, and mode before calling.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeYes
lpar_name_or_uuidYes
system_name_or_uuidYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It explicitly warns that this modifies the LPAR configuration on the HMC, shows the exact HMC command executed via SSH, and explains the UUID resolution fallback. This is significant transparency for a mutation tool, though it does not mention permission requirements, rollback, or effect timing.

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 and well-structured: a one-line purpose, the exact command, the UUID resolution note, and a warning. Every sentence adds value and the warning is appropriately placed for a mutating operation. No fluff or redundancy.

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?

For a mutation tool with no annotations, the description covers the critical operational aspects: what it does, how it executes (SSH + REST fallback), and the risk of modifying config. It lacks guidance on valid mode values and prerequisites (e.g., LPAR state), but given the existence of sibling tools like hmc_get_proc_compat_modes and an output schema, it is reasonably complete.

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

Parameters3/5

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

The schema has no property descriptions (0% coverage), so the description must compensate. It does explain that system_name_or_uuid and lpar_name_or_uuid can be CLI names or UUIDs and that UUIDs are resolved to names. However, it does not clarify valid values for 'mode', which is a critical gap. The connection to the chsyscfg command structure gives some parameter mapping, but incomplete.

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 a specific verb and resource: 'Set the processor compatibility mode of an LPAR.' This clearly distinguishes it from related siblings like hmc_get_lpar_proc_compat (read operation) and other setters (e.g., hmc_set_lpar_msp, hmc_set_lpar_description).

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 usage context is implied by the tool name and first sentence, but there is no explicit guidance on when to choose this tool over alternatives like hmc_modify_lpar or when not to use it. The description does mention the underlying command and UUID resolution, which gives some operational context, but stops short of clarifying exclusions or prerequisites.

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