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

@nks-hub/zabbix-mcp

by nks-hub

Get Host Detail

zabbix_get_host
Read-onlyIdempotent

Retrieve full details for a Zabbix host by host ID, including groups, interfaces, tags, inventory, and linked item and trigger counts.

Instructions

Get full host detail by host ID, including groups, interfaces, tags, inventory, and linked items/triggers counts.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "hostId": "<hostId>"
    },
    "name": "zabbix_get_host"
  }
}

Input Schema

NameRequiredDescriptionDefault
hostIdYesZabbix host ID

Output Schema

NameRequiredDescriptionDefault
dataYesZabbix host object, or {} when not found

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.3

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare read-only, idempotent, non-destructive, closed-world behavior. The description adds that the response includes groups, interfaces, tags, inventory, and linked item/trigger counts, but does not add caveats such as missing-host behavior or permission requirements.

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

Conciseness5/5

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

A single front-loaded sentence, with the verb/resource first and the included detail following. There is no filler or repetition.

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?

For a simple one-parameter read tool with full annotation coverage and an output schema, the description supplies the needed scope and content summary. The remaining omission is explicit routing guidance rather than missing invocation-critical context.

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?

There is one required hostId parameter, and the schema already describes it at 100% coverage as the Zabbix host ID. The description only echoes 'by host ID' and adds no format, constraints, or lookup semantics beyond the schema.

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 gives a specific verb and resource ('Get full host detail') and scopes it to a single host by ID. It also enumerates the included detail, which distinguishes it from sibling list operations such as zabbix_list_hosts.

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?

The phrase 'by host ID' and 'full host detail' imply use for retrieving one host when detailed information is needed. The context is clear, but it does not explicitly name alternatives or exclusions against list-style sibling tools.

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