Skip to main content
Glama

get_public_profile

Retrieve a player's public profile using their Ronin address to access account ID, name, and linked addresses for Axie Infinity.

Instructions

Get a public player profile by Ronin address. Returns the player's account ID, name, and linked addresses.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
roninAddressYesThe Ronin address in 'ronin:xxxx' or '0x...' format.

Implementation Reference

  • The handler logic that processes the 'get_public_profile' tool call.
    case "get_public_profile": {
      const schema = z.object({ roninAddress: RoninAddress });
      const { roninAddress } = schema.parse(args);
      const normalisedAddress = normaliseAddress(roninAddress);
      const data = await client.query<{
        publicProfileWithRoninAddress: unknown;
      }>(queries.GET_PUBLIC_PROFILE_BY_ADDRESS, {
        roninAddress: normalisedAddress,
      });
      return jsonContent(data.publicProfileWithRoninAddress);
    }
  • src/index.ts:287-302 (registration)
    Registration of the 'get_public_profile' tool with its schema definition.
      name: "get_public_profile",
      description:
        "Get a public player profile by Ronin address. Returns the player's account ID, name, and linked addresses.",
      inputSchema: {
        type: "object",
        properties: {
          roninAddress: {
            type: "string",
            description:
              "The Ronin address in 'ronin:xxxx' or '0x...' format.",
          },
        },
        required: ["roninAddress"],
      },
    },
    {

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