Skip to main content
Glama
PVsyst CLI MCP

PVsyst CLI MCP

pvsyst_diagnose_results

Run deterministic physics loss-chain and time-series anomaly diagnostics on PVsyst SFI result CSVs, with optional .VC0 root-cause attribution.

Instructions

[Results] Run deterministic physics loss-chain and time-series anomaly diagnostics on an SFI result CSV (PR bounds, inverter clipping/voltage/current limits, shading/curtailment, storage balance, daytime zero-output and phase lag), with optional .VC0 root-cause attribution.

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": {
      "csv_name": "<csv_name>"
    },
    "name": "pvsyst_diagnose_results"
  }
}

Input Schema

NameRequiredDescriptionDefault
folderNoResults
projectNo
variantNo
csv_nameYes
thresholdsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.5.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations supplied, the description must carry the behavioral burden. It usefully discloses that the run is deterministic and read-oriented over existing results, and it discloses the diagnostic scope plus the optional .VC0 attribution step, but it never states whether any files are written, how long the run takes, or what the findings look like.

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?

A single front-loaded sentence with the action verb first and the detail packed into a scannable parenthetical list. Dense but efficient; only the bracketed '[Results]' tag is slightly cryptic out of context.

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?

The description fully covers what is computed, which is the hardest part for a diagnostic tool, but with no annotations, no output schema, and 0% schema coverage it leaves the caller guessing about parameter wiring and return shape. Enough to decide to call it, not enough to call it confidently.

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 five parameters. The description implies csv_name is an SFI result CSV and hints that thresholds relate to PR bounds and device limits, but project, variant, the '[Results]' folder selector, and the structure of the thresholds dictionary are left entirely unexplained.

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 names a specific verb ('Run deterministic physics loss-chain and time-series anomaly diagnostics') on a specific resource ('an SFI result CSV'), then enumerates the exact checks (PR bounds, inverter clipping, shading/curtailment, storage balance, daytime zero-output, phase lag). That enumeration makes it unmistakably distinct from read-oriented siblings such as pvsyst_read_results or pvsyst_read_batch_results without needing to name them.

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 only conditional information is that .VC0 root-cause attribution is optional. There is no statement of when to run diagnostics instead of pvsyst_read_results or pvsyst_compare_engineering_scenarios, no prerequisite that an SFI result CSV must already exist, and no guidance on what to do with the findings.

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