Skip to main content
Glama
PVsyst CLI MCP

PVsyst CLI MCP

pvsyst_create_native_load_variant

Creates a PV-only self-consumption variant with a native constant, monthly, daily, hourly, household, or probability load profile, so you can model custom consumption without manual editing.

Instructions

[Loads & Storage] Create a new PV-only self-consumption variant with a native constant (kW), monthly (12 x kWh), daily (24 x kW), or prepared hourly manifest load profile.

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>",
      "load": "<load>"
    },
    "name": "pvsyst_create_native_load_variant"
  }
}

Input Schema

NameRequiredDescriptionDefault
loadYes
dry_runNo
projectYes
new_variantYes
add_utf8_bomNo
variant_nameNo
source_variantYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv0.6.0
    • addedInput schema / $defs / HouseholdApplianceSpec
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "One household appliance entry for LoadType=HouseHold.",
      +  "properties": {
      +    "count": {
      +      "default": 1,
      +      "maximum": 10000,
      +      "minimum": 1,
      +      "title": "Count",
      +      "type": "integer"
      +    },
      +    "half_hours": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "type": "integer"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "title": "Half Hours"
      +    },
      +    "hours": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "type": "integer"
      +          },
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "title": "Hours"
      +    },
      +    "name": {
      +      "title": "Name",
      +      "type": "string"
      +    },
      +    "power_w": {
      +      "anyOf": [
      +        {
      +          "type": "integer"
      +        },
      +        {
      +          "type": "number"
      +        }
      +      ],
      +      "title": "Power W"
      +    },
      +    "slot_index": {
      +      "anyOf": [
      +        {
      +          "maximum": 10,
      +          "minimum": 1,
      +          "type": "integer"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "title": "Slot Index"
      +    }
      +  },
      +  "required": [
      +    "name",
      +    "power_w"
      +  ],
      +  "title": "HouseholdApplianceSpec",
      +  "type": "object"
      +}
    • addedInput schema / $defs / HouseholdNativeLoad
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Native household appliance schedule (LoadType=HouseHold, yearly or seasonal).",
      +  "properties": {
      +    "appliances": {
      +      "anyOf": [
      +        {
      +          "items": {
      +            "$ref": "#/$defs/HouseholdApplianceSpec"
      +          },
      +          "maxItems": 10,
      +          "minItems": 1,
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "title": "Appliances"
      +    },
      +    "mode": {
      +      "const": "household",
      +      "title": "Mode",
      +      "type": "string"
      +    },
      +    "modulation": {
      +      "default": "yearly",
      +      "enum": [
      +        "yearly",
      +        "seasonal"
      +      ],
      +      "title": "Modulation",
      +      "type": "string"
      +    },
      +    "seasons": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": {
      +            "items": {
      +              "$ref": "#/$defs/HouseholdApplianceSpec"
      +            },
      +            "maxItems": 10,
      +            "minItems": 1,
      +            "type": "array"
      +          },
      +          "propertyNames": {
      +            "enum": [
      +              "Summer",
      +              "Autumn",
      +              "Winter",
      +              "Spring"
      +            ]
      +          },
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "title": "Seasons"
      +    }
      +  },
      +  "required": [
      +    "mode"
      +  ],
      +  "title": "HouseholdNativeLoad",
      +  "type": "object"
      +}
    • addedInput schema / $defs / ProbabilityNativeLoad
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Hourly probability distribution load (deterministically sampled into native embedded hourly snapshot).",
      +  "properties": {
      +    "mode": {
      +      "const": "probability",
      +      "title": "Mode",
      +      "type": "string"
      +    },
      +    "power_step_kw": {
      +      "anyOf": [
      +        {
      +          "type": "integer"
      +        },
      +        {
      +          "type": "number"
      +        }
      +      ],
      +      "title": "Power Step Kw"
      +    },
      +    "probabilities_pct": {
      +      "items": {
      +        "anyOf": [
      +          {
      +            "type": "integer"
      +          },
      +          {
      +            "type": "number"
      +          }
      +        ]
      +      },
      +      "maxItems": 24,
      +      "minItems": 2,
      +      "title": "Probabilities Pct",
      +      "type": "array"
      +    },
      +    "seed": {
      +      "default": 42,
      +      "minimum": 0,
      +      "title": "Seed",
      +      "type": "integer"
      +    },
      +    "year": {
      +      "default": 1990,
      +      "maximum": 2068,
      +      "minimum": 1969,
      +      "title": "Year",
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "mode",
      +    "power_step_kw",
      +    "probabilities_pct"
      +  ],
      +  "title": "ProbabilityNativeLoad",
      +  "type": "object"
      +}
    • addedInput schema / properties / load / discriminator / mapping / household
      Added value: +"#/$defs/HouseholdNativeLoad"
    • addedInput schema / properties / load / discriminator / mapping / probability
      Added value: +"#/$defs/ProbabilityNativeLoad"
    • changedInput schema / properties / load / oneOf
      Previous value: -[
      -  {
      -    "$ref": "#/$defs/ConstantNativeLoad"
      -  },
      -  {
      -    "$ref": "#/$defs/MonthlyNativeLoad"
      -  },
      -  {
      -    "$ref": "#/$defs/DailyNativeLoad"
      -  },
      -  {
      -    "$ref": "#/$defs/HourlyNativeLoad"
      -  }
      -]New value: +[
      +  {
      +    "$ref": "#/$defs/ConstantNativeLoad"
      +  },
      +  {
      +    "$ref": "#/$defs/MonthlyNativeLoad"
      +  },
      +  {
      +    "$ref": "#/$defs/DailyNativeLoad"
      +  },
      +  {
      +    "$ref": "#/$defs/HourlyNativeLoad"
      +  },
      +  {
      +    "$ref": "#/$defs/HouseholdNativeLoad"
      +  },
      +  {
      +    "$ref": "#/$defs/ProbabilityNativeLoad"
      +  }
      +]
  2. Changed3 schema fields changedv0.5.0
    • addedInput schema / $defs / HourlyNativeLoad
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Prepared 8760/8784 hourly load manifest bound as an embedded MJ base62 snapshot.",
      +  "properties": {
      +    "load_manifest_name": {
      +      "title": "Load Manifest Name",
      +      "type": "string"
      +    },
      +    "mode": {
      +      "const": "hourly",
      +      "title": "Mode",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "mode",
      +    "load_manifest_name"
      +  ],
      +  "title": "HourlyNativeLoad",
      +  "type": "object"
      +}
    • addedInput schema / properties / load / discriminator / mapping / hourly
      Added value: +"#/$defs/HourlyNativeLoad"
    • changedInput schema / properties / load / oneOf
      Previous value: -[
      -  {
      -    "$ref": "#/$defs/ConstantNativeLoad"
      -  },
      -  {
      -    "$ref": "#/$defs/MonthlyNativeLoad"
      -  },
      -  {
      -    "$ref": "#/$defs/DailyNativeLoad"
      -  }
      -]New value: +[
      +  {
      +    "$ref": "#/$defs/ConstantNativeLoad"
      +  },
      +  {
      +    "$ref": "#/$defs/MonthlyNativeLoad"
      +  },
      +  {
      +    "$ref": "#/$defs/DailyNativeLoad"
      +  },
      +  {
      +    "$ref": "#/$defs/HourlyNativeLoad"
      +  }
      +]
  3. First observedv0.1.0

TDQS

C2.6/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 for a mutation tool, yet it says nothing about what gets written, whether an existing variant name is overwritten, or what dry_run (default true) actually does — the agent cannot tell that by default nothing is persisted. Unit hints ('kW', 'kWh', '12 x', '24 x') are the one useful behavioral detail. The missing household/probability modes also leave behavior understated.

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?

A single front-loaded sentence with a category tag and zero filler, which is good structure. But it spends its one sentence on mode enumeration that the schema's discriminated union already encodes, while leaving safety-relevant parameters unexplained — efficient in form, misallocated in content.

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 7-parameter mutating tool with no annotations and no output schema, the definition is under-specified: the dry_run default of true is safety-critical and undisclosed, variant naming is ambiguous, and two supported load modes are absent from the prose. What an agent needs to call this correctly and safely is largely missing.

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%, so the description must compensate, and it only partially does — it clarifies units and cardinality for constant/monthly/daily/hourly load payloads. It adds nothing for project, source_variant, new_variant, variant_name (including how it differs from new_variant), dry_run, or add_utf8_bom. Four of seven parameters are semantically opaque.

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 uses a specific verb ('Create') with a precise resource ('PV-only self-consumption variant') and enumerates four concrete load representations (constant kW, monthly 12 x kWh, daily 24 x kW, hourly manifest). It is clearly distinguishable from cloning or parameter-update siblings. However, it silently omits the household and probability modes that exist in the schema's discriminator, so the stated scope is narrower than the tool's actual capability.

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?

No statement of when to choose this over the nearby pvsyst_prepare_load_profile or pvsyst_create_grid_storage_variant, and no prerequisites such as whether source_variant must already exist. The only implicit guidance is the mode enumeration. An agent must infer selection criteria from siblings' names alone.

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