Skip to main content
Glama
PVsyst CLI MCP

PVsyst CLI MCP

pvsyst_resolve_location

Resolve a place name to candidate locations with coordinates, ISO country code, and IANA timezone using Open-Meteo geocoding, so you can select the correct site.

Instructions

[Sites & Weather] Query Open-Meteo geocoding for a place name (2..100 chars) and return candidates with location_id, coordinates, ISO alpha-2 country code, and IANA timezone.

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": {
      "query": "<query>"
    },
    "name": "pvsyst_resolve_location"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYes
country_codeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the external dependency (Open-Meteo), the input length constraint, and the returned field set. It omits behavior on zero matches, whether results are ranked, any rate/network limits, and whether country_code narrows results.

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 front-loaded sentence with a category tag, the action, the input constraint, and the return shape; no wasted wording. The dense parenthetical of output fields is slightly list-like but earns its place.

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?

With no output schema, the description usefully enumerates return fields, which is the right call. However, for a two-parameter tool at 0% schema coverage it leaves country_code undefined and gives no guidance on selecting among returned candidates.

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 compensate. It explains 'query' well (place name, 2..100 chars) but never mentions the second parameter, country_code, leaving an undocumented optional filter that only appears as a bare string with an empty default.

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 verb and resource: query Open-Meteo geocoding for a place name and return candidate locations. The bracketed '[Sites & Weather]' tag plus the geocoding focus distinguishes it from weather-acquisition siblings such as pvsyst_acquire_weather, though no sibling is named explicitly.

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: an agent can infer it is the step that turns a place name into a location_id before weather work. There is no explicit when-to-use, when-not-to-use, or named alternative, and nothing says what to do with multiple candidates.

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