Skip to main content
Glama
leroylim

Zabbix MCP Server

by leroylim

zabbix_execute_script

Execute scripts on Zabbix hosts to automate remediation, run diagnostics, or trigger actions based on events. Provide script ID and optional host/event context.

Instructions

Execute a script on a host in Zabbix

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hostidNoID of the host to execute the script on (required for host-context scripts)
eventidNoID of the event to execute the script on (for event-context scripts)
scriptidYesID of the script to execute
manualinputNoManual input for scripts that require it
Behavior2/5

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

No annotations are provided, so the description must disclose behavioral traits. It merely states the action 'Execute a script' without mentioning potential side effects on the host, required permissions, synchronous/asynchronous behavior, or return values. This is a significant gap for a script execution 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?

The description is a single, concise sentence with no filler words. It is front-loaded and efficient, earning a high score for conciseness, though its brevity contributes to under-specification in other dimensions.

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

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 4 parameters, no annotations, and no output schema, the description is too minimal. It does not explain the difference between host-context and event-context scripts, what happens after execution, or any side effects, leaving the agent without critical context for correct invocation.

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 input schema has 100% description coverage for all four parameters, so the schema already provides parameter semantics. The description itself adds no additional param context, thus the baseline score of 3 applies.

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 uses the specific verb 'Execute' and clearly identifies the resource as 'a script on a host in Zabbix'. This distinguishes it from sibling tools like zabbix_create_script, zabbix_get_scripts, and zabbix_update_script, making the purpose unambiguous.

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 description implies the tool is for running scripts, but it does not explicitly state when to use it versus alternatives, prerequisites, or exclusions. There is no mention of needing a pre-existing script or permissions, so guidance is only implicit.

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