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

@nks-hub/zabbix-mcp

by nks-hub

List Hosts

zabbix_list_hosts
Read-onlyIdempotent

List monitored Zabbix hosts with optional group, name, and status filters plus pagination for browsing large environments.

Instructions

List monitored Zabbix hosts with optional filtering by group, name, status. Supports pagination.

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

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (default: 1)
searchNoSubstring search against visible host name
statusNoFilter by host status
groupIdsNoHost group IDs to filter by
pageSizeNoItems per page (default: 50, max: 500)
monitoredOnlyNoWhen true, return only monitored/active hosts
technicalNameNoSubstring search against technical host field

Output Schema

NameRequiredDescriptionDefault
dataYesArray of host objects with interfaces and groups
queryNo
lastSeenNo
paginationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.3

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and a closed world, so safety needs no restating. The description adds only that pagination is supported; it does not say what the default page size is (schema does), what ordering is used, or that the 'monitored' qualifier in the first sentence is not the default behavior.

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?

Two short sentences, front-loaded with the resource, no filler. It is arguably under-specified rather than padded, but nothing is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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 fully documented parameters, the description only needs to orient the caller, which it mostly does. The remaining gap is the ambiguous 'monitored' framing, which could lead an agent to assume filtered results without setting monitoredOnly.

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 including page/pageSize bounds and the status enum are already documented. The description's mention of group/name/status filters only restates them at a coarser level and adds no syntax or precedence guidance.

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 monitored Zabbix hosts') plus the filter dimensions, which is enough to separate it from zabbix_list_host_groups and zabbix_get_host. The word 'monitored' is slightly imprecise since monitoredOnly is an optional parameter and unmonitored hosts may be returned by default.

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

Usage Guidelines2/5

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

No statement of when to use this versus zabbix_get_host (single-host detail) or zabbix_list_host_groups, and no prerequisites or exclusions. The agent must infer from the name that this is the discovery/listing entry point.

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