Skip to main content
Glama
PVsyst CLI MCP

PVsyst CLI MCP

pvsyst_create_grid_storage_system

Create an AC-coupled battery storage variant in PVsyst with a chosen strategy, SOC/power and efficiency settings, schedules or grid limits, and optional hourly load data.

Instructions

[Loads & Storage] Create a new centralized AC-coupled storage variant (SelfConsumption, WeakGrid, PeakShaving, or PowerShift) with workspace or builtin battery pack hardware, SOC/power/ efficiency parameters, optional 48-slot schedules or grid limit, and optional hourly load.

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": {
      "project": "<project>",
      "source_variant": "<source_variant>",
      "new_variant": "<new_variant>",
      "battery": "<battery>",
      "storage": "<storage>"
    },
    "name": "pvsyst_create_grid_storage_system"
  }
}

Input Schema

NameRequiredDescriptionDefault
batteryYes
dry_runNo
projectYes
storageYes
new_variantYes
availabilityNo
source_variantYes
allow_grid_exportNo
load_manifest_nameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.7.0
    • changedInput schema / $defs / GridAvailabilityProfile / properties / utc_offset_hours / anyOf
      Previous value: -[
      -  {
      -    "type": "integer"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "maximum": 14,
      +    "minimum": -12,
      +    "type": "integer"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  2. Changed18 schema fields changedv0.6.0
    • addedInput schema / $defs / GridAvailabilityProfile / description
      Added value: +"Explicit 8760/8784-hour CSV or deterministically generated WeakGrid outage schedule."
    • addedInput schema / $defs / GridAvailabilityProfile / properties / csv_name / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / $defs / GridAvailabilityProfile / properties / csv_name / default
      Added value: +null
    • removedInput schema / $defs / GridAvailabilityProfile / properties / csv_name / type
      Removed value: -"string"
    • addedInput schema / $defs / GridAvailabilityProfile / properties / max_duration_hours
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maximum": 168,
      +      "minimum": 1,
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Max Duration Hours"
      +}
    • addedInput schema / $defs / GridAvailabilityProfile / properties / min_duration_hours
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maximum": 168,
      +      "minimum": 1,
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Min Duration Hours"
      +}
    • addedInput schema / $defs / GridAvailabilityProfile / properties / mode
      Added value: +{
      +  "anyOf": [
      +    {
      +      "enum": [
      +        "csv",
      +        "generated"
      +      ],
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Mode"
      +}
    • addedInput schema / $defs / GridAvailabilityProfile / properties / outage_count
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maximum": 365,
      +      "minimum": 1,
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Outage Count"
      +}
    • addedInput schema / $defs / GridAvailabilityProfile / properties / peak_hours
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "type": "integer"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Peak Hours"
      +}
    • addedInput schema / $defs / GridAvailabilityProfile / properties / seed
      Added value: +{
      +  "anyOf": [
      +    {
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Seed"
      +}
    • addedInput schema / $defs / GridAvailabilityProfile / properties / time_basis / anyOf
      Added value: +[
      +  {
      +    "const": "local_standard_interval_start",
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedInput schema / $defs / GridAvailabilityProfile / properties / time_basis / const
      Removed value: -"local_standard_interval_start"
    • addedInput schema / $defs / GridAvailabilityProfile / properties / time_basis / default
      Added value: +null
    • removedInput schema / $defs / GridAvailabilityProfile / properties / time_basis / type
      Removed value: -"string"
    • addedInput schema / $defs / GridAvailabilityProfile / properties / utc_offset_hours / anyOf
      Added value: +[
      +  {
      +    "type": "integer"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / $defs / GridAvailabilityProfile / properties / utc_offset_hours / default
      Added value: +null
    • removedInput schema / $defs / GridAvailabilityProfile / properties / utc_offset_hours / type
      Removed value: -"integer"
    • changedInput schema / $defs / GridAvailabilityProfile / required
      Previous value: -[
      -  "csv_name",
      -  "year",
      -  "utc_offset_hours",
      -  "time_basis"
      -]New value: +[
      +  "year"
      +]
  3. Changed17 schema fields changedv0.5.0
    • addedInput schema / $defs / BatteryPackDesign / properties / library
      Added value: +{
      +  "default": "workspace",
      +  "enum": [
      +    "workspace",
      +    "builtin"
      +  ],
      +  "title": "Library",
      +  "type": "string"
      +}
    • addedInput schema / $defs / GridStorageDesign / properties / charging_power_kw
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "number"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Charging Power Kw"
      +}
    • addedInput schema / $defs / GridStorageDesign / properties / charging_pv_fraction
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "number"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Charging Pv Fraction"
      +}
    • addedInput schema / $defs / GridStorageDesign / properties / charging_schedule_48
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "anyOf": [
      +          {
      +            "type": "integer"
      +          },
      +          {
      +            "type": "number"
      +          }
      +        ]
      +      },
      +      "maxItems": 48,
      +      "minItems": 48,
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Charging Schedule 48"
      +}
    • addedInput schema / $defs / GridStorageDesign / properties / charging_strategy
      Added value: +{
      +  "anyOf": [
      +    {
      +      "enum": [
      +        "pv_available",
      +        "pv_above_thresh",
      +        "pv_to_grid_min",
      +        "pv_prod_fraction",
      +        "spec_charg_power"
      +      ],
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Charging Strategy"
      +}
    • addedInput schema / $defs / GridStorageDesign / properties / coupling
      Added value: +{
      +  "const": "ac_coupled",
      +  "default": "ac_coupled",
      +  "title": "Coupling",
      +  "type": "string"
      +}
    • addedInput schema / $defs / GridStorageDesign / properties / discharge_end_hour
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Discharge End Hour"
      +}
    • addedInput schema / $defs / GridStorageDesign / properties / discharge_start_hour
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Discharge Start Hour"
      +}
    • addedInput schema / $defs / GridStorageDesign / properties / discharging_power_kw
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "number"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Discharging Power Kw"
      +}
    • addedInput schema / $defs / GridStorageDesign / properties / discharging_schedule_48
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "anyOf": [
      +          {
      +            "type": "integer"
      +          },
      +          {
      +            "type": "number"
      +          }
      +        ]
      +      },
      +      "maxItems": 48,
      +      "minItems": 48,
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Discharging Schedule 48"
      +}
    • addedInput schema / $defs / GridStorageDesign / properties / discharging_strategy
      Added value: +{
      +  "anyOf": [
      +    {
      +      "enum": [
      +        "immediate",
      +        "after_sunset",
      +        "night",
      +        "hour_window",
      +        "specified_hours"
      +      ],
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Discharging Strategy"
      +}
    • addedInput schema / $defs / GridStorageDesign / properties / grid_limit_kw
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "number"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Grid Limit Kw"
      +}
    • changedInput schema / $defs / GridStorageDesign / properties / strategy / enum
      Previous value: -[
      -  "self_consumption",
      -  "weak_grid"
      -]New value: +[
      +  "self_consumption",
      +  "weak_grid",
      +  "peak_shaving",
      +  "power_shift"
      +]
    • addedInput schema / properties / load_manifest_name / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / load_manifest_name / default
      Added value: +null
    • removedInput schema / properties / load_manifest_name / type
      Removed value: -"string"
    • changedInput schema / required
      Previous value: -[
      -  "project",
      -  "source_variant",
      -  "new_variant",
      -  "battery",
      -  "storage",
      -  "load_manifest_name"
      -]New value: +[
      +  "project",
      +  "source_variant",
      +  "new_variant",
      +  "battery",
      +  "storage"
      +]
  4. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, and it omits several important traits: dry_run defaults to true (so the call may not persist anything unless overridden), the destination is a new variant whose name must not collide, and nothing is said about what happens to the source variant. The mutation framing ("Create a new variant") is the only behavior conveyed.

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 with the resource and scope front-loaded ahead of the optional features, and no filler. The stacked parentheticals are slightly heavy but each clause names a real parameter group rather than restating the name.

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?

This is a high-complexity creation tool with 9 parameters, nested battery/storage/availability objects, no annotations, and no output schema, yet the description never covers the dry-run default, the availability profile required for WeakGrid, or variant-name semantics. An agent would have to open the schema to call it safely, and even then the dry_run behavior is undisclosed.

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

Parameters3/5

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

Schema description coverage is 0%, so the description must compensate; it partially does by naming strategies, the workspace/builtin battery library, SOC/power/efficiency groups, 48-slot schedules, grid limit, and the optional hourly load. It says nothing about dry_run, project/source_variant/new_variant, or the availability outage-profile object that WeakGrid requires, so several parameters remain undocumented anywhere.

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 gives a specific verb and resource ("Create a new centralized AC-coupled storage variant") and enumerates the four strategies and the two battery hardware libraries, so the agent knows exactly what is produced. It stops short of distinguishing this from the sibling pvsyst_create_grid_storage_variant, leaving the boundary between the two unresolved.

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 statement of when to use this instead of pvsyst_create_grid_storage_variant, pvsyst_optimize_bess_sizing, or pvsyst_plan_tou_storage_schedule, and no prerequisites such as the need for an existing project/source_variant. The only usage signal is the bracketed "[Loads & Storage]" category tag, which is implied context rather than guidance.

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