Skip to main content
Glama
mhajder

Zabbix MCP Server

by mhajder

history_get

Read-onlyIdempotent

Fetch historical data points and timestamps from Zabbix items to analyze system performance over time.

Instructions

Get history data from Zabbix.

Retrieves the raw metric values collected by items. History contains all individual collected data points with timestamps, allowing detailed analysis of system behavior over time.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of results to return. Default is 100.
offsetNoNumber of results to skip (for pagination). Requires sortfield to be set.
historyNoHistory type: 0=float, 1=char, 2=log, 3=unsigned, 4=text.
itemidsYesItem IDs to get history for.
sortfieldNoField to sort by (default 'clock' = timestamp).clock
sortorderNoSort direction - 'ASC' (oldest first) or 'DESC' (newest first). Default is DESC.DESC
time_fromNoUnix timestamp to get history from this time onwards.
time_tillNoUnix timestamp to get history up to this time.
count_outputNoIf true, returns only the count of matched objects as an integer.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, covering the safety profile. The description adds that history contains raw data points with timestamps, which is useful context beyond annotations but does not disclose potential behavioral nuances like pagination or count_output behavior.

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 two sentences long, front-loaded with the primary action, and contains no redundant information. Every word adds value.

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

Completeness3/5

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

Given the tool has 9 parameters and an output schema, the description is adequate for understanding basics but does not explain parameter interactions (e.g., offset requiring sortfield) or provide comprehensive context. It covers the core purpose but leaves gaps for a new user.

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% coverage with descriptions for all 9 parameters. The tool description does not add any additional meaning beyond what the schema provides, so the baseline score of 3 is appropriate.

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 description states 'Get history data from Zabbix' and explains it retrieves raw metric values with timestamps, which clearly indicates the tool's purpose. It implicitly differentiates from trend_get (aggregated data) and event_get (events), but does not explicitly name alternatives.

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 provides no guidance on when to use history_get versus sibling tools like trend_get or event_get. It lacks explicit context about when this tool is appropriate, when not to use it, or what alternatives exist.

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

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