Skip to main content
Glama
Zabbix MCP Server

Zabbix MCP Server

configuration_export

Read-only

Export Zabbix configuration as YAML, XML, or JSON to back up or transfer hosts, templates, and other objects between Zabbix instances.

Instructions

Export Zabbix configuration as YAML, XML, or JSON. Use this to back up or transfer hosts, templates, and other objects between Zabbix instances. Params: {"format": "yaml"|"xml"|"json", "options": {"hosts": ["id"], "templates": ["id"], "host_groups": ["id"], ...}}. Option keys: host_groups, hosts, images, maps, mediaTypes, template_groups, templates, and on Zabbix 8.0+ also dashboards and global_regexes (before 6.2 one key 'groups' for host_groups and template_groups).

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": {
      "params": "<params>"
    },
    "name": "configuration_export"
  }
}

Input Schema

NameRequiredDescriptionDefault
paramsYesExport parameters. Required keys: 'format' ('yaml', 'xml', or 'json') and 'options' (object specifying which entities to export by type and ID, e.g. {"hosts": ["10084"], "templates": ["10001"]}).
serverNoTarget Zabbix server. Available: default. Defaults to 'default' if omitted.
raw_jsonNoStrips the security disclaimer preamble from the response so it is pure JSON. Default: false. Requires the bearer token to have 'allow_raw_json' explicitly enabled by an operator in the admin portal - tokens without that policy receive a PolicyError instead. WARNING: setting true bypasses the prompt-injection mitigation marker that wraps untrusted Zabbix data (host names, item descriptions, problem text). LLM clients (Claude, GPT, Cursor, ...) should leave this false; only programmatic non-LLM consumers (Python scripts, n8n workflows that json.loads the result) should set true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.42.2
    • addedInput schema / additionalProperties
      Added value: +false
    • changedOutput schema / (root)
      Previous value: -{
      -  "properties": {
      -    "result": {
      -      "title": "Result",
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "result"
      -  ],
      -  "title": "configuration_exportOutput",
      -  "type": "object"
      -}New value: +null
  2. First observedv1.41.0

TDQS

A4/5.0
Behavior4/5

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

The annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered; the description adds real informational value by disclosing version-dependent behavior (dashboards and global_regexes only on Zabbix 8.0+, a single 'groups' key before 6.2) that an agent could not infer from annotations or schema. It does not discuss server-side permissions or the size/streaming behavior of large exports, so it stops short of fully rich behavioral context.

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?

Purpose and format capabilities are front-loaded, followed by use context, then the parameter sketch and version caveats — a sensible order. The inline 'Params:' pseudo-JSON partially duplicates the input schema, but the option-key enumeration and version notes carry information the schema lacks.

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 read-only tool with a small, fully documented schema and no output schema, the description covers what to pass, which entity types are exportable, and version-specific key changes. The remaining gap is practical guidance on obtaining entity IDs and on handling very large exports, neither of which is addressed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description goes beyond the schema by enumerating the full set of option keys (host_groups, hosts, images, maps, mediaTypes, template_groups, templates, dashboards, global_regexes) and their version gating. This directly resolves ambiguity in the free-form 'options' object that the schema only illustrates with two examples.

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?

The first sentence gives a specific verb and resource ('Export Zabbix configuration') and enumerates the output formats (YAML, XML, JSON), which is far more than a name restatement. It does not explicitly name the inverse sibling (configuration_importcompare) as the thing it is not, so sibling differentiation is implied by the backup/transfer framing rather than stated.

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?

'Use this to back up or transfer hosts, templates, and other objects between Zabbix instances' gives a clear use context that an agent can match against a user request. There are no explicit exclusions or prerequisites (e.g. whether target entities must exist first, or that IDs should be discovered via the corresponding *_get tools).

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