Skip to main content
Glama
PVsyst CLI MCP

PVsyst CLI MCP

pvsyst_prepare_sourced_design

Bind declared source excerpts to component identities and build a cited design-envelope request, returning a ready, needs-review, or blocked electrical design draft with provenance.

Instructions

[Simulation] Bind caller-declared excerpts to source text and build the design-envelope request. pan_name and ond_name are exact loose component filenames (workspace first, then the installed library): a manufacturer-only search is never substituted and no model is inferred. The identity label is composed from the owning objects as "PAN manufacturer PAN model / OND manufacturer OND model" and cannot be overridden by the caller. A root-only text component and an 8.1.6 GUI component are both accepted: the root object is required, a PVObject_Commercial block is optional and its identity wins, while a disagreement between the two, a repeated declared field or a legacy binary or non-UTF-8 file returns blocked with the concrete field. sources maps short ids to declared source text whose kind is manufacturer, site or assumption; declarations claims one value per field, each tied to a source id, an excerpt and the exact value/unit tokens it must agree with, and the declared source text itself is never returned. design carries explicit engineering goals only, so no envelope, coefficient or limit can be injected without a citation. status is ready, needs_review or blocked; the assembled electrical_design draft, the reused envelope result and the citation provenance come back, and the declared excerpts are a source-consistency check between the claimed value and the quoted loose component identity, not a manufacturer certification.

Input Schema

NameRequiredDescriptionDefault
designNo
sourcesYes
ond_nameYes
pan_nameYes
declarationsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/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 well: it discloses that source text is never returned, that the identity label cannot be overridden, that conflicts return blocked with the concrete field, and that no envelope/coefficient/limit can be injected without a citation. It omits permission/auth needs and any rate or size limits, keeping it below a 5.

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?

The purpose is front-loaded and nearly every clause carries substantive information, but the text is delivered as long run-on sentences with parenthetical asides that are hard to parse on first read. It is dense rather than padded, yet a bulleted or segmented form would convey the same content more reliably.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 5-parameter nested tool with no annotations and no output schema, the description covers inputs, validation behavior, status semantics, and return contents (electrical_design draft, reused envelope result, citation provenance). Remaining gaps are minor: no ordering relative to sibling preparation tools and no detail on individual design-goal fields.

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?

Schema description coverage is 0%, so the description must compensate, and it does: pan_name/ond_name are exact loose component filenames resolved workspace-first, sources maps short ids to declared text of kind manufacturer/site/assumption, and each declaration ties a value to a source id, excerpt, and exact value/unit tokens. The nested design goals are only labeled 'explicit engineering goals', leaving individual goal fields undescribed.

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?

States a specific compound action: bind caller-declared excerpts to source text and build the design-envelope request, plus the identity composition rule. It is clear what the tool does, but it never names or contrasts the obvious siblings (pvsyst_prepare_design_project, pvsyst_simulate_design, pvsyst_build_sourced_component), so differentiation is left to inference.

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 through the status outcomes (ready/needs_review/blocked) and the rejection conditions (identity disagreement, repeated field, legacy binary/non-UTF-8), which tells an agent when the call will succeed. However, there is no explicit when-to-use versus pvsyst_prepare_design_project or pvsyst_build_sourced_component, and no stated prerequisites or ordering.

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