Skip to main content
Glama
Zabbix MCP Server

Zabbix MCP Server

problem_get

Read-only

Retrieve raw unresolved Zabbix problems with numeric severities and Unix timestamps for scripts, bulk audits, or custom filters such as acknowledged, suppressed, and time ranges.

Instructions

Low-level audit retrieval of unresolved Zabbix problems. Returns raw rows with numeric severities and Unix timestamps, no host name, no severity label. For an operator chat question ('what is wrong right now', 'active problems', 'current alerts', 'real problems') call problem_active_get instead -- it returns the same problems but with disabled-trigger/host noise dropped, host names attached, and human-readable time/severity, so the LLM does not have to post-process or chain three tools. Reach for problem_get only when you specifically need raw rows for a script, a bulk audit of every problem (including stale ones), or filters problem_active_get does not expose ('acknowledged', 'suppressed', 'recent', 'time_from', 'time_till'). For historical events (including resolved), use event.get instead. The newest problems come first unless a sort is given.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "problem_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of results to return.
filterNoReturn only results whose properties exactly match the given values (a single value or a list of values per key). Example: {"status": 0} or {"status": [0, 1]}. Keys: acknowledged, cause_eventid (6.4+), cep_ruleid (8.0+), clock, correlationid, eventid, flags (8.0+), name, ns, object, objectid, r_clock, r_eventid, r_ns, severity, source, userid. Text properties cannot be filtered; use 'search' for them.
objectNoProblem object type: 0=trigger, 1=discovered host, 2=discovered service, 3=autoregistration, 4=item, 5=LLD rule.
outputNoProperties of the problem object to return. Pass 'extend' for all, 'count' for the number of matches only, or a list of property names. Default when omitted: eventid, name, severity, clock, r_clock, objectid. Properties: acknowledged, cause_eventid (6.4+), cep_ruleid (8.0+), clock, correlationid, eventid, flags (8.0+), name, ns, object, objectid, opdata, r_clock, r_eventid, r_ns, severity, source, suppressed, urls, userid.
recentNotrue = also return problems that were resolved a moment ago (for as long as 'Display OK triggers for' in the Zabbix settings says); false or omitted = unresolved problems only. It is not a filter for new problems: use time_from for that.
searchNoReturn results whose string properties contain the given pattern (case-insensitive; '*' is a wildcard when searchWildcardsEnabled is true). Example: {"name": "web"}. Keys: name.
serverNoTarget Zabbix server. Available: default. Defaults to 'default' if omitted.
sourceNoProblem source: 0=trigger (default), 1=discovery, 2=autoregistration, 3=internal.
hostidsNoReturn only problems for the given hosts.
evaltypeNoTag filter evaluation mode: 0=AND/OR (default, all tag conditions must match), 2=OR (any tag condition may match).
eventidsNoReturn only problems with the given event IDs.
groupidsNoReturn only problems for hosts in the given host groups.
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.
monitoredNo[MCP-side filter, applied after the Zabbix call; not a problem.get parameter] If true, drop problems whose trigger is disabled (status != 0) or whose host is disabled (status != 0). Same semantic as host_get's 'monitored' / item_get's 'monitored'. Useful to skip stale problems lingering on de-monitored objects. Default: false (returns every problem Zabbix has on file).
objectidsNoReturn only problems for the given trigger/item/LLD rule IDs.
sortfieldNoSort by one or more of: eventid (a list for several; pair with 'sortorder'). No other property is sortable. When omitted, the result is sorted by eventid with the newest first.
sortorderNoSort order: 'ASC' (ascending) or 'DESC' (descending). 'DESC' while 'sortfield' is omitted (newest first); 'ASC' alone returns the oldest first.
time_fromNoReturn only problems created after this time (Unix timestamp, ISO 8601 date-time such as 2026-04-01T08:00:00Z, or a relative time such as now-1h, now/d or now-7d/d; a value without a zone is read in the zone resolved for the call).
time_tillNoReturn only problems created before this time (Unix timestamp, ISO 8601 date-time such as 2026-04-01T08:00:00Z, or a relative time such as now-1h, now/d or now-7d/d; a value without a zone is read in the zone resolved for the call).
suppressedNoFilter by suppression state: true = only suppressed problems (silenced by a maintenance window or by hand), false = only problems that are not suppressed. Omit it for both.
countOutputNoReturn the count of matching results instead of the actual data.
searchByAnyNoIf true, return results matching ANY search field (OR). Default is ALL fields (AND).
acknowledgedNoFilter by acknowledgement state: true=acknowledged only, false=unacknowledged only.
extra_paramsNoOther native problem.get parameters, merged into the request as-is. Parameters: action (7.0+), action_userids (7.0+), eventid_from, eventid_till, severities, symptom (6.4+), tags. Sub-object selects (value 'extend', 'count' or a list of property names): selectAcknowledges, selectSuppressionData, selectTags. Any other key is refused here, because Zabbix would silently ignore it. For a parameter you are sure exists on your release but is not listed, use zabbix_raw_api_call.
severity_minNoMinimum severity to return: 0=not classified, 1=information, 2=warning, 3=average, 4=high, 5=disaster.
searchWildcardsEnabledNoIf true, enable * and ? wildcards in search patterns.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.42.4
    • changedInput schema / properties / extra_params / anyOf
      Previous value: -[
      -  {
      -    "propertyNames": {
      -      "enum": [
      -        "editable",
      -        "excludeSearch",
      -        "preservekeys",
      -        "startSearch",
      -        "action",
      -        "action_userids",
      -        "eventid_from",
      -        "eventid_till",
      -        "severities",
      -        "symptom",
      -        "tags",
      -        "applicationids",
      -        "selectAcknowledges",
      -        "selectSuppressionData",
      -        "selectTags"
      -      ]
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "selectAcknowledges": {
      +        "anyOf": [
      +          {
      +            "enum": [
      +              "extend",
      +              "count"
      +            ],
      +            "type": "string"
      +          },
      +          {
      +            "items": {
      +              "enum": [
      +                "acknowledgeid",
      +                "action",
      +                "cep_ruleid",
      +                "clock",
      +                "details",
      +                "maintenanceid",
      +                "message",
      +                "new_severity",
      +                "old_severity",
      +                "suppress_until",
      +                "taskid",
      +                "userid"
      +              ],
      +              "type": "string"
      +            },
      +            "minItems": 1,
      +            "type": "array"
      +          }
      +        ]
      +      },
      +      "selectSuppressionData": {
      +        "anyOf": [
      +          {
      +            "enum": [
      +              "extend",
      +              "count"
      +            ],
      +            "type": "string"
      +          },
      +          {
      +            "items": {
      +              "enum": [
      +                "cep_ruleid",
      +                "maintenanceid",
      +                "suppress_until",
      +                "userid"
      +              ],
      +              "type": "string"
      +            },
      +            "minItems": 1,
      +            "type": "array"
      +          }
      +        ]
      +      },
      +      "selectTags": {
      +        "anyOf": [
      +          {
      +            "enum": [
      +              "extend",
      +              "count"
      +            ],
      +            "type": "string"
      +          },
      +          {
      +            "items": {
      +              "enum": [
      +                "tag",
      +                "value"
      +              ],
      +              "type": "string"
      +            },
      +            "minItems": 1,
      +            "type": "array"
      +          }
      +        ]
      +      }
      +    },
      +    "propertyNames": {
      +      "enum": [
      +        "editable",
      +        "excludeSearch",
      +        "preservekeys",
      +        "startSearch",
      +        "action",
      +        "action_userids",
      +        "eventid_from",
      +        "eventid_till",
      +        "severities",
      +        "symptom",
      +        "tags",
      +        "applicationids",
      +        "selectAcknowledges",
      +        "selectSuppressionData",
      +        "selectTags"
      +      ]
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  2. Changed14 schema fields changedv1.42.2
    • addedInput schema / additionalProperties
      Added value: +false
    • changedInput schema / properties / evaltype / anyOf
      Previous value: -[
      -  {
      -    "type": "integer"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "enum": [
      +      0,
      +      2
      +    ],
      +    "type": "integer"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / extra_params / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": true,
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "propertyNames": {
      +      "enum": [
      +        "editable",
      +        "excludeSearch",
      +        "preservekeys",
      +        "startSearch",
      +        "action",
      +        "action_userids",
      +        "eventid_from",
      +        "eventid_till",
      +        "severities",
      +        "symptom",
      +        "tags",
      +        "applicationids",
      +        "selectAcknowledges",
      +        "selectSuppressionData",
      +        "selectTags"
      +      ]
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / filter / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": true,
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "propertyNames": {
      +      "enum": [
      +        "acknowledged",
      +        "cause_eventid",
      +        "cep_ruleid",
      +        "clock",
      +        "correlationid",
      +        "eventid",
      +        "flags",
      +        "name",
      +        "ns",
      +        "object",
      +        "objectid",
      +        "r_clock",
      +        "r_eventid",
      +        "r_ns",
      +        "severity",
      +        "source",
      +        "userid"
      +      ]
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / output / anyOf
      Previous value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "enum": [
      +      "extend",
      +      "count"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "items": {
      +      "enum": [
      +        "acknowledged",
      +        "cause_eventid",
      +        "cep_ruleid",
      +        "clock",
      +        "correlationid",
      +        "eventid",
      +        "flags",
      +        "name",
      +        "ns",
      +        "object",
      +        "objectid",
      +        "opdata",
      +        "r_clock",
      +        "r_eventid",
      +        "r_ns",
      +        "severity",
      +        "source",
      +        "suppressed",
      +        "urls",
      +        "userid"
      +      ],
      +      "type": "string"
      +    },
      +    "minItems": 1,
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / output / description
      Previous value: -"Properties of the problem object to return. Pass 'extend' for all, 'count' for the number of matches only, or a comma-separated list of property names. Default when omitted: eventid, name, severity, clock, r_clock, objectid. Properties: acknowledged, cause_eventid (6.4+), cep_ruleid (8.0+), clock, correlationid, eventid, flags (8.0+), name, ns, object, objectid, opdata, r_clock, r_eventid, r_ns, severity, source, suppressed, urls, userid."New value: +"Properties of the problem object to return. Pass 'extend' for all, 'count' for the number of matches only, or a list of property names. Default when omitted: eventid, name, severity, clock, r_clock, objectid. Properties: acknowledged, cause_eventid (6.4+), cep_ruleid (8.0+), clock, correlationid, eventid, flags (8.0+), name, ns, object, objectid, opdata, r_clock, r_eventid, r_ns, severity, source, suppressed, urls, userid."
    • changedInput schema / properties / recent / description
      Previous value: -"Return only recently created problems (within the last 30 minutes). Useful for detecting new issues quickly."New value: +"true = also return problems that were resolved a moment ago (for as long as 'Display OK triggers for' in the Zabbix settings says); false or omitted = unresolved problems only. It is not a filter for new problems: use time_from for that."
    • changedInput schema / properties / search / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": true,
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "propertyNames": {
      +      "enum": [
      +        "name"
      +      ]
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / sortfield / anyOf
      Previous value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "enum": [
      +      "eventid"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "items": {
      +      "enum": [
      +        "eventid"
      +      ],
      +      "type": "string"
      +    },
      +    "minItems": 1,
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / sortfield / description
      Previous value: -"Sort by one or more of: eventid (comma-separated for several; pair with 'sortorder'). No other property is sortable."New value: +"Sort by one or more of: eventid (a list for several; pair with 'sortorder'). No other property is sortable. When omitted, the result is sorted by eventid with the newest first."
    • changedInput schema / properties / sortorder / anyOf
      Previous value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "enum": [
      +      "ASC",
      +      "DESC"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "items": {
      +      "enum": [
      +        "ASC",
      +        "DESC"
      +      ],
      +      "type": "string"
      +    },
      +    "minItems": 1,
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / sortorder / description
      Previous value: -"Sort order: 'ASC' (ascending) or 'DESC' (descending)."New value: +"Sort order: 'ASC' (ascending) or 'DESC' (descending). 'DESC' while 'sortfield' is omitted (newest first); 'ASC' alone returns the oldest first."
    • changedInput schema / properties / suppressed / description
      Previous value: -"Filter by suppression state. Suppressed problems are silenced during maintenance windows or by manual suppression."New value: +"Filter by suppression state: true = only suppressed problems (silenced by a maintenance window or by hand), false = only problems that are not suppressed. Omit it for both."
    • changedOutput schema / (root)
      Previous value: -{
      -  "properties": {
      -    "result": {
      -      "title": "Result",
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "result"
      -  ],
      -  "title": "problem_getOutput",
      -  "type": "object"
      -}New value: +null
  3. First observedv1.41.0

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=true and openWorldHint=false; the description adds substantial behavior beyond them: raw un-joined rows with numeric severities and Unix timestamps, no host name enrichment, newest-first default ordering unless a sort is supplied, and inclusion of stale problems. This is exactly the context an agent needs to predict the response shape.

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?

Front-loads the core identification and the primary routing decision in the first two sentences, then layers on exclusions. It is on the long side with repeated filter enumeration, but each sentence carries routing or behavioral information rather than filler.

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 26-parameter tool with no output schema, the description covers what the tool returns, how results are ordered, and where it sits relative to alternatives. The remaining gaps (default returned fields, raw_json caveat, pagination/limit interaction) are handled in the schema, so the description is adequate, though it could have flagged the raw_json policy risk more prominently.

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?

Schema description coverage is 100%, so every one of the 26 parameters is already documented in the schema. The description adds some value by naming which parameters are the differentiators versus problem_active_get and by noting the default newest-first ordering, but it does not elaborate on filter composition or the raw_json/monitored semantics beyond what the schema states. Baseline 3 is appropriate.

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?

States a specific verb+resource+scope: 'low-level audit retrieval of unresolved Zabbix problems', and immediately characterizes the return shape (raw rows, numeric severities, Unix timestamps, no host name). It explicitly names the siblings it is not (problem_active_get, event.get), so an agent can differentiate without opening a schema.

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

Usage Guidelines5/5

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

Gives explicit when-to-use routing for three cases: operator chat questions -> problem_active_get, raw rows/script/bulk audit/extra filters -> problem_get, historical including resolved -> event.get. It even enumerates the specific filters problem_active_get does not expose ('acknowledged', 'suppressed', 'recent', 'time_from', 'time_till'), leaving nothing to inference.

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