Skip to main content
Glama

Publish posts now

batch_publish_now
Destructive

Publishes multiple draft or scheduled posts immediately in a single call. Equivalent to calling publish_now for each post but batched. Use this when publishing more than one post. Pass either video_post_ids, or video_upload_id to publish every draft/scheduled post of that upload (optionally only the given platforms). Each post is checked like publish_now (subscription, quota, connection health, caption limits); one failure doesn't stop the rest. Returns per-post results.

Input Schema

NameRequiredDescriptionDefault
platformsNoWith video_upload_id only: limit to these platforms, e.g. ["twitter", "threads"]. Omit for all of the upload's draft/scheduled posts.
video_post_idsNovideo_posts.id values to publish now (max 50). Typically from create_post_drafts.
idempotency_keyNoOptional client-generated key (e.g., a UUID) to make retries safe. Identical calls with the same key within 10 minutes return the original result instead of running the write twice.
video_upload_idNoInstead of video_post_ids: publish every draft or scheduled post of this upload.
notify_on_successNoEmail the user when each post successfully publishes. Defaults to false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already flag this as a destructive, non-read-only, open-world operation, and the description adds important behavior beyond that: each post is validated for subscription, quota, connection health, and caption limits. It also discloses partial-failure semantics, notable for a batch mutation: one failure does not stop the rest. That is exactly the kind of operational context an agent needs before invoking a destructive batch 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 front-loaded with the core action and its batch nature, then moves through input modes, validation behavior, failure isolation, and return shape. Every sentence contributes operational information; there is no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive batch mutation with no output schema, the description covers the essential gaps: input mode selection, per-post validation, partial failure behavior, and the shape of results (per-post). Combined with annotations and schema descriptions, an agent has enough to call this correctly and interpret outcomes.

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 schema already documents each parameter well. The description adds relational meaning by clarifying the either/or usage between video_post_ids and video_upload_id, and by noting that platforms applies only with video_upload_id. That goes beyond individual field descriptions.

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 states a specific verb and resource: publishing multiple draft or scheduled posts immediately in one batch call. It explicitly distinguishes itself from the singular sibling publish_now by calling itself the batched equivalent. An agent can tell exactly what this does without opening the schema.

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 clearly says to use this when publishing more than one post and names publish_now as the per-post equivalent, which gives the agent a usable alternative. It does not explicitly state the inverse rule, such as 'use publish_now for a single post', so it stops just short of fully explicit when/when-not guidance.

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.