Skip to main content
Glama

generate_operations_report

Generates offline HTML reports with interactive charts and Excel workbooks with native charts to analyze operational metrics, returning the absolute path of each created file.

Instructions

生成美观的运营分析报告。format: html/excel/both。输出单文件离线 HTML(交互图表) 和/或 Excel 工作簿(含原生图表)。返回生成文件的绝对路径。

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": "generate_operations_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
top_nNo
formatNoboth
output_dirNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden, and it does disclose the notable side effect: it writes file artifacts (单文件离线 HTML with interactive charts and/or an Excel workbook with native charts) and returns the absolute path. That is meaningful behavioral context a schema cannot express. It omits what data source the report draws from, whether it is expensive/slow to generate, and what happens if output_dir is invalid.

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?

Four short clauses, front-loaded with the purpose, then the format values, then output artifacts, then the return value. No filler. Slightly telegraphic at points, but every sentence contributes information an agent can act on.

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?

No annotations and no output schema mean the description is the only structural source for behavior, and it does cover the generated artifacts and the return value well. It remains incomplete about the report's data scope and about two of the three parameters. Adequate, but an agent must still guess at top_n and output_dir semantics.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate, and it only partly does. It usefully supplies the valid values for format (html/excel/both), which is valuable because the schema has no enum constraint on that parameter. But top_n (default 10) and output_dir (default empty string) are never explained, leaving two of three parameters ambiguous.

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 a specific verb and resource: 生成 (generate) a 运营分析报告 (operations analysis report). It is instantly distinguishable from pure-read siblings like get_account_summary or list_demands. It does not, however, clarify how it differs from analyze_operations or export_data, which an agent could plausibly pick instead.

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?

There is no when-to-use or when-not guidance, and no alternatives are named. The only conditional content is the format enumeration, which is parameter syntax rather than usage guidance. An agent gets no help deciding between this tool and analyze_operations or export_data.

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