Skip to main content
Glama
excel-master-pro

excel-master-pro

generate_bi_report

DestructiveIdempotent

Analyzes spreadsheets to compute statistical profiles and KPIs, then generates an executive BI report in HTML, PDF, Excel, or CSV at a specified output path.

Instructions

Generate an executive BI report (HTML dashboard, PDF analysis report, Excel workbook, or CSV).

Reads the dataset from `file_path`, computes statistical profiles and KPIs, and writes the
rendered artifact to `output_path`. Overwrites any existing file at `output_path`.

Args:
    file_path: Path to the source spreadsheet (.xlsx, .xls, .csv, .tsv, .json, .ods, or .parquet) to analyze.
    output_path: Destination file path where the generated report will be saved (overwrites if exists).
    format: Output report format; must be one of "html", "pdf", "xlsx", or "csv" (defaults to "html").
    lang: Report localization language; "en" for English or "tr" for Turkish (defaults to "en").

Returns:
    JSON string containing status, resolved `output_path`, `format`, `lang`, and `size_bytes`.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "file_path": "<file_path>",
      "output_path": "<output_path>"
    },
    "name": "generate_bi_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoen
formatNohtml
file_pathYes
output_pathYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.1.1
    • addedInput schema / properties / format / enum
      Added value: +[
      +  "html",
      +  "pdf",
      +  "xlsx",
      +  "csv"
      +]
    • addedInput schema / properties / lang / enum
      Added value: +[
      +  "en",
      +  "tr"
      +]
  2. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, and the description corroborates this with the useful detail that any existing file at output_path is overwritten — precisely the 'what gets destroyed' context that matters. It also discloses the computation performed on the source data (statistical profiles and KPIs) and the returned JSON fields, though it does not mention runtime cost, size limits, or failure modes for unsupported/corrupt inputs.

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-loaded summary followed by Args and Returns blocks — an agent can extract the essentials from the first two sentences. The Returns section is somewhat redundant given an output schema exists, and the overwrite behavior is stated twice, but nothing is padded or vague.

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

Completeness5/5

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

For a four-parameter generation tool with a documented output schema, the definition covers source formats, destination semantics, format/localization options, and the returned fields. An agent has everything needed to invoke it correctly without further lookups.

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

Parameters5/5

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

With 0% schema description coverage, the description carries the full burden and does so: it explains what each of the four parameters means, lists the seven accepted source extensions for file_path, states the overwrite behavior for output_path, and gives the allowed enum values plus defaults for format and lang. This is meaning well beyond the bare schema titles.

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 and resource ('Generate an executive BI report') and enumerates the four concrete artifact types (HTML dashboard, PDF analysis report, Excel workbook, CSV). It also states the full pipeline (read source, compute profiles/KPIs, write artifact), which distinguishes it cleanly from siblings like clean_spreadsheet or inspect_spreadsheet that do not render deliverables.

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?

Usage is implied rather than stated: an agent can infer this is the terminal 'produce a deliverable' step after inspecting/cleaning data, but no alternative is named and no when-not condition (e.g., 'use inspect_spreadsheet first to validate the file') is given. The accepted input extensions hint at eligibility, but the choice between this tool and its siblings is left to inference.

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