Skip to main content
Glama
mhajder

Zabbix MCP Server

by mhajder

usermacro_delete

Destructive

Delete host macros from Zabbix. Permanently removes macro definitions, potentially causing parsing errors for items or triggers that reference them.

Instructions

Delete host macros from Zabbix.

Permanently removes host-level macro definitions. Items and triggers using this macro will no longer be able to reference it, potentially causing parsing errors.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hostmacroidsYesHost macro IDs to delete.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed1 schema field changedv0.6.0
    • addedInput schema / properties / hostmacroids / minItems
      Added value: +1
  2. First observedv0.5.3

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and idempotentHint=false, but the description adds substantial value by specifying the permanence ('Permanently removes') and the cascade effect on items/triggers ('will no longer be able to reference it, potentially causing parsing errors'). This is precisely the kind of behavioral context that helps an agent anticipate side effects.

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 brief and front-loaded with the primary action, followed immediately by the most relevant consequence. Every sentence contributes either to what the tool does or what the agent should expect. No redundant or filler text.

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

Completeness5/5

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

With only one required parameter, a complete output schema, and annotations already covering the safety profile, the description addresses the essential operational context: the deletion is permanent and may break referencing items/triggers. Nothing critical is missing for a tool of this complexity.

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 fully documents hostmacroids ('Host macro IDs to delete') with array and minItems constraints, giving 100% coverage. The description adds no additional parameter-level semantics, so the baseline score of 3 is appropriate – the schema carries the weight.

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 opens with 'Delete host macros from Zabbix,' a specific verb and resource that precisely distinguishes this from sibling tools like host_delete or item_delete. The second sentence reinforces the host-level scope, and the destructive outcome is explicit.

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 clearly implies the tool is for removing host macros, but it never explicitly states when to use this over alternatives (e.g., 'use usermacro_get to inspect macros before deleting' or 'if you need to modify a macro, use usermacro_create'). The presence of sibling get/create tools makes the context decent, but no direct guidance is provided.

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

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/mhajder/zabbix-mcp'

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