Skip to main content
Glama
lubosstrejcek

victron-tcp

Read Device Category

victron_read_category
Read-onlyIdempotent

Read all registers for any Victron device category by service name. Covers 33 categories including PV inverter, GPS, and more.

Instructions

Read all registers for any Victron device category by service name. Covers all 33 categories including digital inputs, genset, PV inverter, settings, GPS, meteo, and more. Use victron_discover to find connected devices and their unit IDs first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hostYesGX device IP address or hostname
portNoModbus TCP port
unitIdNoModbus unit ID. If omitted, uses the default unit ID for the category.
categoryYesDevice category service name (e.g. "digitalinput", "genset", "pvinverter", "settings", "gps"). Partial match supported — you can use just the short name without the "com.victronenergy." prefix.
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
serviceNo
readingsNo
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, indicating safe read behavior. The description adds context: it reads all registers for a category (33 categories), supports partial match on category name, and advises a discovery step. No contradictions.

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: first defines the tool's purpose, second gives a crucial prerequisite. No redundant or vague content; highly 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?

With an output schema present, the description does not need to detail return values. It covers the tool's scope (all categories), partial matching, and the discovery prerequisite. A minor gap is not mentioning the potential for large output, but overall complete for a read-only tool with strong annotations.

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 description coverage is 100% with parameter descriptions. The description adds extra semantic value by noting partial match support for category names and advising use of victron_discover for unit IDs, which is not in the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description clearly states 'Read all registers for any Victron device category by service name', specifying the verb 'read' and resource 'all registers for a category'. It implicitly distinguishes from siblings like victron_read_register (single register), but does not explicitly name alternatives.

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 advises using victron_discover first to find devices and unit IDs, which is a prerequisite. However, it does not explicitly state when to prefer this tool over similar siblings like victron_read_register or victron_list_registers, leaving usage context implied.

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