Skip to main content
Glama
initMAX

Zabbix MCP Server

sla_getsli

Read-only

Retrieves SLA service level indicator (SLI) data to verify period-by-period whether services met their availability targets.

Instructions

Get SLA Service Level Indicator (SLI) data — the actual calculated availability percentages for services covered by an SLA. Returns period-by-period SLI values showing whether the SLO target was met. Required: 'slaid'. Optionally filter by 'serviceids' and time range with 'period_from'/'period_to'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slaidYesID of the SLA to retrieve SLI data for.
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.
period_toNoReturn SLI data up to 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).
serviceidsNoReturn SLI data only for these service IDs.
period_fromNoReturn SLI data starting from 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).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.41.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds return-content context (period-by-period SLI values, whether the SLO target was met), which is modest value; it says nothing about auth/scopes, rate limits, or empty-result behavior, and the rich raw_json warning lives in the schema rather than the description.

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?

Three tight sentences, front-loaded with purpose followed by return shape and then parameters. The 'Required: slaid' clause slightly duplicates the schema's required array, but nothing is padded or buried.

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, 6-parameter tool with a full output schema and 100% schema coverage, the description supplies purpose, return semantics, and the key parameter contract. Missing only sibling routing (sla_get) and any permission/scope notes, which is a minor gap given the structured fields already cover the rest.

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 the schema fully documents slaid, serviceids, period_from/period_to, server, and raw_json. The description merely restates the required/optional split without adding format or semantics beyond the schema, so the baseline of 3 applies.

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?

Specific verb ('Get') and resource ('SLA Service Level Indicator (SLI) data'), with a clarifying gloss that it returns calculated availability percentages and period-by-period values. It implicitly separates itself from the sibling sla_get (which presumably returns definitions), but never names that sibling, so the differentiation is left to inference.

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

Usage Guidelines2/5

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

The description states which parameter is required and which are optional filters, but gives no guidance on when to use this tool versus the sibling sla_get, nor any exclusions or preconditions (e.g., that an SLA must already exist). Usage is only implied by the parameter list.

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