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.
Alcance
social_planner:read
Permiso
Ver el módulo
Tool del MCP
social_planner_labels_listEn la superficie completa; en la compacta, mb_execute_operation con id: "social_planner.labels.list".
Costo declarado: hasta 200 lecturas y 0 escrituras por llamada (cuentan en el cupo diario).
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.
Alcance
social_planner:write
Permiso
Editar en el módulo
Tool del MCP
social_planner_labels_createEn la superficie completa; en la compacta, mb_execute_operation con id: "social_planner.labels.create".
Costo declarado: hasta 1 lecturas y 1 escrituras por llamada (cuentan en el cupo diario).
Parámetros
namestringcuerporequerido
The label's name (1 to 50 characters).
colorstringcuerpoopcional
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.
Alcance
social_planner:write
Permiso
Editar en el módulo
Tool del MCP
social_planner_labels_updateEn la superficie completa; en la compacta, mb_execute_operation con id: "social_planner.labels.update".
Costo declarado: hasta 1 lecturas y 1 escrituras por llamada (cuentan en el cupo diario).
Parámetros
label_idstringrutarequerido
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.
Alcance
social_planner:write
Permiso
Editar en el módulo
Tool del MCP
social_planner_labels_reorderEn la superficie completa; en la compacta, mb_execute_operation con id: "social_planner.labels.reorder".
Costo declarado: hasta 200 lecturas y 200 escrituras por llamada (cuentan en el cupo diario).
Parámetros
label_idsarray<string>cuerporequerido
Label ids in the new order (from social_planner.labels.list): position = index. Ids that no longer exist are skipped (counted in skipped).
Respuesta
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.
Con una API key, este DELETE se ejecuta directo: el registro queda 30 días en la papelera y la respuesta trae su trash_item_id. Con un token OAuth, y por el MCP, pide dry_run → confirm_token.
Alcance
social_planner:writey «Permitir eliminar» (social_planner:delete en OAuth)
Permiso
Editar en el módulo
Tool del MCP
social_planner_labels_deleteEn la superficie completa; en la compacta, mb_execute_operation con id: "social_planner.labels.delete".
Costo declarado: hasta 501 lecturas y 501 escrituras por llamada (cuentan en el cupo diario).
Parámetros
label_idstringrutarequerido
The Planner label id (from social_planner.labels.list).
Respuesta
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.