Skip to main content
Glama

ig_get_profile

Retrieve Instagram Business or Creator account profile data through the Meta Graph API. Access profile information for Instagram accounts integrated with Meta's platform.

Instructions

Get Instagram Business/Creator account profile information.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The tool 'ig_get_profile' is defined and implemented here as an MCP tool using the MetaClient service.
    server.tool(
      "ig_get_profile",
      "Get Instagram Business/Creator account profile information.",
      {},
      async () => {
        try {
          const { data, rateLimit } = await client.ig("GET", `/${client.igUserId}`, {
            fields: "id,name,username,biography,followers_count,follows_count,media_count,profile_picture_url,website",
          });
          return { content: [{ type: "text", text: JSON.stringify({ ...data as object, _rateLimit: rateLimit }, null, 2) }] };
        } catch (error) {
          return { content: [{ type: "text", text: `Get profile failed: ${error instanceof Error ? error.message : String(error)}` }], isError: true };
        }
      }
    );

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/mikusnuz/meta-mcp'

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