Skip to main content
Glama

wot_score

Check a Nostr pubkey's Web of Trust reputation score using PageRank algorithm. Get score (0-100), rank, percentile, and follower data to assess trustworthiness in the network.

Instructions

Look up a Nostr pubkey's Web of Trust score (PageRank-based, 0-100). Returns score, rank, percentile, followers. 50 free requests/day, then L402.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pubkeyYesNostr public key in hex format
payment_hashNoPayment hash if free tier exhausted

Implementation Reference

  • The 'wot_score' tool is defined and implemented here using the `server.tool` method. It calls the `wotGet` helper function to fetch the score from the API and formats the result.
    server.tool(
      "wot_score",
      "Look up a Nostr pubkey's Web of Trust score (PageRank-based, 0-100). Returns score, rank, percentile, followers. 50 free requests/day, then L402.",
      {
        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("/score", { 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