Skip to main content
Glama
TemplarFan

Zabbix MCP Server

by TemplarFan

event_daily_report

Generate Markdown daily operations reports from Zabbix events, with configurable sections for severe, chronic, disaster, high-frequency, and short-recovery issues, and optional production-only filtering.

Instructions

生成运维日报 Markdown,展示条数默认与定时推送日报一致,可按章节覆盖或仅统计生产口径。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateNo日报日期,支持 yesterday 或 YYYY-MM-DD,默认 yesterdayyesterday
top_n_severeNo严重事件中严重子章节展示条数(>0前N条/0跳过章节/-1全部展示,默认-1)
top_n_chronicNo持续型问题章节展示条数(>0前N条/0跳过章节/-1全部展示,默认-1)
top_n_disasterNo严重事件中灾难子章节展示条数(>0前N条/0跳过章节/-1全部展示,默认-1)
production_onlyNo是否仅统计生产口径,排除配置的测试网段(ZABBIX_TEST_NETWORKS)主机(默认False)
top_n_high_frequencyNo高频报警主机章节展示条数(>0前N条/0跳过章节/-1全部展示,默认20)
top_n_short_recoveryNo短时恢复型问题章节展示条数(>0前N条/0跳过章节/-1全部展示,默认-1)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the burden, and it does disclose key behavioral traits: display counts default to the scheduled push report and can be overridden per chapter. It also mentions the production-only filter tied to ZABBIX_TEST_NETWORKScars. While it doesn't explicitly state side-effect freedom, 'generate Markdown' strongly implies a non-mutating report operation.

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?

A single, front-loaded Chinese sentence conveys the core action, the default display behavior, and the two main customization axes. There is no filler or unnecessary repetition of schema details.

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?

Given that all 7 parameters are fully documented in the schema and an output schema exists, the description is sufficient for an agent to invoke the tool correctly. It could add a brief list of report chapters or explicit alternative routing, but the essential calling context is present.

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 description coverage is 100%, so the baseline is 3, but the description adds meaning by tying the top_n_* parameters to 'chapter overrides' and clarifying that default counts follow the scheduled push report. This is context beyond the individual parameter descriptions.

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 a specific verb-resource pair ('生成运维日报 Markdown') and makes it clear this is the daily report, distinguishing it from siblings like event_weekly_report and event_monthly_report. The output artifact and its format are unambiguous.

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?

It provides useful context—default counts match the scheduled push report and sections/production scope can be overridden—but it never names alternatives or states conditions for choosing daily vs weekly/monthly. Usage timing is implied by the tool name rather than explicitly explained.

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