Skip to main content
Glama

wot_trust_path

Discover how two Nostr users are connected by analyzing trust relationships between their public keys, displaying the path and trust scores at each hop.

Instructions

Find the trust path between two Nostr pubkeys. Shows hop-by-hop path with trust scores at each hop. Useful for 'how am I connected to this person?'

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fromYesSource Nostr pubkey in hex
toYesTarget Nostr pubkey in hex
payment_hashNoPayment hash if free tier exhausted

Implementation Reference

  • The registration and handler implementation for the `wot_trust_path` tool. It takes `from` and `to` pubkeys, calls the `wotGet` helper, and formats the result.
    server.tool(
      "wot_trust_path",
      "Find the trust path between two Nostr pubkeys. Shows hop-by-hop path with trust scores at each hop. Useful for 'how am I connected to this person?'",
      {
        from: z.string().describe("Source Nostr pubkey in hex"),
        to: z.string().describe("Target Nostr pubkey in hex"),
        payment_hash: z.string().optional().describe("Payment hash if free tier exhausted"),
      },
      async ({ from, to, payment_hash }) => {
        const data = await wotGet("/trust-path", { from, to }, 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