Skip to main content
Glama
ratoshniuk

Growatt MCP Server

by ratoshniuk

set_device_on_off

Destructive

Turn a Growatt solar device on or off remotely using its serial number and type, with a boolean flag for the desired state.

Instructions

Turn a device on or off. Changes state on Growatt's side.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
turn_onYesTrue to turn on, False to shut down.
device_snYesDevice serial number.
device_typeYesDevice type such as "min", "sph", "spa", "max", "inv", "wit", "tlx". get_devices returns it.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, so the mutation risk is covered. The description adds a useful detail that the state change happens on Growatt's side, reinforcing the remote side effect, but it does not explain consequences like device downtime or whether the action is reversible.

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?

The description is two short, front-loaded sentences with no filler. The primary action comes first, and the remote-effect clarification earns its place by adding behavioral context.

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 simple 3-parameter toggle operation, the description plus full schema, annotations, and output schema provide enough to invoke it correctly. It loses one point because it gives no guidance about related tools or device availability, but these are minor given the tool's simplicity.

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 description coverage is 100%, and the schema already explains turn_on, device_sn, and device_type with examples. The description adds no additional parameter meaning, so the baseline score of 3 is appropriate.

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 uses a specific verb ('Turn'), names the resource ('a device'), and specifies the two modes ('on or off'). It also clarifies the effect is a remote state change on Growatt's side, distinguishing it from read-only sibling tools and from set_device_power, which adjusts power rather than toggling state.

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

Usage Guidelines2/5

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

No explicit guidance is given for when to use this tool versus alternatives such as set_device_power or read_device_parameter. The description implies the use case from the name, but it does not state exclusions, prerequisites, or when another tool should be preferred.

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