Skip to main content
Glama

ig_get_collaboration_invites

Retrieve pending collaboration invitations for Instagram accounts to manage brand partnerships and content opportunities.

Instructions

Get pending collaboration invites for the Instagram account. Added in December 2025.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoNumber of results
afterNoPagination cursor

Implementation Reference

  • The implementation of the 'ig_get_collaboration_invites' MCP tool, which retrieves pending collaboration invites using the Meta client.
    server.tool(
      "ig_get_collaboration_invites",
      "Get pending collaboration invites for the Instagram account. Added in December 2025.",
      {
        limit: z.number().optional().describe("Number of results"),
        after: z.string().optional().describe("Pagination cursor"),
      },
      async ({ limit, after }) => {
        try {
          const params: Record<string, unknown> = {};
          if (limit) params.limit = limit;
          if (after) params.after = after;
          const { data, rateLimit } = await client.ig("GET", `/${client.igUserId}/collaboration_invites`, params);
          return { content: [{ type: "text", text: JSON.stringify({ ...data as object, _rateLimit: rateLimit }, null, 2) }] };
        } catch (error) {
          return { content: [{ type: "text", text: `Get collaboration invites 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