Skip to main content
Glama
PVsyst CLI MCP

PVsyst CLI MCP

pvsyst_generate_report

Generates interactive Plotly HTML engineering reports under workspace/Results for one or multiple scenarios, combining yield/PR, loss waterfall, 24h profiles, cashflow, sensitivity, and diagnostics.

Instructions

[Engineering] Generate a single-scenario or multi-scenario interactive Plotly HTML engineering report under workspace/Results (monthly yield/PR combo, loss waterfall, typical 24h PV/load/BESS/TOU profile, monthly peak demand shaving, 25-year cumulative cashflow, sensitivity tornado chart, optional BESS sizing heatmap/Pareto frontier, diagnostics table, and print-ready CSS).

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": {
      "title": "<title>",
      "output_name": "<output_name>",
      "scenarios": "<scenarios>"
    },
    "name": "pvsyst_generate_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleYes
tariffNo
dry_runNo
languageNozh
plotlyjsNocdn
financialNo
overwriteNo
scenariosYes
thresholdsNo
output_nameYes
sensitivityNo
bess_optimizationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.5.0

TDQS

C2.6/5.0
Behavior2/5

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

No annotations exist, so the description carries the full burden. It usefully discloses the output artifact type and destination path (workspace/Results, HTML), but says nothing about overwrite/refusal semantics, dry_run behavior, runtime or cost for 20 scenarios, or permission/workspace requirements for the mutation of writing files.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The key clause is front-loaded and there is no filler prose, but the parenthetical balloon of ten report sections dominates the sentence and is not clearly decision-relevant for an agent choosing or parameterizing the call. A shorter content summary plus a note on required inputs would read better.

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

Completeness2/5

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

For a 12-parameter tool with nested economic configs, no annotations, and no output schema, the definition should at minimum explain required inputs and file-writing behavior. Instead it describes only the rendered charts, leaving an agent able to picture the report but not to call the tool correctly.

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% across 12 parameters, including nested tariff, financial, and sensitivity configs, so the description must compensate. It only vaguely hints at two of them (multi-scenario reports implies the scenarios array, optional BESS heatmap implies bess_optimization) and never explains title, output_name, overwrite, dry_run, plotlyjs cdn-vs-embed, language, thresholds, or any config field.

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 names a specific verb and artifact: 'Generate a single-scenario or multi-scenario interactive Plotly HTML engineering report under workspace/Results', plus an enumerated contents list. It is unambiguous what the tool produces, but it never distinguishes itself from close siblings such as pvsyst_export_engineering_delivery, pvsyst_compare_engineering_scenarios, or pvsyst_evaluate_economics.

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-to-use guidance, no mention of prerequisites (the scenarios require csv_name references to already-prepared results), and no routing to alternatives. Single- vs multi-scenario is mentioned only as a capability, not as a decision criterion.

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