Skip to main content
Glama
gopisrikrishna

solarnetwork

Get latest readings

get_latest

Retrieve the current reading for each source on a SolarNetwork node, including weather and irradiance, to determine if a stream is live. Remember that zero generation at night is normal.

Instructions

Get the most recent reading for each source on a node, including weather and irradiance where available. Use this for 'what is happening right now' and to check whether a stream is still live. Note that generation is legitimately zero at night.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nodeIdYesSolarNetwork node ID
sourceIdsNoRestrict to these source IDs; omit for all sources

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations provided, the description carries the behavioral disclosure burden. It adds useful interpretation beyond the schema by noting that generation is legitimately zero at night and that weather/irradiance are included where available. This helps the agent avoid misreading valid nighttime data as a failure.

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 short sentences, each earning its place: the first states the core behavior, the second gives the primary use case, and the third provides a critical interpretation caveat. It is front-loaded and free of filler.

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 simple read-style tool with two well-documented parameters and no output schema, the description is largely complete. It explains purpose, when to use it, and a key data-interpretation nuance. A small gap is that it does not describe what happens when no recent reading exists or how to interpret missing sources, but this is minor.

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%, so the schema already documents nodeId and sourceIds. The description reinforces the per-source aggregation concept and the optional restriction to specific source IDs, but does not need to add substantial parameter-level detail.

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 retrieves the most recent reading per source on a node, including weather and irradiance when available. This distinguishes it from siblings like query_datum or get_energy by focusing on latest status rather than history or aggregates.

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 explicitly tells the agent when to use it: for 'what is happening right now' and for checking if a stream is still live. It does not explicitly name alternatives or exclusion criteria, but the context is clear enough for correct selection.

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