Activity report
activity_reportAnalyze recent Nostr events to report counts by kind, hourly activity, active authors, posting bursts, repeated text, and possible spam signals.
Instructions
Analyses a sample of recent events: counts by kind, events per hour, most active authors, repeated text across keys, bursts from one key, share of authors with a single event, and a list of notable signals (possible spam or throw-away keys). The sample is the newest events in the window, up to sampleLimit.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "activity_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Filter by single-letter tags, e.g. {"e": ["<event id>"]} for events that reference an event, {"p": ["<pubkey>"]} for mentions, {"t": ["bitcoin"]} for hashtags. e and p take 64-hex values. | |
| hours | No | Time window in hours (default 24). | |
| kinds | No | Only these event kinds (e.g. [1] for notes, [7] reactions). | |
| relay | No | Relay URL (wss://…). It must be one of the configured relays; default: the first one. See nostrclaw_status. | |
| relays | No | Several relays (each must be configured): the same question goes to all of them and the answers are merged without duplicates; the result says what each relay returned. Overrides `relay`. | |
| sampleLimit | No | Most events to analyse per relay (a relay may return fewer). |