Skip to main content
Glama
AIops-tools

io.github.AIops-tools/olvm-aiops

Official

event_list

Read-only

Retrieve OLVM/oVirt engine events at or above a severity, newest first, and follow new events or review recent minutes for diagnosis.

Instructions

[READ] Engine events at or above a severity, newest first.

To follow new events, pass the highest index you have already seen as after_index: events after it come back OLDEST first (order), so repeat with the highest index returned while truncated is true and nothing is skipped. since_minutes keeps events from the last N minutes and sets scanTruncated when older ones in the window may be missing. SSO session ids in login events are redacted.

Args: limit: Rows to return, 1-1000 (default 100); truncated says when more exist. min_severity: One of normal, warning, error, alert (default normal). page: Older pages of events (not combinable with since_minutes or after_index). after_index: Only events with a higher index than this, oldest first. since_minutes: Only events from the last N minutes (1-129600). target: Engine target name from config; omit to use the default.

Input Schema

NameRequiredDescriptionDefault
pageNo
limitNo
targetNo
after_indexNo
min_severityNonormal
since_minutesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.9/5.0
Behavior5/5

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

Annotations only supply readOnlyHint=true; the description goes well beyond it by disclosing default sort order (newest first), the order inversion when after_index is used, the truncated/scanTruncated signalling semantics, and that SSO session ids in login events are redacted. These are non-obvious behaviors an agent must know to poll safely.

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?

Front-loaded with the one-line purpose, then behavior, then parameters; every sentence carries information. The Args block restates parameter names, but at 0% schema coverage that repetition is load-bearing rather than filler.

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?

With no output schema, the description still names the return signals an agent needs (index, order, truncated, scanTruncated) and gives the correct polling algorithm. Nothing required to call this tool correctly is missing.

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?

Schema description coverage is 0%, so the description carries the full burden and does so: limit range 1-1000 with default 100, the four legal min_severity values, since_minutes bounds 1-129600, target's meaning and default, and the interaction constraint on page.

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 opening line states a specific verb (list), resource (engine events), and scope (at or above a severity, newest first). No sibling tool covers events, so there is no ambiguity to resolve against the other 16 tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explains exactly when to use each mode: after_index for following new events (with the repeat-while-truncated loop), since_minutes for a rolling window, and page for older history. It also states a hard exclusion — page is not combinable with since_minutes or after_index — and that omitting target uses the default.

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