Skip to main content
Glama

Schedule post

schedule_post

Schedules a saved draft, including any media already stored on it by save_draft, for every network in its destinations. scheduled_for is an ISO-8601 timestamp in the future and must include a timezone. Refused while a network cannot take the post as it is; the error lists each problem. destination optionally changes the LinkedIn profile or company page from list_destinations (not for a post that skips LinkedIn). Media is not accepted here; the images are published with the alt text stored on them, and media_alt_text optionally changes that alt text (one entry per image, in the order of media_urls). youtube_format optionally switches the post’s YouTube video between a normal video and a Short, and instagram its Instagram format, before it is scheduled. Once scheduled, a post with several destinations becomes one post per network: post keeps LinkedIn (or its first network), and split_posts lists the others, each with its own id to reschedule, unschedule or delete on its own. The result includes post.preview_url, a link that opens the scheduled post in PostPen; it is meant to be shown to the user.

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": {
      "id": "<id>",
      "scheduled_for": "<scheduled_for>"
    },
    "name": "schedule_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesPost id returned by save_draft.
facebookNoOptional, for a post that goes to a Facebook Page: { format: "feed" }, which is what PostPen always publishes.
instagramNoOptional, for a post that goes to Instagram: what it is published as, on every Instagram account of the post. A key left out keeps what is saved; null clears both. A format that does not fit the media (a Reel with images, a video to the feed, a Story with several files or with other networks) comes back in network_problems.
destinationNoWhere the post goes on LinkedIn: a LinkedIn id from list_destinations. "personal" (the default on a new draft) is the personal LinkedIn profile; a company page is identified by its id from list_destinations (usually the organization URN). On schedule_post and publish_now, leaving it out keeps a company destination already saved on the draft, and "personal" switches to the profile. To post to X, Facebook, Instagram, Threads or YouTube, use destinations on save_draft.
scheduled_forYesFuture ISO-8601 time with a timezone, for example 2026-09-28T15:00:00Z.
media_alt_textNoOptional alt text for the images already on the post, one entry per image in the order of media_urls from list_posts. A string (up to 4,086 characters; about 120 recommended) sets that image’s alt text, null or "" removes it, and images past the end of a shorter array keep theirs. Refused when the post has no images or the array is longer than its images.
youtube_formatNoOptional, for a post that goes to a YouTube channel: "video" (the default) posts a normal video; "short" posts a YouTube Short, which has to be vertical or square (9:16 looks best) and up to 3 minutes. For a Short PostPen adds #Shorts to the title (or the description when the title has no room) and links to youtube.com/shorts/. A clip that is landscape or longer than 3 minutes is refused when it is published, with an error saying so, instead of going out as a normal video. Leaving it out keeps what is saved; posts saved before this option are videos.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / facebook
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Optional, for a post that goes to a Facebook Page: { format: \"feed\" }, which is what PostPen always publishes.",
      +  "properties": {
      +    "format": {
      +      "description": "feed (the only one): a Facebook video goes out as a regular Page video post. \"reel\" is refused; PostPen cannot post Facebook Reels yet.",
      +      "enum": [
      +        "feed"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "type": [
      +    "object",
      +    "null"
      +  ]
      +}
    • addedInput schema / properties / instagram
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Optional, for a post that goes to Instagram: what it is published as, on every Instagram account of the post. A key left out keeps what is saved; null clears both. A format that does not fit the media (a Reel with images, a video to the feed, a Story with several files or with other networks) comes back in network_problems.",
      +  "properties": {
      +    "format": {
      +      "description": "feed: images (several make a carousel). story: one image or one video (3 to 60 seconds), gone after 24 hours; the post then goes to Instagram only, with no caption, location or first comment. reel: one video. null follows the media: images to the feed, one video as a Reel.",
      +      "enum": [
      +        "feed",
      +        "story",
      +        "reel",
      +        null
      +      ],
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "trial_reel": {
      +      "additionalProperties": false,
      +      "description": "Reels only: post it as a trial Reel, shown to non-followers first. graduation manual: the user shares it with followers in the Instagram app; auto: Instagram shares it if it does well. null removes it.",
      +      "properties": {
      +        "graduation": {
      +          "enum": [
      +            "manual",
      +            "auto"
      +          ],
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "graduation"
      +      ],
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    }
      +  },
      +  "type": [
      +    "object",
      +    "null"
      +  ]
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / youtube_format
      Added value: +{
      +  "description": "Optional, for a post that goes to a YouTube channel: \"video\" (the default) posts a normal video; \"short\" posts a YouTube Short, which has to be vertical or square (9:16 looks best) and up to 3 minutes. For a Short PostPen adds #Shorts to the title (or the description when the title has no room) and links to youtube.com/shorts/. A clip that is landscape or longer than 3 minutes is refused when it is published, with an error saying so, instead of going out as a normal video. Leaving it out keeps what is saved; posts saved before this option are videos.",
      +  "enum": [
      +    "video",
      +    "short"
      +  ],
      +  "type": "string"
      +}
  3. Changed1 schema field changed
    • changedInput schema / properties / destination / description
      Previous value: -"Where to post: an id from list_destinations. Each destination has a network (linkedin today). \"personal\" (the default on a personal draft) is the personal LinkedIn profile; a company page is identified by its id from list_destinations (usually the organization URN). On schedule_post and publish_now, leaving it out keeps a company destination already saved on the draft, and \"personal\" switches to the profile."New value: +"Where the post goes on LinkedIn: a LinkedIn id from list_destinations. \"personal\" (the default on a new draft) is the personal LinkedIn profile; a company page is identified by its id from list_destinations (usually the organization URN). On schedule_post and publish_now, leaving it out keeps a company destination already saved on the draft, and \"personal\" switches to the profile. To post to X, Facebook, Instagram, Threads or YouTube, use destinations on save_draft."
  4. Changed1 schema field changed
    • changedInput schema / properties / destination / description
      Previous value: -"Where the post goes on LinkedIn: a LinkedIn id from list_destinations. \"personal\" (the default on a new draft) is the personal LinkedIn profile; a company page is identified by its id from list_destinations (usually the organization URN). On schedule_post and publish_now, leaving it out keeps a company destination already saved on the draft, and \"personal\" switches to the profile. To post to X, Facebook, Instagram or Threads, use destinations on save_draft."New value: +"Where to post: an id from list_destinations. Each destination has a network (linkedin today). \"personal\" (the default on a personal draft) is the personal LinkedIn profile; a company page is identified by its id from list_destinations (usually the organization URN). On schedule_post and publish_now, leaving it out keeps a company destination already saved on the draft, and \"personal\" switches to the profile."
  5. Changed1 schema field changed
    • changedInput schema / properties / destination / description
      Previous value: -"Where to post: an id from list_destinations. Each destination has a network (linkedin today). \"personal\" (the default on a personal draft) is the personal LinkedIn profile; a company page is identified by its id from list_destinations (usually the organization URN). On schedule_post and publish_now, leaving it out keeps a company destination already saved on the draft, and \"personal\" switches to the profile."New value: +"Where the post goes on LinkedIn: a LinkedIn id from list_destinations. \"personal\" (the default on a new draft) is the personal LinkedIn profile; a company page is identified by its id from list_destinations (usually the organization URN). On schedule_post and publish_now, leaving it out keeps a company destination already saved on the draft, and \"personal\" switches to the profile. To post to X, Facebook, Instagram or Threads, use destinations on save_draft."
  6. Changed1 schema field changed
    • addedInput schema / properties / media_alt_text
      Added value: +{
      +  "description": "Optional alt text for the images already on the post, one entry per image in the order of media_urls from list_posts. A string (up to 4,086 characters; about 120 recommended) sets that image’s alt text, null or \"\" removes it, and images past the end of a shorter array keep theirs. Refused when the post has no images or the array is longer than its images.",
      +  "items": {
      +    "maxLength": 4086,
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "maxItems": 9,
      +  "type": "array"
      +}
  7. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the annotations (which only say this is a non-read-only, non-destructive, open-world write), the description discloses the refusal semantics, the fact that a multi-destination post splits into one post per network with independent ids, and that the result carries post.preview_url intended for the user. Those are exactly the behavioral traits an agent cannot get from structured fields.

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

Conciseness3/5

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

It is front-loaded with the core action and the scheduling constraint, which is good. However, the middle portion re-narrates parameter behavior that the schema documents exhaustively, padding a dense paragraph with redundancy rather than new information.

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 mutation tool with no output schema, the description covers the essentials: what is scheduled, the time format and timezone requirement, the failure mode, the post-scheduling split, and the returned preview_url for the user. Nothing an agent needs to call it correctly is missing.

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 schema already spells out destination, media_alt_text, youtube_format and instagram formats in detail, so the description largely restates it. It adds only modest framing, such as alt text being 'one entry per image, in the order of media_urls' and destination not applying to a post that skips LinkedIn. Baseline 3 applies when the schema does the heavy lifting.

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 opening sentence names a specific verb and resource ('Schedules a saved draft') and states the scope ('for every network in its destinations'), which is far more precise than the title. It stops short of explicitly contrasting with the sibling publish_now, so an agent must infer that immediate publishing is the other path.

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 establishes the prerequisite chain clearly: the id comes from save_draft, destinations come from list_destinations, and the call is 'refused while a network cannot take the post as it is' with an error listing each problem. There is no explicit 'use publish_now instead when...' exclusion, but the when-to-use context is otherwise solid.

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