Description
Add a new MCP tool azeth_get_balance_history that returns the balance history of a smart account over time, including deposits, withdrawals, and payment events.
Motivation
Agents managing budgets need to understand their spending patterns. Currently azeth_balance only returns the current balance. A history view helps agents make better economic decisions.
Suggested approach
- Add a new tool definition in
src/tools/account.ts
- Use the existing
azeth_history transaction log and aggregate balance changes
- Return an array of
{ timestamp, balance, event } entries
Acceptance criteria
Description
Add a new MCP tool
azeth_get_balance_historythat returns the balance history of a smart account over time, including deposits, withdrawals, and payment events.Motivation
Agents managing budgets need to understand their spending patterns. Currently
azeth_balanceonly returns the current balance. A history view helps agents make better economic decisions.Suggested approach
src/tools/account.tsazeth_historytransaction log and aggregate balance changes{ timestamp, balance, event }entriesAcceptance criteria
fromandtodate filters