Skip to main content
Glama

get_leaderboard

Retrieve competitive rankings for Axie Infinity categories like AxieScore, LandPlot, or Runes to track player standings and performance metrics.

Instructions

Get leaderboard rankings for various competitive categories in Axie Infinity.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeYesThe leaderboard category to retrieve.
fromNoPagination offset. Default 0.
sizeNoNumber of rankings to return. Default 10.

Implementation Reference

  • The handler implementation for the `get_leaderboard` tool inside the `CallToolRequestSchema` switch statement.
    case "get_leaderboard": {
      const schema = z.object({
        type: LeaderboardTypeEnum,
        from: z.coerce.number().int().min(0).default(0),
        size: z.coerce.number().int().min(1).max(100).default(10),
      });
      const parsed = schema.parse(args);
      const data = await client.query<{ leaderboard: unknown }>(
        queries.GET_LEADERBOARD,
        { type: parsed.type, from: parsed.from, size: parsed.size }
      );
      return jsonContent(data.leaderboard);
    }
  • The tool registration and schema definition for `get_leaderboard`.
    {
      name: "get_leaderboard",
      description:
        "Get leaderboard rankings for various competitive categories in Axie Infinity.",
      inputSchema: {
        type: "object",
        properties: {
          type: {
            type: "string",
            enum: ["AxieScore", "AxieCollector", "AxieOrigin", "AxieMystic", "AxieShiny", "AxieSummer", "AxieNightmare", "AxieJapan", "AxieXmas", "LandPlot", "LandSavannah", "LandForest", "LandArctic", "LandMystic", "LandGenesis", "Rune", "Charm", "Accessory", "WeeklyQuestPoints", "PremierQuestPoints"],
            description: "The leaderboard category to retrieve.",
          },
          from: {
            type: "number",
            description: "Pagination offset. Default 0.",
          },
          size: {
            type: "number",
            description: "Number of rankings to return. Default 10.",
          },
        },
        required: ["type"],
      },
    },

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/jackdlogan/axie-mcp'

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