wot_network_health
Analyze Nostr network health metrics including node count, decentralization scores, and component analysis to assess network structure and stability.
Instructions
Get Nostr network health metrics: node count, edge count, Gini coefficient (decentralization), power-law exponent, density, and component analysis. No pubkey needed.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payment_hash | No | Payment hash if free tier exhausted |
Implementation Reference
- src/index.ts:164-174 (handler)The handler and registration for 'wot_network_health' tool. It calls wotGet to retrieve network health metrics.
server.tool( "wot_network_health", "Get Nostr network health metrics: node count, edge count, Gini coefficient (decentralization), power-law exponent, density, and component analysis. No pubkey needed.", { payment_hash: z.string().optional().describe("Payment hash if free tier exhausted"), }, async ({ payment_hash }) => { const data = await wotGet("/network-health", {}, payment_hash); return textResult(formatL402(data)); } );