Skip to main content
Glama
swannman
by swannman

Get live reading for a device

baseline_get_live

Retrieve current live readings for a device by its serial number. Obtain decoded status, key/value data, and primary value like PSI, %VWC, water usage, or run state.

Instructions

Current live reading for one enumerated device, by its reporting serial (from baseline_list_devices: serialNumber, or decoderSN for a zone). Returns the decoded status and key/value readings, plus a primary value where meaningful: pressure sensor → PSI, moisture sensor → %VWC, flow meter → real-time water usage, zones/valves/pumps → run state. Pair with baseline_get_history for the same device's trend.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
deviceSnYesDevice reporting serial (serialNumber, or decoderSN for a zone).
controllerIdNoController id (from baseline_list_controllers). Optional when the account has exactly one accessible controller or BASELINE_CONTROLLER_ID is set; otherwise required.
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It honestly describes the return data: decoded status, key/value readings, and primary value per sensor type. However, it does not disclose read-only nature, rate limits, or authentication requirements, leaving gaps.

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 concise with three sentences, each adding unique value. It front-loads the main purpose, includes parameter context, and ends with a pairing suggestion. No unnecessary words.

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 no output schema, the description adequately explains return values with sensor-type mappings and suggests pairing with history. It lacks details on error handling, rate limits, or auth, but for a simple read tool this is mostly complete.

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?

Parameter schema coverage is 100% with adequate descriptions. The description adds minimal extra meaning: it clarifies deviceSn source (serialNumber or decoderSN) and optionality of controllerId given account conditions. No significant value 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 the tool returns the current live reading for one enumerated device, identified by its reporting serial. It specifies the verb 'get', the resource 'live reading', and distinguishes from sibling tool baseline_get_history by explicitly mentioning it for trends.

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?

The description provides clear context for when to use this tool: for live readings of a single device. It suggests pairing with baseline_get_history for trends, offering guidance on alternatives. However, it does not explicitly state when not to use it or contrast with other siblings like baseline_get_status.

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/swannman/baseline-irrigation-mcp'

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