Skip to main content
Glama

publish_now

Publish local videos and images instantly to TikTok, Instagram, and YouTube. Create carousels from image folders or target specific accounts with connection IDs.

Instructions

Upload local file(s) and publish immediately to TikTok, Instagram, and/or YouTube. Pass a folder path to publish all images in it as a carousel. Use account_ids (from list_connections) to target a specific account when you have multiple accounts on the same platform.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathsYesLocal file path(s) or a folder path. Single video → video post. Multiple images or image folder → carousel.
captionYesPost caption.
hashtagsNoHashtags without # prefix.
platformsNoPlatforms to publish to (uses the first connected account per platform). Omit when using account_ids.
account_idsNoSpecific connection IDs to publish to. Use list_connections to get IDs. Required when you have multiple accounts on the same platform and want to target a specific one. Takes precedence over 'platforms' when both are provided.
Behavior3/5

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

No annotations are provided, so the description bears the full burden. It discloses immediate publishing, folder-to-carousel behavior, and account targeting, which is useful. However, it does not mention that publishing is irreversible/live, authentication requirements, or what happens to uploaded files, leaving some behavioral gaps for a mutation tool.

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?

The description is three concise sentences, front-loaded with the core action, then adding carousel behavior and account targeting. Every sentence carries useful information with no filler or repetition of the tool name.

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?

Given the tool's moderate complexity and full schema coverage, the description adequately explains purpose, platforms, file/folder input, and account selection. It does not explain the return value or error cases, but with no output schema, this is a minor gap for an otherwise clear publish action.

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?

The input schema covers 100% of parameters with descriptive text, so the baseline is 3. The description largely reiterates schema details, such as folder paths for carousels and account_ids precedence. It adds little beyond the schema, mainly cross-referencing list_connections, which is already in the schema.

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 description clearly states the verb and resource: 'Upload local file(s) and publish immediately' to TikTok, Instagram, and/or YouTube. It also distinguishes itself from sibling tools by emphasizing immediacy, unlike schedule_post or send_to_drafts, and by describing the carousel behavior for folders.

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 provides explicit guidance on when to use account_ids vs platforms: 'Use account_ids (from list_connections) to target a specific account when you have multiple accounts on the same platform.' It does not explicitly mention exclusions or alternatives like scheduled posting, but the 'immediately' phrasing and sibling tool names imply the distinction.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AI-Product-Allen-Yu/viralspin-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server