Skip to main content
Glama

business_discovery

Retrieve public Instagram business or creator account details including bio, follower counts, and media statistics to analyze profiles and gather insights.

Instructions

Look up another public Business or Creator account's profile. Returns bio, follower count, media count, etc.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
target_usernameYesInstagram username to look up (without @)

Implementation Reference

  • The handler implementation for business discovery that performs the API request.
    async businessDiscovery(
      targetUsername: string
    ): Promise<IGBusinessProfile> {
      const fields =
        "username,name,biography,website,followers_count,follows_count,media_count,profile_picture_url";
      const data = await this.request("GET", this.aid(), {
        params: { fields: `business_discovery.fields(${fields})` },
      });
      const bd = data.business_discovery;
      if (!bd)
        throw new InstagramAPIError(
          `Could not find business account: ${targetUsername}`
        );
      return bd;
    }
  • src/index.ts:332-343 (registration)
    The MCP tool definition and registration for business_discovery.
    {
      name: "business_discovery",
      description:
        "Look up another public Business or Creator account's profile. Returns bio, follower count, media count, etc.",
      inputSchema: {
        type: "object" as const,
        properties: {
          target_username: { type: "string", description: "Instagram username to look up (without @)" },
        },
        required: ["target_username"],
      },
    },
  • The switch case handler in index.ts that calls the businessDiscovery client method.
    case "business_discovery":
      return JSON.stringify(await c.businessDiscovery(args.target_username), null, 2);

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/mcpware/instagram-mcp'

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