Skip to main content
Glama
mouldiwarp

solax-cloud-mcp

by mouldiwarp

get_realtime_data

Fetch real-time solar inverter data: power output, energy yields, battery status, and grid import/export.

Instructions

Fetch real-time solar inverter data from SolaX Developer Platform.

Retrieves the latest readings including power output, energy yields, battery status, and grid import/export data from the SolaX Developer Platform API. All power values are in Watts (W), energy in kWh, voltage in Volts (V), current in Amps (A), and temperature in Celsius (°C).

Args: device_sn: Serial number of the inverter to query (the device SN, not WiFi dongle SN). If omitted, defaults to SOLAX_DEVICE_SN environment variable.

Returns: A structured dictionary with decoded status values and grouped data fields: - device: inverter identifiers (SN, registration number, timestamps) - status: inverter operating status (code + human-readable description) - pv: list of active PV strings with voltage/current/power - mppt: MPPT tracker data (individual trackers + total power) - ac: AC output phases, total power, reactive power, power factor, grid frequency - energy: daily/total yield and AC output - meter1: grid power and energy (import/export) - meter2: secondary meter data (import/export) - battery: battery voltage/current/power/soc/status (None if no battery) - eps: emergency power supply data (3-phase voltage/current/power) - temperature: inverter temperature - misc: line-to-line voltages

Raises: ToolError: if credentials are invalid, the device is not found, or the API fails.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
device_snNo
Behavior4/5

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

Describes the operation as read-only ('Fetch', 'Retrieves'), lists error conditions, and provides return structure details. No annotations are present, so description covers the behavioral aspects well.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Well-structured with summary, units, clear Args/Returns/Raises sections. Front-loaded with main purpose, no superfluous content.

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

Completeness5/5

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

For a single-parameter tool, the description fully covers input, output (detailed return structure), and error behavior, making it self-contained without needing an output schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Clearly explains the parameter 'device_sn', including the distinction from WiFi dongle SN and the default environment variable. This adds significant value beyond the schema which lacks descriptions.

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 clearly states 'Fetch real-time solar inverter data' with a specific data source. It distinguishes from the sibling tool 'set_battery_self_use_mode' which is a write operation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides context like data source and default environment variable, but lacks explicit when-to-use or when-not-to-use guidance relative to siblings.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mouldiwarp/solax-cloud-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server