Skip to main content
Glama
RecurPost MCP Server
by dinwal

add_content_in_library

Adds an evergreen post to a content library so RecurPost can republish it on the library's schedule instead of publishing immediately.

Instructions

Add an evergreen post to a content library; RecurPost republishes it on the library's schedule, nothing is published right away. id is the library id (cd_id from library_list). message is required; per-network texts and media work as in post_content. is_top_of_queue 1 makes it go out next; content_livedate and content_expiredate (YYYY-MM-DD) limit when it may go out. Rarely used options (Instagram location, people, product and reel tags, audio, collaborators, X threads, AI labels, YouTube playlists, per-network media and covers) are reachable with call_endpoint on the same endpoint; find_endpoints shows them.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": "<id>",
      "message": "<message>"
    },
    "name": "add_content_in_library"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesLibrary id (cd_id from library_list). Exactly one.
urlNoLink to share with the post. On a text post the page's title, description and image are fetched and saved as the link preview; when omitted, the first link found in message is used instead.
gbp_ctaNoCall-to-action button on the Google Business post. Case-insensitive. An unknown value or None saves no button. On a link post with no CTA given, Learn more pointing at the link is set automatically. Default: None.
messageYesPost text. \r\n is normalised to \n. The first link in it is used for the link preview when url is omitted.
alt_textNoAlternative text per image, in image_url order; a single string applies to the first image. At most 1000 characters each. Saved on the Facebook, Twitter/X, LinkedIn, Pinterest, Threads and Bluesky tabs.
pi_titleNoPin title. The destination link of the pin is url or the first link in the text.
yt_thumbNoCustom thumbnail URL for the YouTube video. Public image URL; copied to RecurPost storage unless host_images_on_recurpost is off.
yt_titleNoVideo title. YouTube needs a video_url; message or yt_message is the description.
image_urlNoImage URLs, in display order. Send a JSON array (or repeat image_url[] in form encoding); a single string is accepted as a one-item list. At most 20 images.
video_urlNoA public mp4 or mov URL (Google Drive share links are accepted and resolved to the download URL). The file is downloaded and stored on RecurPost storage, so the call takes as long as the download.
bs_messageNoText for Bluesky accounts when it should differ from message.
fb_messageNoText for Facebook accounts when it should differ from message.
in_messageNoText for Instagram accounts when it should differ from message.
ln_messageNoText for LinkedIn accounts when it should differ from message.
pi_messageNoText for Pinterest accounts when it should differ from message.
th_messageNoText for Threads accounts when it should differ from message.
tk_messageNoText for TikTok accounts when it should differ from message.
tw_messageNoText for Twitter/X accounts when it should differ from message.
yt_messageNoText for YouTube (the video description) accounts when it should differ from message.
gbp_cta_urlNoLink the button opens. Not used for Call now. With gbp_cta=Offer and no gbp_redeem_offer_link, this value doubles as the redeem link.
gmb_messageNoText for Google Business accounts when it should differ from message.
ln_documentNoPublic URL of a document to post as a LinkedIn document (carousel) post: PDF, PPT, PPTX, DOC or DOCX, detected from the file bytes, not the file name.
yt_categoryNoCategory name, matched exactly against the list. An unknown or missing name falls back to the default category of the workspace owner's YouTube settings (Entertainment when none is set).
fb_post_typeNoFacebook post type. Case-insensitive; an unknown value keeps feed. Default: feed.
in_post_typeNoInstagram post type. Case-insensitive; an unknown value keeps feed. A reel needs a video_url. Default: feed.
workspace_idNoWorkspace to act in (ws_id from workspace_list). Omit to use your default workspace.
yt_user_tagsNoVideo tags, comma-separated.
first_commentNoFirst comment posted right after the post, commonly hashtags. Applied on Facebook Pages, LinkedIn and Instagram feed posts unless a network-specific first comment is given.
tk_allow_duetNoAllow duets. Only no switches it off. Default: yes.
gbp_offer_termsNoTerms and conditions of the offer.
gbp_offer_titleNoOffer title; offer fields are used when gbp_cta is Offer.
is_top_of_queueNo1 posts this content next on every account the library's schedules cover. Any other value means 0. One of: 0, 1. Default: 0.
content_livedateNoFirst day the post may go out, YYYY-MM-DD; kept as a draft until then. A datetime such as 2026-11-01T00:00:00+05:30 keeps its date part (the first ten characters); any other value answers 400. Blank means active at once.
fb_first_commentNoFacebook first comment; overrides first_comment on Facebook.
in_first_commentNoInstagram first comment (feed posts only); overrides first_comment on Instagram.
ln_first_commentNoLinkedIn first comment; overrides first_comment on LinkedIn.
ln_document_titleNoTitle shown on the LinkedIn document. Defaults to the file name without its extension.
tk_allow_commentsNoAllow comments on the TikTok video. Only no switches it off. Default: yes.
tk_allow_stitchesNoAllow stitches. Only no switches it off. Default: yes.
tk_privacy_statusNoWho can watch the TikTok video. Case-insensitive, spaces or underscores. Any other value is saved as Public to Everyone.
yt_privacy_statusNoVideo privacy. Lower-cased and stored as given; use one of the listed values. Default: public.
content_expiredateNoLast day the post may go out, YYYY-MM-DD; a datetime keeps its date part. Must be on or after content_livedate when both are sent; any other value answers 400. Blank means it never expires.
gbp_offer_end_dateNoOffer end, YYYY-MM-DD HH:MM:SS.
gbp_offer_start_dateNoOffer start, YYYY-MM-DD HH:MM:SS.
gbp_offer_coupon_codeNoCoupon code shown on the offer.
gbp_redeem_offer_linkNoLink to redeem the offer.
in_reel_share_in_feedNoWhether a reel also appears in the profile feed. Only read when in_post_type is reel. Default: yes.
yt_video_made_for_kidsNoWhether the video is made for kids. Only yes switches it on. Default: no.
host_images_on_recurpostNoCopy images and custom thumbnails to RecurPost storage (the default). Send false, 0 or the form string "false" to keep your own URLs instead; they must then stay reachable until every post using them has been published. Default: true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed64 schema fields changedv2.0.0
    • addedInput schema / properties / alt_text
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "string"
      +    }
      +  ],
      +  "description": "Alternative text per image, in image_url order; a single string applies to the first image. At most 1000 characters each. Saved on the Facebook, Twitter/X, LinkedIn, Pinterest, Threads and Bluesky tabs."
      +}
    • changedInput schema / properties / bs_message / description
      Previous value: -"Bluesky-specific message override"New value: +"Text for Bluesky accounts when it should differ from message."
    • changedInput schema / properties / content_expiredate / description
      Previous value: -"Content expiry date (YYYY-MM-DD)"New value: +"Last day the post may go out, YYYY-MM-DD; a datetime keeps its date part. Must be on or after content_livedate when both are sent; any other value answers 400. Blank means it never expires."
    • changedInput schema / properties / content_livedate / description
      Previous value: -"Content live date (YYYY-MM-DD)"New value: +"First day the post may go out, YYYY-MM-DD; kept as a draft until then. A datetime such as 2026-11-01T00:00:00+05:30 keeps its date part (the first ten characters); any other value answers 400. Blank means active at once."
    • changedInput schema / properties / fb_first_comment / description
      Previous value: -"Facebook first comment"New value: +"Facebook first comment; overrides first_comment on Facebook."
    • changedInput schema / properties / fb_message / description
      Previous value: -"Facebook-specific message override"New value: +"Text for Facebook accounts when it should differ from message."
    • changedInput schema / properties / fb_post_type / description
      Previous value: -"Facebook post type"New value: +"Facebook post type. Case-insensitive; an unknown value keeps feed. Default: feed."
    • changedInput schema / properties / fb_post_type / enum
      Previous value: -[
      -  "feed",
      -  "story",
      -  "reel"
      -]New value: +[
      +  "feed",
      +  "reel",
      +  "story"
      +]
    • changedInput schema / properties / first_comment / description
      Previous value: -"Default first comment"New value: +"First comment posted right after the post, commonly hashtags. Applied on Facebook Pages, LinkedIn and Instagram feed posts unless a network-specific first comment is given."
    • changedInput schema / properties / gbp_cta / description
      Previous value: -"Google Business Profile call to action"New value: +"Call-to-action button on the Google Business post. Case-insensitive. An unknown value or None saves no button. On a link post with no CTA given, Learn more pointing at the link is set automatically. Default: None."
    • changedInput schema / properties / gbp_cta / enum
      Previous value: -[
      -  "None",
      -  "Learn more",
      -  "Sign up",
      -  "Buy",
      -  "Order online",
      -  "Book",
      -  "Call now",
      -  "Offer"
      -]New value: +[
      +  "Learn more",
      +  "Sign up",
      +  "Buy",
      +  "Order online",
      +  "Book",
      +  "Call now",
      +  "Offer",
      +  "None"
      +]
    • changedInput schema / properties / gbp_cta_url / description
      Previous value: -"Google Business Profile CTA URL"New value: +"Link the button opens. Not used for Call now. With gbp_cta=Offer and no gbp_redeem_offer_link, this value doubles as the redeem link."
    • removedInput schema / properties / gbp_cta_url / format
      Removed value: -"uri"
    • changedInput schema / properties / gbp_offer_coupon_code / description
      Previous value: -"GBP offer coupon code"New value: +"Coupon code shown on the offer."
    • changedInput schema / properties / gbp_offer_end_date / description
      Previous value: -"GBP offer end date"New value: +"Offer end, YYYY-MM-DD HH:MM:SS."
    • changedInput schema / properties / gbp_offer_start_date / description
      Previous value: -"GBP offer start date"New value: +"Offer start, YYYY-MM-DD HH:MM:SS."
    • changedInput schema / properties / gbp_offer_terms / description
      Previous value: -"GBP offer terms and conditions"New value: +"Terms and conditions of the offer."
    • changedInput schema / properties / gbp_offer_title / description
      Previous value: -"GBP offer title"New value: +"Offer title; offer fields are used when gbp_cta is Offer."
    • changedInput schema / properties / gbp_redeem_offer_link / description
      Previous value: -"GBP offer redemption URL"New value: +"Link to redeem the offer."
    • removedInput schema / properties / gbp_redeem_offer_link / format
      Removed value: -"uri"
    • changedInput schema / properties / gmb_message / description
      Previous value: -"Google Business Profile-specific message override"New value: +"Text for Google Business accounts when it should differ from message."
    • changedInput schema / properties / host_images_on_recurpost / description
      Previous value: -"Host images on RecurPost (default: true)"New value: +"Copy images and custom thumbnails to RecurPost storage (the default). Send false, 0 or the form string \"false\" to keep your own URLs instead; they must then stay reachable until every post using them has been published. Default: true."
    • changedInput schema / properties / id / description
      Previous value: -"Library ID (from library_list)"New value: +"Library id (cd_id from library_list). Exactly one."
    • addedInput schema / properties / image_url / anyOf
      Added value: +[
      +  {
      +    "items": {
      +      "type": "string"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "string"
      +  }
      +]
    • changedInput schema / properties / image_url / description
      Previous value: -"Array of image URLs to attach"New value: +"Image URLs, in display order. Send a JSON array (or repeat image_url[] in form encoding); a single string is accepted as a one-item list. At most 20 images."
    • removedInput schema / properties / image_url / items
      Removed value: -{
      -  "format": "uri",
      -  "type": "string"
      -}
    • removedInput schema / properties / image_url / type
      Removed value: -"array"
    • changedInput schema / properties / in_first_comment / description
      Previous value: -"Instagram first comment"New value: +"Instagram first comment (feed posts only); overrides first_comment on Instagram."
    • changedInput schema / properties / in_message / description
      Previous value: -"Instagram-specific message override"New value: +"Text for Instagram accounts when it should differ from message."
    • changedInput schema / properties / in_post_type / description
      Previous value: -"Instagram post type"New value: +"Instagram post type. Case-insensitive; an unknown value keeps feed. A reel needs a video_url. Default: feed."
    • changedInput schema / properties / in_reel_share_in_feed / description
      Previous value: -"Share Instagram reel in feed"New value: +"Whether a reel also appears in the profile feed. Only read when in_post_type is reel. Default: yes."
    • changedInput schema / properties / is_top_of_queue / description
      Previous value: -"Add to top of queue (1) or bottom (0)"New value: +"1 posts this content next on every account the library's schedules cover. Any other value means 0. One of: 0, 1. Default: 0."
    • removedInput schema / properties / is_top_of_queue / enum
      Removed value: -[
      -  "0",
      -  "1"
      -]
    • changedInput schema / properties / is_top_of_queue / type
      Previous value: -"string"New value: +"integer"
    • changedInput schema / properties / ln_document / description
      Previous value: -"LinkedIn document URL (PPT/PDF/DOCX)"New value: +"Public URL of a document to post as a LinkedIn document (carousel) post: PDF, PPT, PPTX, DOC or DOCX, detected from the file bytes, not the file name."
    • removedInput schema / properties / ln_document / format
      Removed value: -"uri"
    • changedInput schema / properties / ln_document_title / description
      Previous value: -"LinkedIn document title"New value: +"Title shown on the LinkedIn document. Defaults to the file name without its extension."
    • changedInput schema / properties / ln_first_comment / description
      Previous value: -"LinkedIn first comment"New value: +"LinkedIn first comment; overrides first_comment on LinkedIn."
    • changedInput schema / properties / ln_message / description
      Previous value: -"LinkedIn-specific message override"New value: +"Text for LinkedIn accounts when it should differ from message."
    • changedInput schema / properties / message / description
      Previous value: -"Default post content text"New value: +"Post text. \\r\\n is normalised to \\n. The first link in it is used for the link preview when url is omitted."
    • changedInput schema / properties / pi_message / description
      Previous value: -"Pinterest-specific message override"New value: +"Text for Pinterest accounts when it should differ from message."
    • changedInput schema / properties / pi_title / description
      Previous value: -"Pinterest pin title"New value: +"Pin title. The destination link of the pin is url or the first link in the text."
    • changedInput schema / properties / th_message / description
      Previous value: -"Threads-specific message override"New value: +"Text for Threads accounts when it should differ from message."
    • changedInput schema / properties / tk_allow_comments / description
      Previous value: -"Allow TikTok comments"New value: +"Allow comments on the TikTok video. Only no switches it off. Default: yes."
    • changedInput schema / properties / tk_allow_duet / description
      Previous value: -"Allow TikTok duets"New value: +"Allow duets. Only no switches it off. Default: yes."
    • changedInput schema / properties / tk_allow_stitches / description
      Previous value: -"Allow TikTok stitches"New value: +"Allow stitches. Only no switches it off. Default: yes."
    • changedInput schema / properties / tk_message / description
      Previous value: -"TikTok-specific message override"New value: +"Text for TikTok accounts when it should differ from message."
    • changedInput schema / properties / tk_privacy_status / description
      Previous value: -"TikTok privacy status"New value: +"Who can watch the TikTok video. Case-insensitive, spaces or underscores. Any other value is saved as Public to Everyone."
    • changedInput schema / properties / tw_message / description
      Previous value: -"Twitter/X-specific message override"New value: +"Text for Twitter/X accounts when it should differ from message."
    • changedInput schema / properties / url / description
      Previous value: -"Website link to include"New value: +"Link to share with the post. On a text post the page's title, description and image are fetched and saved as the link preview; when omitted, the first link found in message is used instead."
    • removedInput schema / properties / url / format
      Removed value: -"uri"
    • changedInput schema / properties / video_url / description
      Previous value: -"Public video URL to attach"New value: +"A public mp4 or mov URL (Google Drive share links are accepted and resolved to the download URL). The file is downloaded and stored on RecurPost storage, so the call takes as long as the download."
    • removedInput schema / properties / video_url / format
      Removed value: -"uri"
    • changedInput schema / properties / workspace_id / description
      Previous value: -"Workspace ID (ws_id from workspace_list). Omit to use your default workspace."New value: +"Workspace to act in (ws_id from workspace_list). Omit to use your default workspace."
    • changedInput schema / properties / yt_category / description
      Previous value: -"YouTube video category"New value: +"Category name, matched exactly against the list. An unknown or missing name falls back to the default category of the workspace owner's YouTube settings (Entertainment when none is set)."
    • addedInput schema / properties / yt_category / enum
      Added value: +[
      +  "Film & Animation",
      +  "Autos & Vehicles",
      +  "Music",
      +  "Pets & Animals",
      +  "Sports",
      +  "Travel & Events",
      +  "Gaming",
      +  "People & Blogs",
      +  "Comedy",
      +  "Entertainment",
      +  "News & Politics",
      +  "Howto & Style",
      +  "Education",
      +  "Science & Technology",
      +  "Nonprofits & Activism"
      +]
    • changedInput schema / properties / yt_message / description
      Previous value: -"YouTube-specific message override"New value: +"Text for YouTube (the video description) accounts when it should differ from message."
    • changedInput schema / properties / yt_privacy_status / description
      Previous value: -"YouTube privacy status"New value: +"Video privacy. Lower-cased and stored as given; use one of the listed values. Default: public."
    • changedInput schema / properties / yt_privacy_status / enum
      Previous value: -[
      -  "Public",
      -  "Private",
      -  "Unlisted"
      -]New value: +[
      +  "public",
      +  "private",
      +  "unlisted"
      +]
    • changedInput schema / properties / yt_thumb / description
      Previous value: -"YouTube custom thumbnail URL"New value: +"Custom thumbnail URL for the YouTube video. Public image URL; copied to RecurPost storage unless host_images_on_recurpost is off."
    • removedInput schema / properties / yt_thumb / format
      Removed value: -"uri"
    • changedInput schema / properties / yt_title / description
      Previous value: -"YouTube video title"New value: +"Video title. YouTube needs a video_url; message or yt_message is the description."
    • changedInput schema / properties / yt_user_tags / description
      Previous value: -"YouTube tags"New value: +"Video tags, comma-separated."
    • changedInput schema / properties / yt_video_made_for_kids / description
      Previous value: -"Is the YouTube video made for kids"New value: +"Whether the video is made for kids. Only yes switches it on. Default: no."
  2. Changed1 schema field changedv1.1.3
    • addedInput schema / properties / workspace_id
      Added value: +{
      +  "description": "Workspace ID (ws_id from workspace_list). Omit to use your default workspace.",
      +  "type": "string"
      +}
  3. First observedv1.0.0

TDQS

A4.1/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations only declare readOnly=false, destructive=false and openWorld=true; the description adds genuinely new behavior — the evergreen republishing cycle, that nothing goes live immediately, the queue-jump effect of is_top_of_queue, and the date window gating publication. It doesn't cover permission requirements or error behavior beyond the schema's own 400 notes, so not a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is front-loaded with the most decision-relevant fact (nothing publishes right away) and then layered from required fields to optional scheduling to escape hatches. The long parenthetical list of rarely-used options is dense but earns its place by preventing the agent from hunting for them in this schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 49-parameter, open-world mutation with no output schema, the description covers the critical gaps: what the tool actually does over time, which params matter, and where the rest live. The remaining omission is what the call returns (e.g. the created library content id), which matters for follow-up calls such as library_content_update.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents all 49 parameters thoroughly; the description's job reduces to triage. It does useful triage by naming the two required fields, the queue flag, and the date bounds, and by telling the agent that the long tail (Instagram location, collaborators, X threads, per-network covers) lives behind call_endpoint rather than here. That is real but modest added meaning, so baseline 3 fits.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening clause gives a specific verb and resource ("Add an evergreen post to a content library") and immediately contrasts behavior with direct publishing: "RecurPost republishes it on the library's schedule, nothing is published right away." That distinguishes it from the sibling post_content without the agent needing to open either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It sets the usage context clearly (evergreen, scheduled republishing rather than immediate publish) and points to post_content as the reference for per-network texts and media. It also routes advanced callers to call_endpoint/find_endpoints for the rare options. It doesn't explicitly say "use post_content instead when you want to publish now," which keeps it short of a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.