MCPMCP Tools/Posts/list_posts

list_posts

Readposts:read

Scope location means one location, brand means locationless client posts, all means every client post; default location when locationId is given (this excludes the client's client-level posts; for those pass clientId with scope brand or all), otherwise all. Read stored Synup Posts only, including unpublished Series drafts and imported posts; this does not fetch Google or any other provider. Zero matching stored posts is not proof of zero public posts. A narrowed single-page result may include excluded: counts of matching posts its location scope or status filter left out. Provide clientId or locationId; both must agree. Follow nextPage until hasMore is false and reconcile changed totals/IDs; pages reflect current database reads, not a snapshot; live-pagination means database consistency, never a live provider check. createdFrom/createdTo (legacy from/to) filter creation dates; scheduledFrom/scheduledTo filter actual schedules, never suggestions. For the latest or most recent published posts, pass sortBy postDate with status active: the default order is newest stored first, which for imports is import time, not publish date. UI Series titles belong to list_distribution_campaigns, not ContentSeries ideas.

Parameters
locationIdstringoptional
The location's id (from list_locations). Accepts the database ID or public loc- ID. IDs must belong to the authenticated agency and permitted client.
clientIdstringoptional
Client id. With scope brand or all (the default without locationId) it covers client-level posts with no location; with locationId the default scope is that location only. Accepts the database ID or public cli- ID. IDs must belong to the authenticated agency and permitted client.
connectionIdstringoptional
Connected account id; intersects selected scope.
distributionCampaignIdstringoptional
UI Series / DistributionCampaign id.
postIdsstring[]optional
Exact real Post ids; [] returns no posts.
createdFromstringoptional
Creation time from (ISO).
createdTostringoptional
Creation time to (ISO).
scheduledFromstringoptional
Actual scheduled time from (ISO); excludes unscheduled drafts.
scheduledTostringoptional
Actual scheduled time to (ISO).
scope"location" | "brand" | "all"optional
Post scope.
pagenumberoptional
Positive page number; default 1.
platform"google" | "facebook" | "instagram" | "x" | "linkedin" | "pinterest" | "mastodon" | "bluesky" | "threads" | "tiktok" | "youtube"optional
Filter by platform.
type"announcement" | "event" | "offer"optional
Filter by post type.
status"draft" | "scheduled" | "paused" | "publishing" | "active" | "partial" | "error" | "expired" | "incomplete"optional
Filter by status. `incomplete` = drafts that can't publish yet because a required field is missing (each comes back with its missingFields).
fromstringoptional
Created from (ISO).
tostringoptional
Created to (ISO).
searchstringoptional
Name contains (case-insensitive).
limitnumberoptional
Page size 1–50; default 50.
sortBy"createdAt" | "postDate" | "scheduledFor"optional
Order of the list. Default `createdAt` = newest stored first; for imported posts that is the import time, NOT the publish date. `postDate` = the post's actual date (its schedule, else the original platform publish time, else creation); use it for 'latest/most recent published posts' together with status `active` (published). `postDate` is sorted over the newest 500 stored matches; `sortedBy.complete: false` means more exist.
sortDir"desc" | "asc"optional
Sort direction; default desc (newest first).
Example request
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "list_posts",
    "arguments": {}
  }
}
Example response
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "..."
      }
    ]
  }
}

Response shape shown for illustration — the actual content depends on the tool and your data.