Get profile
readinstagram.get_profilemcp: instagram_get_profile
Get the connected Instagram professional account: username, bio, followers, follows and media count.
No arguments.
curl -X POST https://driftglass.io/v1/tools/instagram.get_profile/execute \
-H "Authorization: Bearer $DRIFTGLASS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"entity_id":"default","arguments":{}}'List posts
readinstagram.list_mediamcp: instagram_list_media
List the account's posts and reels, newest first, with likes and comment counts.
| Argument | Type | Description |
|---|
| limit | integer | Results per page (1-100). Default: 25 |
| after | string | `next_cursor` from the previous page. |
curl -X POST https://driftglass.io/v1/tools/instagram.list_media/execute \
-H "Authorization: Bearer $DRIFTGLASS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"entity_id":"default","arguments":{}}'Get post
readinstagram.get_mediamcp: instagram_get_media
Get one post or reel, including carousel children.
| Argument | Type | Description |
|---|
| media_idrequired | string | Media id. |
curl -X POST https://driftglass.io/v1/tools/instagram.get_media/execute \
-H "Authorization: Bearer $DRIFTGLASS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"entity_id":"default","arguments":{"media_id":"<media_id>"}}'List stories
readinstagram.list_storiesmcp: instagram_list_stories
List the account's stories from the last 24 hours.
No arguments.
curl -X POST https://driftglass.io/v1/tools/instagram.list_stories/execute \
-H "Authorization: Bearer $DRIFTGLASS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"entity_id":"default","arguments":{}}'Get post insights
readinstagram.get_media_insightsmcp: instagram_get_media_insights
Get a post's or reel's insights, such as views, reach, likes, comments, shares and saves.
| Argument | Type | Description |
|---|
| media_idrequired | string | Media id. |
| metrics | string | Comma-separated metrics. Default: views,reach,likes,comments,shares,saved,total_interactions |
curl -X POST https://driftglass.io/v1/tools/instagram.get_media_insights/execute \
-H "Authorization: Bearer $DRIFTGLASS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"entity_id":"default","arguments":{"media_id":"<media_id>"}}'Get account insights
readinstagram.get_account_insightsmcp: instagram_get_account_insights
Get account-level insights (views, reach, accounts engaged, interactions, follows) over a period of up to 30 days.
| Argument | Type | Description |
|---|
| metrics | string | Comma-separated metrics. Default: views,reach,accounts_engaged,total_interactions,follows_and_unfollows |
| since | string | Start date, YYYY-MM-DD. |
| until | string | End date, YYYY-MM-DD. |
| period | string day | week | days_28 | Aggregation period. Default: day |
curl -X POST https://driftglass.io/v1/tools/instagram.get_account_insights/execute \
-H "Authorization: Bearer $DRIFTGLASS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"entity_id":"default","arguments":{}}'Get publishing limit
readinstagram.get_publishing_limitmcp: instagram_get_publishing_limit
How many posts the account has published through the API in the last 24 hours, and the limit.
No arguments.
curl -X POST https://driftglass.io/v1/tools/instagram.get_publishing_limit/execute \
-H "Authorization: Bearer $DRIFTGLASS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"entity_id":"default","arguments":{}}'List direct message threads
readinstagram.list_conversationsmcp: instagram_list_conversations
List the account's Instagram direct message conversations.
| Argument | Type | Description |
|---|
| limit | integer | Results per page (1-100). Default: 20 |
| after | string | `next_cursor` from the previous page. |
curl -X POST https://driftglass.io/v1/tools/instagram.list_conversations/execute \
-H "Authorization: Bearer $DRIFTGLASS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"entity_id":"default","arguments":{}}'Read direct messages
readinstagram.list_messagesmcp: instagram_list_messages
Read the latest messages in a direct message conversation.
| Argument | Type | Description |
|---|
| conversation_idrequired | string | Conversation id. |
curl -X POST https://driftglass.io/v1/tools/instagram.list_messages/execute \
-H "Authorization: Bearer $DRIFTGLASS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"entity_id":"default","arguments":{"conversation_id":"<conversation_id>"}}'Publish photo
writeinstagram.publish_photomcp: instagram_publish_photo
Publish a photo post from a public JPEG URL.
| Argument | Type | Description |
|---|
| image_urlrequired | string | Public JPEG URL. |
| caption | string | Caption, with hashtags and @mentions. |
| alt_text | string | Accessibility text. |
curl -X POST https://driftglass.io/v1/tools/instagram.publish_photo/execute \
-H "Authorization: Bearer $DRIFTGLASS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"entity_id":"default","arguments":{"image_url":"<image_url>"}}'Publish carousel
writeinstagram.publish_carouselmcp: instagram_publish_carousel
Publish a carousel of 2 to 10 photos and/or videos from public URLs.
| Argument | Type | Description |
|---|
| itemsrequired | object[] | 2-10 objects with `image_url` (JPEG) or `video_url` (MP4). |
| caption | string | Caption, with hashtags and @mentions. |
curl -X POST https://driftglass.io/v1/tools/instagram.publish_carousel/execute \
-H "Authorization: Bearer $DRIFTGLASS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"entity_id":"default","arguments":{"items":[]}}'Publish reel
writeinstagram.publish_reelmcp: instagram_publish_reel
Publish a reel from a public MP4 URL. Long videos can take a while to process: when the answer says it is still processing, call publish_container later.
| Argument | Type | Description |
|---|
| video_urlrequired | string | Public MP4 URL. |
| caption | string | Caption, with hashtags and @mentions. |
| cover_url | string | Public image URL for the cover. |
| share_to_feed | boolean | Also show the reel in the feed. Default: true |
curl -X POST https://driftglass.io/v1/tools/instagram.publish_reel/execute \
-H "Authorization: Bearer $DRIFTGLASS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"entity_id":"default","arguments":{"video_url":"<video_url>"}}'Publish story
writeinstagram.publish_storymcp: instagram_publish_story
Publish a story from a public image or video URL.
| Argument | Type | Description |
|---|
| image_url | string | Public JPEG URL. |
| video_url | string | Public MP4 URL. |
curl -X POST https://driftglass.io/v1/tools/instagram.publish_story/execute \
-H "Authorization: Bearer $DRIFTGLASS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"entity_id":"default","arguments":{}}'Get upload status
readinstagram.get_container_statusmcp: instagram_get_container_status
Check whether a media container from a publish action has finished processing.
| Argument | Type | Description |
|---|
| container_idrequired | string | Container id. |
curl -X POST https://driftglass.io/v1/tools/instagram.get_container_status/execute \
-H "Authorization: Bearer $DRIFTGLASS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"entity_id":"default","arguments":{"container_id":"<container_id>"}}'Publish processed upload
writeinstagram.publish_containermcp: instagram_publish_container
Publish a media container that finished processing (when a publish action answered that it was still processing).
| Argument | Type | Description |
|---|
| container_idrequired | string | Container id. |
curl -X POST https://driftglass.io/v1/tools/instagram.publish_container/execute \
-H "Authorization: Bearer $DRIFTGLASS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"entity_id":"default","arguments":{"container_id":"<container_id>"}}'Send direct message
writeinstagram.send_messagemcp: instagram_send_message
Send a direct message to someone who messaged the account in the last 24 hours (Instagram's messaging window).
| Argument | Type | Description |
|---|
| recipient_idrequired | string | Instagram-scoped id of the person (from list_conversations). |
| textrequired | string | Message text. |
curl -X POST https://driftglass.io/v1/tools/instagram.send_message/execute \
-H "Authorization: Bearer $DRIFTGLASS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"entity_id":"default","arguments":{"recipient_id":"<recipient_id>","text":"<text>"}}'