Skip to main content
Glama
RecurPost MCP Server
by dinwal

library_content_update

Update specific fields of an existing library post while leaving omitted fields unchanged, including per-network text, media, comments, and live/expire dates.

Instructions

Change some fields of a library post; fields left out keep their values. library_id is the cd_id, id the post id from library_content_list or library_content_search. A blank content_livedate or content_expiredate clears that date. The per-network options post_content takes (post types, first comments per network, YouTube, TikTok, Google Business and Pinterest fields and more) work here too through call_endpoint on the same endpoint.

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": {
      "library_id": "<library_id>",
      "id": "<id>"
    },
    "name": "library_content_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesEncrypted library post id from /api/library_content_list.
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.
messageNoNew post text; left out, the stored text stays. \r\n is normalised to \n.
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.
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.
library_idYesEncrypted id of the library the post belongs to (active or as a draft), from /api/library_list.
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.
gmb_messageNoText for Google Business accounts when it should differ from message.
workspace_idNoWorkspace to act in (ws_id from workspace_list). Omit to use your default workspace.
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.
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.
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. Left out, the stored date stays; blank clears it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare a non-read-only, non-destructive, open-world mutation, so the safety profile is covered. The description adds genuinely useful behavior beyond that: partial updates preserve omitted fields, and blank content_livedate/content_expiredate clears the date rather than leaving it. It does not discuss return payloads, permission requirements, or side effects on already-scheduled posts.

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?

Three front-loaded sentences with no filler; patch semantics lead, followed by id provenance and then the two behavioral caveats. The final sentence about per-network options via call_endpoint is dense and slightly convoluted, but it is carrying real information rather than padding.

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 21-parameter mutation with no output schema, the definition covers the essentials: partial-update semantics, id sourcing, date-clearing, and how the larger post_content option surface applies here. What remains uncovered (response shape, validation errors beyond the date fields) is largely documented per-parameter in the schema.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description still adds mapping value by asserting library_id is the cd_id and id comes from list/search results, which is only partially visible in the schema. The blank-clears rule for the two date fields is repeated from content_expiredate's schema text and is genuinely new only for content_livedate.

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?

States a specific verb and resource ('Change some fields of a library post') and immediately pins down PATCH semantics: 'fields left out keep their values.' It also anchors itself against siblings by naming where the two required ids come from (library_content_list / library_content_search) and by relating its extended options to post_content.

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?

Gives clear usage context: this is the edit path for existing library posts, the ids must come from the list/search tools, and blank dates are the clearing mechanism. It does not explicitly state when to prefer a different tool (e.g. post_content for creating, library_content_delete for removal), so no true exclusions are provided.

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