Skip to main content
Glama
AIops-tools

io.github.AIops-tools/olvm-aiops

Official

storage_capacity_rca

Diagnose storage-domain capacity issues by ranking problems worst-first, correlating recent warning events, and reporting critical, medium, or high severity signals.

Instructions

[READ] Storage-domain problems ranked worst first, in one call.

Critical when free space is below the engine's critical blocker (the engine then refuses new disks and snapshots); medium below the low-space warning, or when thin disks are committed beyond capacity while space is low (low on its own); high when an attached domain is inactive, unknown or mixed. Warning-or-worse events naming a storage domain (for example "deactivated by system") are attached to it. Unattached domains such as the default image repository are skipped. 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). 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.2/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 behavioral burden. It discloses that it is a read operation (prefixed '[READ]'), explains the ranking logic (critical/medium/high thresholds), specifies exclusions (unattached domains), and notes that findings are reported in rank order with their signals. This is substantial, though it does not mention potential rate limits or authentication requirements.

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 front-loaded with a clear one-liner, followed by a compact explanation of the ranking logic and then a structured Args list. It is a bit long, but every sentence adds value; no fluff or repetition. The structure aids scannability.

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 description covers the tool's purpose, ranking criteria, input parameters, exclusions, and reporting style. Without an output schema, it does not detail the exact return format, but it states that findings are ranked and quoted, which is sufficient for an agent to call it correctly. The context is complete for a read-only RCA tool.

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 schema provides zero descriptions for its three parameters, but the description's 'Args' section fully documents each one: events_limit (range and default), events_window_hours (range and default), and target (with omission guidance). This completely compensates for the schema gap and adds clarity beyond the bare property names.

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 precise statement: 'Storage-domain problems ranked worst first, in one call.' It clearly identifies the verb (rank) and the resource (storage-domain problems), and goes on to explain the ranking criteria in detail, distinguishing it from simple list/get tools like storage_domain_list.

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 explains the tool's analytical nature and its input parameters, but it never explicitly contrasts it with alternatives such as storage_domain_list or event_list. The use case is implied by the RCA context, but no direct guidance is given on when to prefer this over siblings.

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