wot_compare_providers
Compare trust scores for a Nostr public key across multiple NIP-85 providers to view consensus classification and provider agreement levels.
Instructions
Compare trust scores for a pubkey across multiple NIP-85 providers. Shows consensus classification and provider agreement.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pubkey | Yes | Nostr public key in hex format | |
| payment_hash | No | Payment hash if free tier exhausted |
Implementation Reference
- src/index.ts:229-240 (handler)The tool 'wot_compare_providers' is registered and implemented directly in src/index.ts using the server.tool method. It calls the 'wotGet' helper to fetch data from the "/compare-providers" endpoint.
server.tool( "wot_compare_providers", "Compare trust scores for a pubkey across multiple NIP-85 providers. Shows consensus classification and provider agreement.", { pubkey: z.string().describe("Nostr public key in hex format"), payment_hash: z.string().optional().describe("Payment hash if free tier exhausted"), }, async ({ pubkey, payment_hash }) => { const data = await wotGet("/compare-providers", { pubkey }, payment_hash); return textResult(formatL402(data)); } );