get_token_changes
Checks what changed since the last snapshot.
When To Use It
- Follow-up checks after setting watch rules
- Detecting worsening conditions quickly
- Turning one-off analysis into a repeatable monitoring loop
Inputs
token_addressrequireduser_idoptional
What It Does
get_token_changes:
- loads the latest saved snapshot for the token from Postgres
- runs a fresh
analyze_token - stores the new snapshot
- computes deltas against the previous snapshot
- evaluates any active watchlists
- inserts deduplicated alerts
What You Receive
- Previous vs current metrics
- Delta list (risk/liquidity/holders/contract changes)
- Triggered alerts that match your watch rules
- Stable alert payload fields for integrations:
eventType,severity,category,summary,detectedAt, andtokenAddress - A note indicating whether this was the first stored snapshot or a real delta run
Metrics Compared
- risk score
- liquidity
- top 10 holder concentration
- mint authority
- freeze authority
- honeypot status
Alert Types
risk_score_increaseliquidity_dropholder_concentration_increaseauthority_changehoneypot_detected
Alert Payload Notes
Each triggered alert keeps the existing human-readable trigger and detail fields, and now also includes a stable integration shape:
eventType: stable machine-readable alert typeseverity:Low,Medium,High, orExtremecategory:risk,liquidity,holders, orcontractsummary: short notification-ready messagedetectedAt: ISO timestamp for the current runtokenAddress: mint address tied to the alert
Storage Requirements
This tool requires:
DATABASE_URL- the initial migration to be applied
Redis is optional but recommended for alert deduplication.
Typical Prompts
What changed since last check for <token address>?
Check <token> against the previous snapshot and only tell me the material changes.