Skip to main content
Glama

Schedule publish

schedule_publish
Destructive

Schedule a rendered video for the selected channel or connected accounts (TikTok, YouTube, Instagram, X, Facebook Pages, webhook). Pass scheduledTime to publish at an exact date and time; omit it to use the next open queue slot. Use list_social_accounts first to find ids and handles.

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": {
      "videoUrl": "<videoUrl>"
    },
    "name": "schedule_publish"
  }
}

Input Schema

NameRequiredDescriptionDefault
xNoPost the video to a connected X (Twitter) account. Pick the destination from `list_social_accounts` (platform "x"): pass its id, or its username. Video must be 2:20 or shorter (10 min on X Premium), max 512 MB. Skip accounts with tokenInvalid: true and ask the user to reconnect them in Revid settings.
tiktokNoPost to a connected TikTok account: { id or username, title? (or caption?), privacy_level? }. If omitted, falls back to extraParams.title or extraParams.description.
webhookNoSend the video to a configured webhook: { id or username, title?, description? }.
youtubeNoPost to a connected YouTube channel: { id or username, title?, description? }.
facebookNoPost the video to a connected Facebook Page (Pages only, not personal profiles). Pick the destination from `list_social_accounts` (platform "facebook"): pass its id, or its name. Skip Pages with tokenInvalid: true and ask the user to reconnect them in Revid settings.
videoUrlYesPublic URL for the video to publish.
channelIdNoSaved Revid channel id (channels[].id from `list_social_accounts`). A channel bundles several accounts; mutually exclusive with per-platform accounts.
instagramNoPost to a connected Instagram account: { id or username, caption? (or title?) }. If omitted, falls back to extraParams.title or extraParams.description.
channelNameNoSaved Revid channel name (channels[].name from `list_social_accounts`).
extraParamsNoAdditional content metadata forwarded to Revid. extraParams.title and extraParams.description are the default caption/title/description for every destination; extraParams.thumbnailUrl the default cover. A default title longer than a destination's title limit (YouTube 100, webhook 100, Facebook 255 characters) is shortened for that destination, at a word boundary when possible; captions keep it whole. An explicit youtube.title, webhook.title or facebook.title over its limit is refused, never shortened.
scheduledTimeNoExact publish time. ISO 8601 with Z or an offset (e.g. 2026-10-04T18:00:00+02:00), ISO 8601 without offset (read in the account timezone, like the queue page), or unix seconds. Must be in the future and within 365 days. Omit to use the next open queue slot of the channel.

Output Schema

NameRequiredDescriptionDefault
okYes
dataNo
errorNo
methodYes
statusYes
endpointYes
retryAfterSecondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / tiktok / description
      Previous value: -"Post to a connected TikTok account: { id or username, title?, privacy_level? }."New value: +"Post to a connected TikTok account: { id or username, title? (or caption?), privacy_level? }. If omitted, falls back to extraParams.title or extraParams.description."
  2. Changed1 schema field changed
    • changedInput schema / properties / instagram / description
      Previous value: -"Post to a connected Instagram account: { id or username, caption? }."New value: +"Post to a connected Instagram account: { id or username, caption? (or title?) }. If omitted, falls back to extraParams.title or extraParams.description."
  3. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare this as a non-read-only, non-idempotent, open-world, destructive operation; the description adds queue-slot defaulting and the account-lookup prerequisite. It omits behavior an agent would want for a destructive publish: that posting is irreversible across external platforms, whether credits are consumed, and what happens when several destinations are supplied at once.

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?

Three tight sentences, front-loaded with the action and destinations, then the scheduling rule, then the prerequisite. No filler or repetition of schema detail.

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 an 11-parameter nested tool with an output schema, the description covers the destination model, timing model, and lookup prerequisite, which is the core an agent needs. It leaves out credit cost, irreversibility, and multi-destination behaviour, so it is strong but not fully complete.

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%, including per-platform id vs username, fallback captions, and the scheduledTime format/timing constraints, so the schema carries the parameter semantics. The description only restates the scheduledTime behaviour and gestures at 'channel or connected accounts', adding little beyond the structured field text -- the high-coverage baseline of 3.

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?

Specific verb plus resource ('Schedule a rendered video') with an explicit enumeration of every supported destination (TikTok, YouTube, Instagram, X, Facebook Pages, webhook) and the two destination-selection modes (channel vs connected accounts). It stops short of naming the obvious alternative (publish_now) to make the scheduling-vs-immediate boundary explicit.

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 a clear decision rule -- pass scheduledTime for an exact time, omit it to take the next open queue slot -- plus a prerequisite ordering ('Use list_social_accounts first to find ids and handles'). It does not state when to prefer a sibling such as publish_now or calculate_credits instead, so no true exclusion guidance is present.

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