Skip to main content
Glama

Sync Historical Store

sync_historical_store
Idempotent

Incrementally ingest selected AESO power datasets into a local DuckDB index and Parquet snapshots, reporting gaps and duplicates while refreshing preliminary intervals.

Instructions

Incrementally ingests selected AESO generation, pool-price, and load datasets into the configured local DuckDB index and partitioned Parquet snapshots. Reports gaps and duplicate source observations and refreshes preliminary intervals. Requires the optional analytics dependencies.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
requestYesIncrementally ingest supported datasets into DuckDB/Parquet.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultsYes
metadataYesProvenance and semantic metadata attached to dataset responses.
warningsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.3.0

TDQS

A3.9/5.0
Behavior4/5

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

Adds concrete behavioral context beyond annotations: incremental ingestion, write targets (DuckDB index and Parquet snapshots), reporting of gaps/duplicates, refreshing preliminary intervals, and a prerequisite (optional analytics dependencies). It does not contradict the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two efficient sentences with no filler: the first front-loads the core action and target, the second covers side effects and prerequisites. The first sentence is somewhat long but still scannable.

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?

The description covers what the tool does, where it writes, side effects, and prerequisites. The output schema and annotations fill in return values and safety details. Minor ambiguity remains around 'refreshes preliminary intervals' and dataset specifics, but those are largely captured by the schema.

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% with detailed start/end timezone and interval semantics, so the description does not need to add parameter-level detail. The description only names the dataset families, which is already reflected in the schema enum.

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 states a specific verb ('incrementally ingests'), a precise resource ('AESO generation, pool-price, and load datasets into the configured local DuckDB index and partitioned Parquet snapshots'), and a distinct maintenance role. This clearly differentiates it from the read-only get_* and analyze_* sibling tools.

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 implies this is the synchronization/ingestion tool for the local historical store, contrasting with the query-oriented siblings, but it never explicitly states when to use it, when not to, or that get_historical_store_status should be used to check coverage. No alternatives are named.

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