Skip to main content
Glama
@nks-hub/zabbix-mcp

@nks-hub/zabbix-mcp

by nks-hub

List Events

zabbix_list_events
Read-onlyIdempotent

Lists Zabbix trigger events with time-range, host, trigger, and search filters plus pagination to review event timelines and history when problem queries are too narrow.

Instructions

List trigger events from Zabbix. Supports pagination. Use for timeline/history work when problem.get is too narrow. Sorted DESC by eventid; use lastSeen.eventid as a continuation reference.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "zabbix_list_events"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (default: 1)
tillNoEnd time (ISO date/time or unix timestamp)
sinceNoStart time (ISO date/time or unix timestamp)
searchNoSubstring search against event name
hostIdsNoHost IDs to filter by
pageSizeNoItems per page (default: 50, max: 500)
objectIdsNoTrigger IDs to filter by

Output Schema

NameRequiredDescriptionDefault
dataYesArray of event objects with acknowledges and hosts
queryNo
lastSeenNo
paginationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.3

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds genuinely useful unannotated traits: results are sorted DESC by eventid, pagination is supported, and lastSeen.eventid serves as a continuation cursor. It still says nothing about result volume, time-range defaults, or rate/limit behavior, so it sits above baseline but not richly so.

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

Conciseness3/5

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

Four short sentences, front-loaded with purpose and then the routing hint, sorting, and cursor semantics. There is no filler, though the sentence order could be tightened so the continuation hint sits next to the pagination statement it belongs to.

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?

Output schema exists, so return values need no explanation, and the annotations cover safety. Within that, the description supplies what an agent needs to page and order results correctly. Only the absence of time-range defaults and result-size expectations keeps it from being fully complete for a 7-parameter filtered list 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?

Schema coverage is 100% and every parameter carries its own description with defaults and bounds, so the schema carries the weight. The description adds cross-cutting meaning the schema cannot: the paging model and the continuation cursor ('lastSeen.eventid') that tells an agent how to chain pages. That is meaningful value beyond the schema rather than restatement.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('List trigger events from Zabbix') and adds scope via sorting and pagination. It differentiates itself from narrower problem/event queries, though it names the API method 'problem.get' rather than the sibling tool zabbix_list_problems, so the routing cue is slightly indirect.

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?

Gives a clear when-to-use rule: timeline/history work where a narrower problem query is insufficient. There is no explicit when-not or prerequisites, and the named alternative is an API method rather than one of the listed sibling tools, so it stops short of full routing guidance.

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