Skip to main content
Glama
hoodsy

solarnetwork-mcp

by hoodsy

Query time series

query_datum
Read-only

Query time-series solar generation or consumption data for a node between two dates. Choose daily, hourly, or raw aggregation to analyze patterns over time.

Instructions

Time series for a node between two node-local dates (end exclusive) — answers 'how much / what pattern over time'. Default Day aggregation gives one row per source per day; Hour suits intra-day shape (the API silently coarsens Hour to Day beyond 32 days); None returns raw samples and is refused over 7 days unless allowRaw=true. Responses are capped at 500 rows — when meta.truncated is true, page with offset.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nodeIdYesSolarNetwork node ID (public demo node: 108)
offsetNoRow offset for paging when a previous call was truncated
endDateYesNode-local end, exclusive
allowRawNoRequired to run aggregation=None over ranges longer than 7 days
sourceIdsNoSource IDs to include; omit for all
startDateYesNode-local start, inclusive (YYYY-MM-DD or YYYY-MM-DDTHH:mm)
aggregationNoBucket size; None = raw samples (guarded, see allowRaw)Day
Behavior5/5

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

Discloses important behaviors: response cap at 500 rows with pagination via offset, silent coarsening of Hour aggregation, and refusal of None aggregation without allowRaw. Consistent with readOnlyHint and openWorldHint 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?

Extremely concise: three sentences pack purpose, aggregation guidelines, and pagination detail. Front-loaded purpose with clear, scannable structure. No wasted 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?

Covers all key aspects: date range, aggregation options, row limit, and pagination. Lacks explicit output schema description, but given openWorldHint and focus on input constraints, it is sufficiently complete for its use case.

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% so baseline is 3. The description adds value by explaining aggregation behavior and allowRaw necessity, beyond the schema's enum descriptions. Does not repeat schema info unnecessarily.

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 queries time series data for a node between dates, answering 'how much / what pattern over time'. It distinguishes from sibling tools like get_latest or list_sources.

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?

Provides detailed guidance on aggregation levels (Day, Hour, None) and conditions (Hour coarsens beyond 32 days, None requires allowRaw for >7 days). Lacks explicit comparison to sibling tools but offers practical usage advice.

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/hoodsy/solarnetwork-mcp'

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