Skip to main content
Glama

schedule_post

Destructive

Schedule one post, several, or every version of one to publish automatically at scheduled_for.

Every post first passes the same checks as publish_post. Several posts come back per post in posts with scheduledCount; one that cannot be scheduled is reported on its own and the rest still go (at most 10 per call). schedules gives up to 25 posts each its own time in one call; next_slot gives each post its account's next free posting slot in turn. A cadence the user asks for ("3 a day", "at 12:00 and 19:00") is the account's posting slots, set once with update_workspace(account_posting=...), which next_slot then fills; it is not a limit.

Args: scheduled_for: ISO 8601 datetime (e.g. "2026-04-01T10:00:00Z"), in the future (Free: up to 30 days ahead; paid plans: any time); or "next_slot": the account's next free posting slot (posting.slots, shown by get_post_context), named in the answer's slot (no slots: the soonest allowed time, slotFallback). post_ids: The posts to schedule. campaign_id: Every version of one post (its campaignId from create_post) instead. post_id: One post; the same as post_ids=[post_id]. workspace_id: Workspace ID or name. Optional if user has only one workspace. tiktok_settings: As publish_post's. schedules: Instead of post_id / post_ids / campaign_id: [{post_id, scheduled_for, tiktok_settings?}], each scheduled as a one-post call, in order, e.g. [{"post_id": "a1", "scheduled_for": "2026-04-01T10:00:00Z", "tiktok_settings": {"useLast": true}}]. A top-level scheduled_for or tiktok_settings fills the entries that leave theirs out (tiktok_settings only on TikTok posts). routine_id: The Autopilot routine this run is for: its mode decides whether it may schedule or publish.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "schedule_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
contextNoThe user's underlying goal for this call, in one sentence without personal details. Used for product analytics only.
post_idNo
post_idsNo
llm_modelNoThe model identifier of the calling assistant, or "unknown". Used for product analytics only.
schedulesNo
routine_idNo
campaign_idNo
workspace_idNo
scheduled_forNo
conversation_idNoThe conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics.
tiktok_settingsNo

Output Schema

NameRequiredDescriptionDefault
_mcp_instructionsNoServer-issued metadata for this conversation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / conversation_id / description
      Previous value: -"Pass the exact conversation_id from the server's previous response, unchanged. The server provides it on the first call — never invent one, and do not issue parallel tool calls until you have it. Keep passing the same conversation_id for the rest of the conversation, including after later user messages or on a different task; do not reset it when the user starts a new request."New value: +"The conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics."
  2. Changed1 schema field changed
    • addedInput schema / properties / routine_id
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Routine Id"
      +}
  3. Changed5 schema fields changed
    • addedInput schema / properties / scheduled_for / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / scheduled_for / default
      Added value: +null
    • removedInput schema / properties / scheduled_for / type
      Removed value: -"string"
    • addedInput schema / properties / schedules
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "additionalProperties": true,
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Schedules"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "scheduled_for"
      -]New value: +[]
  4. Changed1 schema field changed
    • changedInput schema / required
      Previous value: -[
      -  "scheduled_for",
      -  "context",
      -  "llm_model"
      -]New value: +[
      +  "scheduled_for"
      +]
  5. Changed1 schema field changed
    • addedInput schema / properties / tiktok_settings
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": true,
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Tiktok Settings"
      +}
  6. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Adds substantial context beyond the destructive/openWorld annotations: a 10-post cap per call, 25 posts for `schedules`, per-item failure isolation ('one that cannot be scheduled is reported on its own and the rest still go'), ordering for `schedules`, and plan-based horizon limits (Free 30 days). What it does not cover is what `destructiveHint=true` means operationally here — e.g. whether re-scheduling overwrites an existing slot or how to cancel a scheduled post.

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

Conciseness4/5

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

Front-loads the capability and the `publish_post` relationship, then uses an Args block for per-parameter detail, which keeps the prose scannable. It is on the long side and repeats some return-field names (`posts`, `scheduledCount`, `slot`) that a structured output schema likely already covers.

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 an 11-parameter, no-required-field batch mutation with destructive semantics, the description supplies the mode selection, per-item failure behavior, batch ceilings, plan-dependent time horizon, sentinel value semantics, and the routine-gating rule. An agent has everything needed to construct a valid call and to predict how partial failures surface.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With only 27% schema coverage across 11 parameters, the description carries the load and does so: it documents ISO 8601 format with an example, the `next_slot` sentinel and its `slotFallback` case, the mutual exclusivity of the post-selection parameters, the shape of `schedules` entries with a full JSON example, and top-level inheritance into those entries. Only the analytics parameters (`context`, `llm_model`, `conversation_id`) are undocumented here, and the schema already describes them.

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?

Opens with a specific verb and resource plus the three supported scopes ('one post, several, or every version of one') and the parameter that governs timing (`scheduled_for`). It also positions itself against the sibling `publish_post` by noting every post 'first passes the same checks as publish_post', so an agent can distinguish schedule-now-later from publish-immediately.

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 concrete selection rules between modes: `post_id` / `post_ids` for individual posts, `campaign_id` for every version, `schedules` 'instead of' those, and `next_slot` as a `scheduled_for` value rather than a separate tool. It also clarifies that a posting cadence is set via update_workspace, not here, which prevents a wrong-tool call. It stops short of stating when to prefer publish_post over scheduling.

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.