wot_trust_circle
Analyze a Nostr user's trust network by retrieving mutual follows with trust strength metrics, including member roles, cohesion, and density data for reputation assessment.
Instructions
Get a pubkey's trust circle (mutual follows with trust strength). Returns members with roles, cohesion, and density metrics.
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:196-199 (handler)The handler function for the wot_trust_circle tool, which fetches data from the /trust-circle endpoint.
async ({ pubkey, payment_hash }) => { const data = await wotGet("/trust-circle", { pubkey }, payment_hash); return textResult(formatL402(data)); } - src/index.ts:189-200 (registration)Registration of the wot_trust_circle tool with the MCP server, including its description and input schema.
server.tool( "wot_trust_circle", "Get a pubkey's trust circle (mutual follows with trust strength). Returns members with roles, cohesion, and density metrics.", { 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("/trust-circle", { pubkey }, payment_hash); return textResult(formatL402(data)); } );