Schedule the first comment of a LinkedIn post from Claude or ChatGPT: the schedule_post_comment tool
MagicPost lets an AI assistant arm a comment under one of your LinkedIn posts before the post is live: schedule_post_comment attaches the comment to a draft or to a scheduled post, and MagicPost publishes it from your own LinkedIn account a set number of minutes after the post, from 0 minutes to 7 days.
- Access
- Writes to your account
- Managed accounts
- Works on managed accounts
- Organization admins only
- No
- Plan
- Creator: $48 (€41) per month, or $27 (€23) per month billed yearly
- Credits
- No credits. Scheduled comments are part of the plan.
- Tested on
The common use is the link you keep out of the post body. The post goes out clean, and the comment that carries the link follows. The comment is tied to the post and has no date of its own, so it moves with the post when you reschedule. MagicPost publishes the post and its comment through LinkedIn's official API, with no session cookie and no LinkedIn password.
The three exchanges below were recorded in Claude Code, connected to the production server, on drafts marked [TEST MCP]. Each answer shows the values the server returned, tool by tool. Cuts are in square brackets. The requests are worded here as a reader would type them. In the test, the calls were made one at a time, in this order.
Prompts and answers
Guardrails
- The post has to be yours and unpublished: a draft or a scheduled post. On a post that is live or being published, the call is refused with
post_already_published(HTTP 409). - A comment that mentions someone who cannot be tagged is refused when you arm it (
failed_tag, HTTP 400). You learn it in the conversation, long before the publication date. - The server never replays this call on its own. After a network error, read the post with
get_postbefore you call again: a blind second call can arm the same comment twice. - If the post is published while the comment is being saved, MagicPost removes the comment and answers
post_already_published. No comment stays behind without a publication date. - Arming a comment needs no LinkedIn connection. Scheduling the post does. On a managed account with no LinkedIn connected, our test armed the comment, then
schedule_postrefused withtoken_expired(HTTP 400) and a hint to reconnect. - After a cancel, read
publication.state. In our test it was back todraftwhilescheduled_atstill showed the old date, and the calendar no longer listed the post. - Scheduled comments have to be part of the account's plan. When they are missing, the answer is
scheduled_comments_forbidden(HTTP 403) and a retry changes nothing.
Limits
- 1,250 characters per comment, which is LinkedIn's own limit for a comment.
minutes_aftergoes from 0 to 10,080, which is 7 days. At 0, the comment leaves right after the post is published.- One comment per call. A post can carry several comments, each with its own delay.
- Text only: the tool has no parameter for an image or a file.
- An armed comment cannot be edited. Remove it with
delete_post_comment, then arm a new one. - Cancelling the schedule of a post keeps its armed comments. In our test,
get_poststill listed the comment on the draft aftercancel_scheduled_post, withpublish_atempty. - A comment armed from an assistant is saved as scheduled (
is_draft: false). The app also lets you keep a comment as an unscheduled draft, which is never published; the tool has no such state. - 60 calls per minute per connection, the default rate shared with most tools.
What it does not do
- It does not comment on a post that is already on LinkedIn. Use
engage_with_postinstead. - It does not answer a comment someone left under your post. Use
reply_to_commentinstead. - It does not schedule the post. An armed comment on a draft waits until the draft is scheduled or published. Use
schedule_postinstead. - It does not change or remove a comment that is already armed. Use
delete_post_commentinstead. - It does not look up the person or the page to mention. Paste the
mentionvalue returned by the mention search into the comment text. Usesearch_mentionsinstead.
Parameters
| Parameter | Type | Required |
|---|---|---|
post_id | string | Yes |
text | string | Yes |
minutes_after | integer | No |
member_user_id | string | No |
Tools often chained with it
create_or_update_postschedule_postget_postdelete_post_commentcancel_scheduled_postsearch_mentions
Assistants
In the MagicPost app
When does a scheduled LinkedIn comment go out?
The comment is stored with a delay and no date. Its date is set at the moment the post is published: publication time plus minutes_after. The delay counts from the real publication time. If the post leaves two days later than first planned, the comment leaves two days later too.
- 0 minutes. The comment is sent as soon as the post is on LinkedIn.
- 1 to 10,080 minutes. The comment waits for its turn and is published by the MagicPost scheduler.
Until the post is published, publish_at, state and comment_url stay empty in the answer, as in our test. get_post lists every comment attached to a post under scheduled_comments.
How to ask an assistant for a first comment on LinkedIn
Give the assistant three things: which post, the exact text of the comment, and the delay. Without a delay it uses 0.
- "Add a first comment with this link to the post scheduled for Thursday, 2 minutes after it goes out."
- "Arm two comments on my draft about pricing: the link right away, and a question to the readers one hour later."
- "Show me the comments armed on next week's posts." The assistant reads the calendar, then each post.
On a managed account, name the account. The assistant passes its member_user_id, and the comment is published by that member's LinkedIn account.
About MagicPost
MagicPost is the LinkedIn tool to write, schedule and analyze your posts, in your own voice and through LinkedIn's official API.
Try MagicPost