Lists the labels used to tag Social Planner posts (name, hex color, order), in the order the planner shows them (up to 200). Use their ids in label_ids when creating or updating posts and to filter social_planner.posts.list. Requires view access to the Social Planner.
Scope
social_planner:read
Permission
View the module
MCP tool
social_planner_labels_listOn the full surface; on the compact one, mb_execute_operation with id: "social_planner.labels.list".
Declared cost: up to 200 reads and 0 writes per call (they count against the daily quota).
Creates a post label with a name (up to 50 characters) and a hex color (#rrggbb; default #ef4444, the first of the palette), placed last in the order (the first label is 0). Labels are per organization (workspace or account), up to 200 (409 limit_reached, details.resource post_labels). Returns the label with its id. Requires full access to the Social Planner.
Scope
social_planner:write
Permission
Edit in the module
MCP tool
social_planner_labels_createOn the full surface; on the compact one, mb_execute_operation with id: "social_planner.labels.create".
Declared cost: up to 1 reads and 1 writes per call (they count against the daily quota).
Parameters
namestringbodyrequired
The label's name (1 to 50 characters).
colorstringbodyoptional
Its color, hex #rrggbb. Default #ef4444 (the first of the palette).
Updates the name, the color (#rrggbb) or the position (order) of a post label; posts that use it keep it. Returns the updated label. Requires full access.
Scope
social_planner:write
Permission
Edit in the module
MCP tool
social_planner_labels_updateOn the full surface; on the compact one, mb_execute_operation with id: "social_planner.labels.update".
Declared cost: up to 1 reads and 1 writes per call (they count against the daily quota).
Parameters
label_idstringpathrequired
The Planner label id (from social_planner.labels.list).
Sets the order of post labels: label_ids in the new order (position = index). Ids that are not labels of this organization (another tab deleted one) are skipped and counted in skipped; repeated ids are 400 duplicate_label_ids. Returns count (reordered) and skipped. Requires full access.
Scope
social_planner:write
Permission
Edit in the module
MCP tool
social_planner_labels_reorderOn the full surface; on the compact one, mb_execute_operation with id: "social_planner.labels.reorder".
Declared cost: up to 200 reads and 200 writes per call (they count against the daily quota).
Parameters
label_idsarray<string>bodyrequired
Label ids in the new order (from social_planner.labels.list): position = index. Ids that no longer exist are skipped (counted in skipped).
Response
countnumber
Labels reordered.
skippednumber
Ids skipped because they are not labels of this organization.
Deletes a post label and removes it from every post that has it (the posts themselves are not touched otherwise). The label goes to the 30-day trash; restoring it brings the label back but not its assignments to posts. The dry run says how many posts have it. Returns how many posts were updated. Requires full access.
With an API key, this DELETE runs directly: the record stays 30 days in the trash and the response carries its trash_item_id. With an OAuth token, and through the MCP, it needs dry_run → confirm_token.
Scope
social_planner:writeand “Allow deletions” (social_planner:delete in OAuth)
Permission
Edit in the module
MCP tool
social_planner_labels_deleteOn the full surface; on the compact one, mb_execute_operation with id: "social_planner.labels.delete".
Declared cost: up to 501 reads and 501 writes per call (they count against the daily quota).
Parameters
label_idstringpathrequired
The Planner label id (from social_planner.labels.list).
Response
oktrue
posts_updatednumber
trash_item_idstring
The trash item this deletion left: the item_id of platform.trash.restore (POST /trash/{item_id}/restore). Missing if nothing went to the trash.
trash_item_idsarray<string>
Only when the deletion left more than one copy: all of them, the first being trash_item_id.
trash_expires_atnumber
When the copy leaves the trash for good (epoch ms): 30 days after the deletion.