Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
FB_PAGE_IDYesYour Facebook Page ID
IG_ACCOUNT_IDNoInstagram Business Account ID (optional)
FB_API_VERSIONNoGraph API version (optional, default: v24.0)v24.0
FB_PAGE_ACCESS_TOKENYesPage Access Token with required permissions (pages_messaging, pages_manage_metadata, pages_read_engagement, instagram_basic, instagram_manage_messages, instagram_manage_comments, instagram_content_publish)

Tools

Functions exposed to the LLM to take actions

NameDescription
send_message

Send a message to a user on Instagram or Facebook Messenger. Can send text or media (image, video, audio).

send_reaction

Send a reaction to a message on Instagram

get_conversations

Get list of conversations/inbox for Instagram or Facebook. Returns conversation IDs and participant info.

get_conversation_by_user

Get conversation ID for a specific user

get_conversation_messages

Get messages from a specific conversation

get_user_profile

Get profile information for a user on Instagram or Facebook

get_my_instagram_profile

Get your own Instagram business account profile

get_my_facebook_page

Get your Facebook page information

get_posts

Get posts from your Instagram account or Facebook page

get_instagram_post_details

Get detailed information about a specific Instagram post including carousel children

get_post_comments

Get comments on a post

reply_to_comment

Reply to a comment on a post

post_to_instagram

Create a new post on Instagram (image or video/reel)

post_to_facebook

Create a new post on your Facebook page

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
Instagram ProfileYour Instagram business account profile
Facebook PageYour Facebook page information
Instagram InboxYour Instagram DM inbox
Facebook InboxYour Facebook Messenger inbox
Instagram PostsYour recent Instagram posts
Facebook PostsYour recent Facebook page posts

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

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