Skip to main content
Glama

hmc_set_pcm_preferences

Set PCM data collection preferences for a managed system or logical partition: enable or disable aggregation, long-term/short-term monitoring, and energy monitoring.

Instructions

Enable/disable PCM data collection for a resource.

category is the resource type, e.g. 'ManagedSystem' or 'LogicalPartition'; resource_name_or_uuid is the name or UUID of that resource. Only the flags you set are changed. Turning on aggregation implicitly enables long-term monitoring on the HMC. Long-term + aggregation are required before processed/aggregated metrics become available. Returns the updated preferences dict ({} if the HMC returns no body).

Raises: ValueError: if no preference flags are supplied.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
categoryYes
aggregationNo
compute_ltmNo
energy_monitorNo
long_term_monitorNo
short_term_monitorNo
resource_name_or_uuidYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations provided, the description carries the behavioral disclosure burden. It explains partial-update semantics, the implicit side effect of enabling aggregation, prerequisites for aggregated metrics, the return format, and the ValueError when no flags are supplied. This is strong coverage, though it omits potential details like permissions or other error cases.

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 organized and front-loaded with purpose, followed by parameter roles, behavioral notes, return value, and exception. Every sentence contributes necessary information, and there is no redundancy or filler. It is concise yet covers the essential aspects.

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?

The tool is moderately complex with 7 parameters, no annotations, and an output schema. The description covers partial updates, implicit dependencies, prerequisites, return format, and an exception. It does not explicitly contrast with hmc_get_pcm_preferences or detail all optional flags, but overall it provides enough context for correct use.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate. It explains 'category' and 'resource_name_or_uuid' well, and notes that only supplied flags are changed. However, it fails to define the five optional flags individually (aggregation, compute_ltm, energy_monitor, long_term_monitor, short_term_monitor), leaving their specific meanings ambiguous. This is a significant gap given the lack of schema 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 opens with 'Enable/disable PCM data collection for a resource', which is a specific verb plus resource and clearly states the tool's function. It distinguishes itself from the sibling hmc_get_pcm_preferences by focusing on modification rather than retrieval.

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 useful context on when and how to use the tool: 'Only the flags you set are changed' and 'Turning on aggregation implicitly enables long-term monitoring' plus the requirement for long-term + aggregation before processed/aggregated metrics are available. It does not explicitly name alternatives, but the guidance is clear enough for an agent to decide.

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