Skip to main content
Glama

Publish now

publish_now
Destructive

Publish a rendered video immediately using the selected channel or connected accounts (TikTok, YouTube, Instagram, X, Facebook Pages, webhook). 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": "publish_now"
  }
}

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.

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 destructiveHint=true, openWorldHint=true, and idempotentHint=false, so the agent knows this is an irreversible external side effect. The description is consistent with that but adds little: it never states that posts go public, that publishing consumes credits, or what happens on partial multi-destination failure. It does add cost-free context by naming the platforms actually reachable.

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 action and destination list, followed by the prerequisite call. Every clause earns its place with no restatement of the title.

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?

An output schema exists, so return values need not be described, and the input schema is exhaustively documented. For a destructive, multi-destination publish action the description is adequate but thin on failure/partial-success behavior and on mutability being non-idempotent.

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% and the nested platform objects carry per-field detail (id vs. username precedence, title limits, privacy enums), so the schema does the heavy lifting. The description only echoes that a 'channel or connected accounts' select the destination, adding no format or precedence nuance beyond the schema.

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 ('Publish a rendered video immediately') and enumerates the supported destinations (TikTok, YouTube, Instagram, X, Facebook Pages, webhook), so an agent can tell what the tool does. The word 'immediately' implicitly separates it from scheduling, but the sibling schedule_publish is never named, so the distinction requires inference.

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 gives an explicit prerequisite workflow: call `list_social_accounts` first to obtain ids and handles, and it names which destinations are supported. It stops short of exclusions (e.g., 'use schedule_publish instead if you need a future publish time') or guidance on channel vs. per-platform selection beyond one clause in the schema.

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