Skip to main content
Glama

lookup_label

Identify cryptocurrency addresses by retrieving entity names, categories, risk scores, and compliance tags for security and compliance checks.

Instructions

Look up the label and risk score for a cryptocurrency address. Returns entity name, category (exchange, DeFi, bridge, etc.), risk flags, and compliance tags. Cost: $0.009 per query. Source: On-chain address intelligence.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
addressYesCrypto address to look up (e.g. 0xdAC17F958D2ee523a2206206994597C13D831ec7)

Implementation Reference

  • The handler implementation for the lookup_label tool.
    async ({ address }) => {
      const res = await apiGet<{ dataset: string; data: Record<string, unknown> }>(
        `/api/v1/labels/${encodeURIComponent(address)}`,
      );
    
      if (!res.ok) {
        const msg =
          res.status === 404
            ? `No label found for address ${address}.`
            : `API error (${res.status}): ${JSON.stringify(res.data)}`;
        return {
          content: [{ type: "text" as const, text: msg }],
          isError: res.status !== 404,
        };
      }
    
      const warn = stalenessWarning(res);
      return {
        content: [
          { type: "text" as const, text: `${warn}${JSON.stringify(res.data.data, null, 2)}` },
        ],
      };
    },
  • Registration and schema definition for the lookup_label tool.
    server.registerTool(
      "lookup_label",
      {
        title: "Lookup Address Label",
        description:
          "Look up the label and risk score for a cryptocurrency address. Returns entity name, " +
          "category (exchange, DeFi, bridge, etc.), risk flags, and compliance tags. " +
          "Cost: $0.009 per query. Source: On-chain address intelligence.",
        inputSchema: {
          address: z
            .string()
            .describe("Crypto address to look up (e.g. 0xdAC17F958D2ee523a2206206994597C13D831ec7)"),
        },
      },

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/carrierone/verilexdata-mcp'

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