Skip to main content
Glama
leroylim

Zabbix MCP Server

by leroylim

zabbix_host_create

Add a new host to Zabbix monitoring by providing host groups and interfaces, with optional templates, macros, and TLS configuration.

Instructions

Creates a new host in Zabbix with specified groups, interfaces, and optional templates/macros.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hostYesTechnical name of the host (e.g., srv-app-01).
nameNoVisible name of the host. Defaults to technical name if not provided.
groupsYesArray of host group objects to assign this host to. Each object must have "groupid".
macrosNoArray of host macros (UserMacros).
statusNoHost status: 0 (monitored), 1 (unmonitored).
tls_pskNoPSK value (write-only).
templatesNoArray of template objects to link to the host. Each object must have "templateid".
interfacesYesArray of interface objects for the host.
tls_acceptNoConnections FROM host: 1-No enc, 2-PSK, 4-Cert (bitmask).
tls_issuerNo
descriptionNoHost description.
tls_connectNoConnections TO host: 1-No enc, 2-PSK, 4-Cert.
tls_subjectNo
proxy_hostidNoID of the proxy that monitors the host. Use '0' if monitored by server.
inventory_modeNoHost inventory mode: -1 (disabled), 0 (manual), 1 (automatic).
tls_psk_identityNo
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It only states the high-level action and does not mention idempotency, failure behavior if the host already exists, required permissions, or any side effects. This is insufficient for a mutation tool.

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?

The description is a single, front-loaded sentence with no wasted words. It efficiently communicates the core action and key components.

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?

The schema handles parameter-level detail, so the description need not repeat that. However, for a complex creation tool with 16 parameters and no output schema, the description omits behavioral context (e.g., what happens on conflict, whether it's atomic, any prerequisites) and does not mention other important aspects like TLS, proxy, or inventory from the schema. It is minimally viable but leaves gaps.

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?

The schema already provides comprehensive descriptions for 81% of parameters. The description adds conceptual grouping (groups, interfaces, optional templates/macros) which slightly helps, but this largely repeats what the schema already conveys through required fields and parameter names.

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 clearly states the action ('Creates') and the resource ('a new host in Zabbix'), and specifies key components (groups, interfaces, templates/macros). It distinguishes itself from sibling tools like zabbix_host_update and zabbix_host_delete by focusing on creation of a new host.

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

Usage Guidelines3/5

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

The usage is implied by the word 'Creates'—this tool is for creating new hosts. However, there is no explicit guidance on when to use this versus alternatives (e.g., use update for existing hosts), nor any mention of prerequisites such as ensuring groups or templates exist.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/leroylim/zabbix-mcp-server-nodejs'

If you have feedback or need assistance with the MCP directory API, please join our Discord server