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

@nks-hub/zabbix-mcp

by nks-hub

List Items

zabbix_list_items
Read-onlyIdempotent

List Zabbix items by host, group, name, or key with pagination to discover metrics and value types before querying history.

Instructions

List Zabbix items by host/group/search. Supports pagination. Useful for metrics discovery before reading history. Returned items include value_type which feeds zabbix_get_item_history.

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_items"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (default: 1)
searchNoSubstring search against item name
hostIdsNoHost IDs to filter by
groupIdsNoHost group IDs to filter by
pageSizeNoItems per page (default: 50, max: 500)
keySearchNoSubstring search against item key_
monitoredOnlyNoOnly return monitored items

Output Schema

NameRequiredDescriptionDefault
dataYesArray of Zabbix item objects
queryNo
lastSeenNo
paginationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.3

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and closed-world scope, so the safety profile is covered. The description adds genuinely non-structured behavior: that results are paginated and that each returned item carries `value_type`, which is the field needed to call the history tool.

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?

Three short sentences, front-loaded with purpose before workflow. 'Supports pagination' is mildly redundant given the schema already defines page/pageSize, but nothing else is wasted.

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?

With a full output schema and rich annotations, the description covers what the structured fields cannot: the discovery-then-history workflow and the `value_type` hand-off. A note on behavior when no filters are supplied (full inventory?) would fully close the gap.

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

Parameters3/5

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

Schema description coverage is 100%, so all seven parameters (page, pageSize with max 500, search, keySearch, hostIds, groupIds, monitoredOnly) are already documented in the schema. The description only gestures at host/group/search filtering and pagination, adding no syntax, defaults, or combination semantics beyond that.

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 Zabbix items') plus the available filters (host/group/search), which is enough to distinguish it from data-returning siblings like zabbix_get_item_history or zabbix_list_hosts. It stops short of an explicit contrast with any sibling tool, keeping it at 4 rather than 5.

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?

'Useful for metrics discovery before reading history' gives a concrete when-to-use scenario and implicitly names the follow-up tool (zabbix_get_item_history). There is no when-not guidance or statement of prerequisites, so it is clear context without exclusions.

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