Skip to main content
Glama
PVsyst CLI MCP

PVsyst CLI MCP

pvsyst_run_batch_sweep

Runs a single PVsystCLI batch simulation from a Cartesian parameter grid or explicit scenarios, then returns ranked results with baseline deltas for comparing PV configurations.

Instructions

[Simulation] Generate UserBatch <sweep_name>_BatchParams.CSV and <sweep_name>_BatchVariables.RVT from a Cartesian parameter grid or explicit scenario rows (<=100 scenarios), run one PVsystCLI batch simulation, and return ranked scenario results with baseline deltas.

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": {
      "spec": "<spec>"
    },
    "name": "pvsyst_run_batch_sweep"
  }
}

Input Schema

NameRequiredDescriptionDefault
specYes
dry_runNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.5.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the disclosure burden and does state that two UserBatch files are created, one PVsystCLI batch simulation is run, and ranked results with baseline deltas are returned. But it omits the top-level dry_run flag and its default of true, so an agent may not realize a call can stop short of running the simulation.

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?

The description is a single front-loaded sentence with the [Simulation] tag and no wasted preamble. Every clause contributes operational detail about inputs, generated files, execution, and returned rankings.

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 definition covers the main workflow and a brief return summary, which matters because there is no output schema. Given no annotations and an undocumented nested spec, it still leaves out dry_run semantics and guidance on when to use this versus other simulation/read tools, so it is only adequately complete.

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?

With 0% schema description coverage, the description adds meaning for grid versus explicit scenarios, sweep_name-derived filenames, and the 100-scenario cap. It does not explain dry_run at all or clarify most nested spec fields such as sort_by, export_hourly, and result_variables, leaving significant ambiguity for a parameter-heavy schema.

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 set (generate UserBatch files, run one PVsystCLI batch simulation, return ranked results) and a specific resource (batch sweep with grid or explicit scenarios). This clearly distinguishes a batch sweep from a single-simulation sibling even though no sibling is named.

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 gives useful usage context: Cartesian parameter grid versus explicit scenario rows and a <=100 scenario limit. However, it does not explicitly say when to prefer this over pvsyst_run_simulation or when to use pvsyst_read_batch_results for retrieval, so the boundary is only implied.

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