Skip to main content
Glama
PVsyst CLI MCP

PVsyst CLI MCP

pvsyst_prepare_weather

Prepare PVsyst native SIT/MET files and a provenance manifest from a full hourly CSV, validating required country code and local-standard time basis; use dry_run to preview without writing.

Instructions

[Sites & Weather] Prepare NEW native SIT/MET and a provenance manifest from one full hourly CSV. GHI, DHI, Tamb only; explicit uppercase ISO country code and time_basis local_standard_interval_start are required (fixed winter timezone, no DST). Coordinates, altitude, timezone, site and source come from verified CSV metadata. dry_run=true writes nothing. Execution preserves raw bytes, normalizes only columns/units, creates monthly CSV/MEF, runs create-site and convert-meteo. Conversion warnings are retained as needs_review; prepared is not native MET certification. Pass artifacts.manifest filename as weather_manifest_name to simulate_template for explicit SIT/MET loading and hourly weather comparison. No UTC/DST shifts, missing-data filling, ignored columns or binary parsing. Existing outputs are never overwritten; failure artifacts/manifest are retained.

Input Schema

NameRequiredDescriptionDefault
yearNo
dry_runNo
csv_nameNo
met_nameNo
sit_nameNo
time_basisNo
country_codeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior5/5

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

With no annotations provided, the description carries the full behavioral burden and does so well: dry_run writes nothing, raw bytes are preserved, only columns/units are normalized, monthly CSV/MEF are created, warnings become needs_review, existing outputs are never overwritten, and failure artifacts are retained. It also correctly cautions that a prepared file is not native MET certification.

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?

The description is dense but front-loaded with purpose and required constraints, then behavior and downstream usage. Almost every clause adds operational value, though the long semicolon-heavy structure makes it harder to scan than it could be.

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 complex orchestration tool with no output schema and no annotations, the description does well on behavior and constraints. However, it does not fully document the seven inputs or the returned artifact structure, and the requiredness mismatch with the schema leaves an invocation ambiguity.

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 coverage is 0%, so the description must explain seven parameters. It adds useful meaning for country_code, time_basis, and dry_run, but leaves year, csv_name, met_name, and sit_name largely unexplained, and its statement that country_code/time_basis are required conflicts with the schema showing zero required parameters and empty-string defaults.

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 starts with a specific verb and resource: preparing NEW native SIT/MET plus a provenance manifest from one hourly CSV. It clearly scopes the operation to GHI/DHI/Tamb and distinguishes it from lower-level weather tools by describing the orchestration of create-site and convert-meteo.

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 implied by the scope: preparing new native weather files from a CSV, not inspecting, acquiring, or reviewing one. It also names a downstream handoff to simulate_template, but it does not explicitly compare this tool against siblings such as inspect_weather_csv, acquire_weather, build_monthly_weather, or review_weather.

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

Deploy Server

Other Tools