Skip to main content
Glama
lubosstrejcek

victron-tcp

Tank Levels

victron_tank_levels
Read-onlyIdempotent

Get tank sensor data: level, capacity, remaining, and fluid type (fuel, fresh water, waste water, live well, oil, black water, gasoline). Specify unitId for the tank sensor.

Instructions

Get tank sensor data: level, capacity, remaining, and fluid type (fuel, fresh water, waste water, live well, oil, black water, gasoline). Specify unitId for the tank sensor (check victron_discover to find it).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hostYesGX device IP address or hostname
portNoModbus TCP port
unitIdNoModbus unit ID for the tank sensor
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
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint; the description adds no behavioral details beyond the obvious read operation. No contradictions with 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?

Two sentences, front-loaded with action and data output, no wasted words. Efficient and direct.

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 8 parameters and an output schema, the description is brief. It omits context on transport options (modbus vs mqtt) and defaults, but schema fills some gaps. Adequate but not exhaustive.

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?

Input schema covers all 8 parameters with descriptions (100% coverage). The description only mentions unitId, not adding new parameter semantics beyond 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 clearly states 'Get tank sensor data' and enumerates specific data fields (level, capacity, remaining, fluid type) and fluid types. It distinctively focuses on tank sensors, differentiating from sibling status tools like victron_battery_status or victron_solar_status.

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 instructs the user to specify unitId and references victron_discover for discovery. No explicit when-not-to-use or alternatives are given, but the scope is clear for a targeted data retrieval tool.

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