Skip to main content
Glama

Social media studio

Schedule Post

schedule_post
Destructive

Schedule an existing post for future publishing. Accepts threadParts to set the chain at the same time and tiktok to set the TikTok privacy level and comment settings; a TikTok post with no privacy level is rejected.

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>",
      "scheduledAt": "<scheduledAt>"
    },
    "name": "schedule_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesPost UUID
tiktokNoTikTok only: the publishing options TikTok requires. TikTok rejects a post that has no privacy level, so this object is required on every TikTok post. privacyLevel is limited to the values get_tiktok_creator_info returns in privacy_level_options for the account (a private account cannot use PUBLIC_TO_EVERYONE). Duet and stitch default to on. Any non-TikTok target rejects this field with an error.
scheduledAtYesISO date string (must be in the future)
threadPartsNoA multi-post chain: the posts that follow the head post, in order. Supported platforms only: TWITTER, THREADS, BLUESKY, MASTODON. The post's own `text` is the head post, so threadParts[0] is the FIRST REPLY, not the head. A 3-post chain is text plus 2 thread parts. Limits: 24 parts everywhere, and per platform TWITTER 280 characters / 4 media, THREADS 500 characters / 20 media, BLUESKY 300 graphemes / 4 media, MASTODON 500 characters / 4 media. BLUESKY counts GRAPHEMES, not characters, so one emoji is one unit there. Each part is an object { text, fileIds }; a plain string is accepted and read as { text }. A part needs text or fileIds, or both. Any other target rejects this field with an error — for those platforms put the whole message in text. Omit the field for a single post; pass [] to clear an existing chain. Publishing is best effort past the head: if a part fails the head stays live, the ids that did publish are kept, and the post carries a warning saying how many parts published.
firstCommentNoOne comment posted automatically under the post right after it publishes — usually hashtags or a link. Supported platforms only: FACEBOOK, INSTAGRAM, TWITTER, YOUTUBE, BLUESKY, MASTODON. Per-platform character limits: FACEBOOK 8000, INSTAGRAM 2200, TWITTER 280, YOUTUBE 10000, BLUESKY 300, MASTODON 500. Over the limit is a 400. A target that does not support a first comment is NOT rejected: the post publishes there without the comment and the response carries a warning { code: "FIRST_COMMENT_UNSUPPORTED", platforms: [...] }. With threadParts the comment goes under the LAST part of the chain, not the head post. Omit the field to leave an existing comment untouched; pass "" to clear it. Delivery is tracked on the post as firstCommentStatus (pending, posted, failed, skipped).

Output Schema

NameRequiredDescriptionDefault
idYes
fileNo
textNo
shareIdNo
metaDataNo
postTypeYes
shareUrlNo
warningsNo
accountIdNo
createdAtNo
updatedAtNo
postStatusYesCurrent status; queued/scheduled does not mean published.
descriptionNo
scheduledAtNo
socialMediaYes
failureReasonNo
firstCommentErrorNo
firstCommentStatusNoDelivery of the automatic first comment: pending, posted, failed or skipped. Null when the post has none.
firstCommentPostedAtNo
firstCommentPlatformIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already mark this as a destructive, open-world mutation, and the description adds the useful constraint that a TikTok post without a privacy level is rejected. It does not otherwise explain scheduling consequences, failure behavior, or what the mutation affects beyond what the schema already says.

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

Conciseness5/5

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

Two sentences, front-loaded with the primary action, then the two notable parameter behaviors. There is no redundant or filler wording.

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?

The tool is complex, but the schema is extremely rich, an output schema exists, and annotations cover safety semantics. The description gives the core purpose and the important TikTok privacy rejection rule, making it sufficient for correct invocation, though it omits mention of first-comment behavior and scheduling failure modes that the schema covers.

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 fully documents id, scheduledAt, threadParts, tiktok, and firstComment. The description only briefly highlights threadParts and tiktok, adding little semantic detail beyond the schema's own descriptions.

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

Purpose4/5

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

The description states a specific verb and resource: scheduling an existing post for future publishing. That distinguishes it from post-creation and generation tools, though it does not explicitly name any sibling alternative.

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

Usage Guidelines3/5

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

The phrase 'existing post' implies the tool is for already-created posts, and the TikTok privacy requirement is noted. However, there is no explicit guidance about when to use this instead of siblings such as create_post, generate_and_schedule, or approve_post.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources