List Pages
readfacebook_pages.list_pagesmcp: facebook_pages_list_pages
List the Facebook Pages this connection can manage, with their ids.
No arguments.
curl -X POST https://driftglass.io/v1/tools/facebook_pages.list_pages/execute \
-H "Authorization: Bearer $DRIFTGLASS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"entity_id":"default","arguments":{}}'Get Page
readfacebook_pages.get_pagemcp: facebook_pages_get_page
Get a Page's details: name, about, followers, link and contact info.
| Argument | Type | Description |
|---|
| page_idrequired | string | Page id (from list_pages). |
curl -X POST https://driftglass.io/v1/tools/facebook_pages.get_page/execute \
-H "Authorization: Bearer $DRIFTGLASS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"entity_id":"default","arguments":{"page_id":"<page_id>"}}'List posts
readfacebook_pages.list_postsmcp: facebook_pages_list_posts
List a Page's posts, newest first, with reaction, comment and share counts.
| Argument | Type | Description |
|---|
| page_idrequired | string | Page id (from list_pages). |
| limit | integer | Results per page (1-100). Default: 25 |
| after | string | `next_cursor` from the previous page. |
| include_scheduled | boolean | List scheduled (unpublished) posts instead. Default: false |
curl -X POST https://driftglass.io/v1/tools/facebook_pages.list_posts/execute \
-H "Authorization: Bearer $DRIFTGLASS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"entity_id":"default","arguments":{"page_id":"<page_id>"}}'Get post
readfacebook_pages.get_postmcp: facebook_pages_get_post
Get one Page post with its counts.
| Argument | Type | Description |
|---|
| page_idrequired | string | Page id (from list_pages). |
| post_idrequired | string | Post id. |
curl -X POST https://driftglass.io/v1/tools/facebook_pages.get_post/execute \
-H "Authorization: Bearer $DRIFTGLASS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"entity_id":"default","arguments":{"page_id":"<page_id>","post_id":"<post_id>"}}'Get Page insights
readfacebook_pages.get_page_insightsmcp: facebook_pages_get_page_insights
Get Page insights metrics for a period (metric names: developers.facebook.com/docs/graph-api/reference/insights).
| Argument | Type | Description |
|---|
| page_idrequired | string | Page id (from list_pages). |
| metrics | string | Comma-separated metrics. Default: page_post_engagements,page_daily_follows_unique,page_views_total |
| period | string day | week | days_28 | total_over_range | Period. Default: day |
| since | string | Start date, YYYY-MM-DD. |
| until | string | End date, YYYY-MM-DD. |
curl -X POST https://driftglass.io/v1/tools/facebook_pages.get_page_insights/execute \
-H "Authorization: Bearer $DRIFTGLASS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"entity_id":"default","arguments":{"page_id":"<page_id>"}}'Get post insights
readfacebook_pages.get_post_insightsmcp: facebook_pages_get_post_insights
Get insights for one Page post.
| Argument | Type | Description |
|---|
| page_idrequired | string | Page id (from list_pages). |
| post_idrequired | string | Post id. |
| metrics | string | Comma-separated metrics. Default: post_reactions_by_type_total,post_clicks,post_impressions_unique |
curl -X POST https://driftglass.io/v1/tools/facebook_pages.get_post_insights/execute \
-H "Authorization: Bearer $DRIFTGLASS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"entity_id":"default","arguments":{"page_id":"<page_id>","post_id":"<post_id>"}}'List Messenger conversations
readfacebook_pages.list_conversationsmcp: facebook_pages_list_conversations
List a Page's Messenger conversations, most recent first.
| Argument | Type | Description |
|---|
| page_idrequired | string | Page id (from list_pages). |
| 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/facebook_pages.list_conversations/execute \
-H "Authorization: Bearer $DRIFTGLASS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"entity_id":"default","arguments":{"page_id":"<page_id>"}}'Read Messenger conversation
readfacebook_pages.list_messagesmcp: facebook_pages_list_messages
Read the latest messages in a Page conversation.
| Argument | Type | Description |
|---|
| page_idrequired | string | Page id (from list_pages). |
| conversation_idrequired | string | Conversation id. |
| limit | integer | Results per page (1-100). Default: 25 |
curl -X POST https://driftglass.io/v1/tools/facebook_pages.list_messages/execute \
-H "Authorization: Bearer $DRIFTGLASS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"entity_id":"default","arguments":{"page_id":"<page_id>","conversation_id":"<conversation_id>"}}'Publish post
writefacebook_pages.create_postmcp: facebook_pages_create_post
Publish a post on a Page: text, a link, a photo (by URL) or a video (by URL). Set `scheduled_time` to schedule it (10 minutes to 30 days ahead).
| Argument | Type | Description |
|---|
| page_idrequired | string | Page id (from list_pages). |
| message | string | Post text. |
| link | string | URL to share. |
| photo_url | string | Public image URL to post as a photo. |
| video_url | string | Public video URL to post as a video. |
| title | string | Video title. |
| scheduled_time | string | RFC 3339 time to publish at. |
curl -X POST https://driftglass.io/v1/tools/facebook_pages.create_post/execute \
-H "Authorization: Bearer $DRIFTGLASS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"entity_id":"default","arguments":{"page_id":"<page_id>"}}'Schedule post
writefacebook_pages.schedule_postmcp: facebook_pages_schedule_post
Schedule a text or link post on a Page for a time 10 minutes to 30 days ahead.
| Argument | Type | Description |
|---|
| page_idrequired | string | Page id (from list_pages). |
| message | string | Post text. |
| link | string | URL to share. |
| scheduled_timerequired | string | RFC 3339 time to publish at. |
curl -X POST https://driftglass.io/v1/tools/facebook_pages.schedule_post/execute \
-H "Authorization: Bearer $DRIFTGLASS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"entity_id":"default","arguments":{"page_id":"<page_id>","scheduled_time":"<scheduled_time>"}}'Edit post
writefacebook_pages.update_postmcp: facebook_pages_update_post
Change the text of a Page post.
| Argument | Type | Description |
|---|
| page_idrequired | string | Page id (from list_pages). |
| post_idrequired | string | Post id. |
| messagerequired | string | New text. |
curl -X POST https://driftglass.io/v1/tools/facebook_pages.update_post/execute \
-H "Authorization: Bearer $DRIFTGLASS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"entity_id":"default","arguments":{"page_id":"<page_id>","post_id":"<post_id>","message":"<message>"}}'Delete post
writefacebook_pages.delete_postmcp: facebook_pages_delete_post
Delete a Page post.
| Argument | Type | Description |
|---|
| page_idrequired | string | Page id (from list_pages). |
| post_idrequired | string | Post id. |
curl -X POST https://driftglass.io/v1/tools/facebook_pages.delete_post/execute \
-H "Authorization: Bearer $DRIFTGLASS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"entity_id":"default","arguments":{"page_id":"<page_id>","post_id":"<post_id>"}}'Send Messenger message
writefacebook_pages.send_messagemcp: facebook_pages_send_message
Reply to a person in Messenger as the Page (within Messenger's 24-hour window after their last message).
| Argument | Type | Description |
|---|
| page_idrequired | string | Page id (from list_pages). |
| recipient_idrequired | string | Page-scoped id of the person (from list_conversations). |
| textrequired | string | Message text. |
curl -X POST https://driftglass.io/v1/tools/facebook_pages.send_message/execute \
-H "Authorization: Bearer $DRIFTGLASS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"entity_id":"default","arguments":{"page_id":"<page_id>","recipient_id":"<recipient_id>","text":"<text>"}}'