Skip to main content
Glama
AIops-tools

io.github.AIops-tools/olvm-aiops

Official

vm_health_rca

Diagnose VM health issues by ranking problems worst first and correlating recent warning events to identify root causes like storage errors, pauses, or availability risks.

Instructions

[READ] VM problems ranked worst first, in one call.

High for VMs stuck not_responding/unknown, paused (often storage I/O errors or a full domain — check storage_capacity_rca), or down with high availability; medium for image_locked; info for VMs mid-transition; low for config changes waiting for a restart. Recent warning-or-worse events naming a VM are attached to it, one finding per VM and code; an event is superseded (info) when the VM started after it, or when the engine reported it back up and it is up now. Down VMs without HA are normal. Report findings in rank order and quote their signal.

Args: events_limit: Recent warning-or-worse events to correlate, 1-1000 (default 200). events_window_hours: Ignore events older than this many hours, 1-720 (default 24); older ones are counted in eventsOutsideWindow. target: Engine target name from config; omit to use the default.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
targetNo
events_limitNo
events_window_hoursNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden. It discloses read-only behavior via '[READ]', explains the ranking logic, supersession rules, and the meaning of 'Down VMs without HA are normal', which prevents misinterpretation. It does not cover auth or rate limits, but for a read-only RCA tool this is adequate.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is structured with a leading summary, a severity explanation, and an args section. It is longer than minimal but every sentence adds value, and the structure aids readability. The front-loaded summary allows quick comprehension.

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 tool with 3 optional parameters, no output schema, and no annotations, the description fully explains the expected output (ranked findings, quoted signals) and the interpretation logic. It is complete enough for an agent to invoke correctly without additional context.

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 description provides detailed semantics for all three parameters that the schema only lists as names. It explains ranges, defaults, and the effect of each (e.g., events_window_hours controls ignored events and counts them in eventsOutsideWindow). This is high-value beyond the schema, especially given the 0% schema description coverage.

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?

States a specific verb and resource ('VM problems ranked worst first') and clearly distinguishes it from sibling tools like storage_capacity_rca, host_health_rca, and engine_health_rca by scoping to VMs and providing a ranking. The '[READ]' prefix immediately signals a non-mutating operation.

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?

Explicitly names an alternative (storage_capacity_rca) for a specific scenario (storage I/O errors or full domain), and explains severity levels that guide when to investigate. It does not explicitly contrast with host_health_rca or engine_health_rca, but the VM-specific scope is clear, and the description implies its usage for VM health triage.

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