Skip to main content
Glama
PVsyst CLI MCP

PVsyst CLI MCP

pvsyst_build_sfi

Creates a PVsyst .SFI export definition in workspace/Models from preset groups or comma-separated vi* variables, with hourly, subhourly, daily, or monthly time steps.

Instructions

[Simulation] Create a new export definition (.SFI) in workspace/Models from a preset group (energy, inverter_losses, all_common, shading, soiling, grid_limit, grid_storage, bifacial) or comma-separated vi* variables, with time_step='hour' (default), 'subhour', 'day', or 'month'.

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": {
      "filename": "<filename>"
    },
    "name": "pvsyst_build_sfi"
  }
}

Input Schema

NameRequiredDescriptionDefault
filenameYes
time_stepNohour
variablesNoall_common

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.5.0
    • addedInput schema / properties / time_step
      Added value: +{
      +  "default": "hour",
      +  "title": "Time Step",
      +  "type": "string"
      +}
  2. First observedv0.1.0

TDQS

B3.3/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 behavioral burden. It discloses the output location and the time-step granularity, but says nothing about overwrite behavior when the filename already exists, required project/license state, or what is returned on success or failure — material gaps for a file-creating simulation step.

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 dense sentence that front-loads the action and resource, then packs the option enumerations in parentheses. Efficient and mostly readable, though the triple-nested parentheticals make it slightly heavy to parse.

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?

For a three-parameter, no-annotation, no-output-schema tool, the parameter story is complete, but the description omits return values, side effects on existing files, and prerequisites. Those omissions leave the agent without enough information to predict the outcome of the call.

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

Parameters4/5

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

With 0% schema coverage the description must compensate, and it largely does: it enumerates the valid preset groups for 'variables', explains the alternative comma-separated 'vi*' syntax, and lists the four accepted values plus default for 'time_step'. Only 'filename' semantics (extension handling, path rules, overwrite) remain unexplained.

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?

Names a specific verb and artifact: 'Create a new export definition (.SFI) in workspace/Models', which tells an agent exactly what is produced and where. It does not distinguish itself from any sibling tool, so it stops short of the top mark.

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 explains how to invoke the tool (a preset group versus comma-separated 'vi*' variables) and lists valid preset names, which implicitly guides selection. However, it never states when to prefer an SFI build over other export/report tools such as pvsyst_export_engineering_delivery or pvsyst_generate_report, and gives no preconditions (e.g., must a project be loaded first).

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