Skip to main content
Glama
lubosstrejcek

victron-tcp

DC Energy Meter

victron_dcenergy_status
Read-onlyIdempotent

Retrieve DC energy meter data from SmartShunts: voltage, current, auxiliary voltage, temperature, energy produced/consumed, and alarms. Specify source, load, or system type.

Instructions

Get DC energy meter data from SmartShunts configured in DC meter mode: voltage, current, auxiliary voltage, temperature, energy produced/consumed, and alarms. Specify type: "source" (alternator, solar, wind), "load" (fridge, pump, generic DC load), or "system" (aggregate DC system). Unit ID is always 100.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hostYesGX device IP address or hostname
portNoModbus TCP port
typeYesDC energy meter type: source, load, or system
mqttHostNoMQTT broker host. Defaults to the "host" parameter or VICTRON_HOST env var.
mqttPortNoMQTT broker port. Defaults to VICTRON_MQTT_PORT env var or 1883.
portalIdNoVenus OS portal ID for MQTT topics. Use victron_mqtt_discover to find it. Defaults to VICTRON_PORTAL_ID env var.
transportNoTransport protocol. Defaults to VICTRON_TRANSPORT env var or "modbus".
deviceInstanceNoMQTT device instance number. If omitted, uses wildcard subscribe to find the first matching device.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
readingsYes
serviceInstanceNo
Behavior4/5

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

Annotations already indicate readOnly, idempotent, non-destructive. The description adds useful context like 'Unit ID is always 100' and the specific data returned, but no additional behavioral details beyond annotations.

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?

Three concise sentences with no fluff. Immediately states the tool's purpose, lists data, and explains the key parameter. Efficient and well-structured.

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?

Given the presence of an output schema (handling return values) and annotations covering safety, the description adequately covers the tool's input context and purpose. It could be more complete about hardware prerequisites but is sufficient.

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 coverage is 100% with parameter descriptions. The description adds meaning by explaining the 'type' options and the overall data purpose (voltage, current, etc.), going beyond param definitions.

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 it retrieves DC energy meter data from SmartShunts configured in DC meter mode, listing specific data fields like voltage, current, and energy. The title 'DC Energy Meter' distinguishes it from sibling tools for other components.

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?

It specifies the tool is for SmartShunts in DC meter mode, with a 'type' parameter differentiating source, load, or system. This gives clear context but doesn't explicitly exclude other scenarios or name sibling alternatives.

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/lubosstrejcek/victron-tcp'

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