Skip to main content
Glama
ratoshniuk

Growatt MCP Server

by ratoshniuk

set_device_power

Destructive

Set a device's active power limit on Growatt. Specify the device serial number, type, and target value: percent for inverters, watts for NOAH and NEXA devices.

Instructions

Set the active power limit of a device. Changes state on Growatt's side.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
valueYesInverters: percent 0-100. NOAH devices: watts 0-800. NEXA devices: watts 0-1000.
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.8/5.0
Behavior3/5

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

Annotations already carry the destructive and non-read-only safety profile, so the description does not need to restate mutation. It adds 'Changes state on Growatt's side,' clarifying the change is server-side, but it does not describe reversibility, side effects, or failure behavior.

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?

Two sentences with no filler. The core purpose is front-loaded, and the second sentence adds useful state-change context without unnecessary elaboration.

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 three-parameter mutation with full schema coverage and an output schema, the functional information needed to invoke the tool correctly is present. The only gap is explicit usage routing among sibling device commands, but the purpose line and annotations largely compensate.

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%, with detailed parameter descriptions including device-type-specific units for value and the source of device_type. The description itself adds no parameter-specific detail, so it stays at the baseline for a fully documented schema.

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 object: 'Set the active power limit of a device.' This names the resource and the exact aspect being changed, which clearly distinguishes it from siblings like set_device_on_off and set_device_parameter.

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?

The description implies when to use the tool through its purpose line, but it does not explicitly state alternatives or exclusions. An agent must infer that this is for power-limit changes rather than toggling power state or writing generic parameters.

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