Skip to main content
Glama
PVsyst CLI MCP

PVsyst CLI MCP

pvsyst_convert_orientation

Converts a PVsyst variant's orientation type in place—fixed, seasonal, sheds, tracker, or dome—while removing incompatible 3D shading and stale simulation caches; defaults to dry run.

Instructions

[Projects & Variants] Create a new variant converting an existing variant's orientation type in-place (fixed <-> seasonal <-> sheds <-> tracker_ns <-> tracker_2axis <-> dome), automatically stripping incompatible 3D shading and stale simulation caches. Defaults to dry_run=true.

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>",
      "target_type": "<target_type>"
    },
    "name": "pvsyst_convert_orientation"
  }
}

Input Schema

NameRequiredDescriptionDefault
paramsNo
dry_runNo
projectYes
new_variantYes
target_typeYes
add_utf8_bomNo
variant_nameNo
source_variantYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.6.0

TDQS

B3.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does real work: it discloses irreversible side effects (incompatible 3D shading is stripped, stale simulation caches invalidated) and the safe-by-default dry_run=true. What it leaves ambiguous is whether the source variant is mutated or preserved — 'create a new variant ... in-place' reads contradictory — and it says nothing about required license or permission state.

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?

Three compact clauses — scope tag, purpose with the type-conversion chain, then side effects and the dry_run default. Purpose is front-loaded and nothing is padding, though the parenthetical enum chain and the side-effect clause run long as single sentences.

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 tool is a mutation with 8 top-level parameters, a nested geometry object with zero documented fields, no annotations and no output schema. The description adequately covers intent and destructive consequences but leaves an agent unable to populate the params object correctly or predict what a dry_run response looks like.

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 largely does not. It conveys only the target_type enum values and the dry_run default; the fifteen geometry parameters in the nested OrientationConvertParams object (pitch_m, tilt_deg, shed_count, axis_azimuth_deg, winter_months, backtracking, etc.) are undocumented, and critically it never says which parameters are required or meaningful for which target type.

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 names a specific verb and resource — creating a new variant by converting an existing variant's orientation type — and enumerates the six legal target types (fixed, seasonal, sheds, tracker_ns, tracker_2axis, dome) with the conversion arrows. It does not explicitly distinguish itself from siblings like pvsyst_create_tracking_variant or pvsyst_create_shed_geometry_variant, which is the only thing keeping it from a 5.

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?

Usage is only implied: the reader can infer this is the tool for re-typing an existing variant rather than building fresh geometry, and the dry_run default signals a preview-first workflow. There is no explicit statement of when to prefer this over pvsyst_create_tracking_variant or pvsyst_create_shed_geometry_variant, nor any stated precondition (e.g. project must be open, variant must exist).

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