Skip to main content
Glama

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
NameRequiredDescriptionDefault
pubkeyYesNostr public key in hex format
payment_hashNoPayment hash if free tier exhausted

Implementation Reference

  • 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));
      }
    );

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/joelklabo/maximumsats-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server