Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
INSTAGRAM_ACCOUNT_IDYesInstagram business account ID
INSTAGRAM_API_VERSIONNoGraph API versionv19.0
INSTAGRAM_ACCESS_TOKENYesMeta long-lived access token

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_profile_info

Get Instagram business profile information including followers, bio, and account details

get_media_posts

Get recent media posts from Instagram account with engagement metrics

get_media_insights

Get detailed insights and analytics for a specific Instagram post

publish_media

Upload and publish an image or video to Instagram with caption and optional location

publish_carousel

Publish a carousel (album) post with 2-10 images or videos. All media must be publicly accessible URLs.

publish_reel

Publish a Reel (short-form video) to Instagram. Video must be publicly accessible URL, MP4 format.

get_content_publishing_limit

Check how many posts you can still publish today. Instagram limits content publishing per 24-hour period.

get_account_pages

Get Facebook pages connected to the account and their Instagram business accounts

get_account_insights

Get account-level insights and analytics for Instagram business account

validate_access_token

Validate the Instagram API access token and check permissions

get_conversations

Get Instagram DM conversations. Requires instagram_manage_messages permission.

get_conversation_messages

Get messages from a specific Instagram DM conversation. Requires instagram_manage_messages permission.

send_dm

Send Instagram direct message. Requires instagram_manage_messages with Advanced Access. Can only reply within 24 hours.

get_comments

Get comments on an Instagram post. Returns comment text, username, timestamp, and like count.

post_comment

Post a top-level comment on an Instagram post. Requires instagram_manage_comments permission.

reply_to_comment

Reply to a specific comment on an Instagram post. Requires instagram_manage_comments permission.

delete_comment

Delete a comment on your Instagram post. Can only delete comments on your own media.

hide_comment

Hide or unhide a comment on your Instagram post. Hidden comments are not visible to the public.

search_hashtag

Search for an Instagram hashtag and get its ID. Use the returned ID with get_hashtag_media.

get_hashtag_media

Get top or recent media for a hashtag. Use search_hashtag first to get the hashtag ID.

get_stories

Get current active stories on your Instagram account. Stories expire after 24 hours.

get_mentions

Get posts where your account has been tagged or @mentioned. Useful for tracking UGC.

business_discovery

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

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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