Skip to main content
Glama

PostReach

Save many drafts

create_drafts
Idempotent

Saves many posts at once, up to 50 a call, and opens one card to review them all. Use it when the person asks for several posts or a content plan, such as "prepare 20 posts for next month", and save them here as drafts instead of only listing the text. If the person doesn't name the accounts, use every connected account in that workspace and say which ones you used. Each is checked by itself, so a problem with one doesn't stop the others. Repeating a call with the same key changes nothing. Videos take a cover per account, as in create_draft. Don't use it for a single post. A time with no timezone is read in the workspace's, not the person's, so if they might be somewhere else, send theirs, and say the zone back to them. Where the card shows, it shows every account's post in full, so don't write the text out again in your reply. Example: posts [{accounts: [{account_id: "con_1"}], text: "First", at: "2026-11-09T09:00"}, ...].

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": {
      "posts": "<posts>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "create_drafts"
  }
}

Input Schema

NameRequiredDescriptionDefault
postsYesUp to 50. Each is checked by itself, so one problem doesn't hold back the rest
idempotency_keyYesA unique value for this one action, such as a UUID. Repeating the call with the same key returns the same result and does nothing twice

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / posts / items / properties / accounts / items / properties / cover / description
      Previous value: -"The video's cover here, where get_publishing_context's cover says it takes one: a picture as media_id or url, or TikTok's at_seconds. Make it for every video, to that account's size and safe area and the design rules in get_publishing_context: one clear subject, a large headline of 4 to 6 words, the brand's colours and fonts, nothing misleading. null removes it"New value: +"The video's cover here, where get_publishing_context's cover says it takes one: a picture as media_id or url, or TikTok's at_seconds. Make it for every video, to that account's size and safe area (a YouTube Short's is 9:16, 1080 x 1920, a long video's 16:9) and the design rules in get_publishing_context: one clear subject, a large headline of 4 to 6 words, the brand's colours and fonts, nothing misleading. null removes it"
  2. Changed4 schema fields changed
    • addedInput schema / properties / posts / items / properties / accounts / items / properties / cover
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": false,
      +      "properties": {
      +        "at_seconds": {
      +          "description": "TikTok only: which second of the video to show",
      +          "maximum": 43200,
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        "media_id": {
      +          "description": "A picture in PostReach, such as the media_id finish_upload gave you",
      +          "pattern": "^[A-Za-z0-9_-]{1,64}$",
      +          "type": "string"
      +        },
      +        "url": {
      +          "description": "An https link to a picture you made, as for media_urls",
      +          "maxLength": 4096,
      +          "minLength": 1,
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "The video's cover here, where get_publishing_context's cover says it takes one: a picture as media_id or url, or TikTok's at_seconds. Make it for every video, to that account's size and safe area and the design rules in get_publishing_context: one clear subject, a large headline of 4 to 6 words, the brand's colours and fonts, nothing misleading. null removes it"
      +}
    • changedInput schema / properties / posts / items / properties / accounts / items / properties / post_type / anyOf
      Previous value: -[
      -  {
      -    "enum": [
      -      "feed",
      -      "carousel",
      -      "reel",
      -      "story",
      -      "post",
      -      "video",
      -      "short",
      -      "photos"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "enum": [
      +      "feed",
      +      "carousel",
      +      "reel",
      +      "story",
      +      "post",
      +      "video",
      +      "short",
      +      "photos",
      +      "pdf"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / posts / items / properties / linkedin
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "LinkedIn only. Left out, the files decide: a PDF goes as a PDF, and several images go as a carousel when the same images are a carousel for Instagram or Threads on this post, and otherwise together as a post. A carousel or a PDF with no title gets one from the file's name or the post's first words",
      +  "properties": {
      +    "format": {
      +      "description": "post: the text with one image, one video, or 2 to 20 images shown together. carousel: 2 to 20 images made into one PDF that people swipe through, one image a page, because LinkedIn's API has no image carousel. pdf: one PDF, uploaded with get_upload_link or media_urls, which posts alone, with no other file, and only to LinkedIn",
      +      "enum": [
      +        "post",
      +        "carousel",
      +        "pdf"
      +      ],
      +      "type": "string"
      +    },
      +    "title": {
      +      "description": "The title LinkedIn shows on a carousel or a PDF, up to 100 characters. Left out, PostReach uses the PDF's file name, or the post's first words for a carousel, which the person sees on the card and can change",
      +      "maxLength": 2000,
      +      "minLength": 1,
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "format"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / properties / posts / items / properties / pinterest
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Pinterest only. Which board each Pin is saved to, once the person has said which. Never choose for them, even when there's only one board: ask, such as \"Save it to Menu ideas?\", and pass it after their yes. With no boards, ask whether to make one with pinterest_board first",
      +  "properties": {
      +    "board": {
      +      "description": "The board's name, as the person said it, or its board_id, from get_publishing_context's list for that account. A name that isn't one of its boards is refused with the list: it's never made by itself",
      +      "maxLength": 200,
      +      "minLength": 1,
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "board"
      +  ],
      +  "type": "object"
      +}
  3. Changed10 schema fields changed
    • changedInput schema / properties / posts / items / properties / tiktok / description
      Previous value: -"TikTok only. Leave it out unless the person asked for TikTok to get a draft, or to post a draft after all. Never choose draft yourself: posting is the default"New value: +"TikTok only. For a post, ask the person who can see it and whether others may comment, Duet or Stitch, and pass what they said; never choose for them. send_as draft only when they asked for a draft. Never choose draft yourself: posting is the default"
    • addedInput schema / properties / posts / items / properties / tiktok / properties / allow_comment
      Added value: +{
      +  "description": "Whether others may comment, as the person said. Left out, off",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / posts / items / properties / tiktok / properties / allow_duet
      Added value: +{
      +  "description": "Video only: whether others may Duet, as the person said. Left out, off",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / posts / items / properties / tiktok / properties / allow_stitch
      Added value: +{
      +  "description": "Video only: whether others may Stitch, as the person said. Left out, off",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / posts / items / properties / tiktok / properties / commercial
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Only when the person says the post promotes something: their own brand, someone else's (branded content), or both",
      +  "properties": {
      +    "branded": {
      +      "type": "boolean"
      +    },
      +    "your_brand": {
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "your_brand",
      +    "branded"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / properties / posts / items / properties / tiktok / properties / privacy_level
      Added value: +{
      +  "description": "Who can see it, as the person chose, from the options the draft's answer lists for this account. Never choose it for them",
      +  "enum": [
      +    "PUBLIC_TO_EVERYONE",
      +    "MUTUAL_FOLLOW_FRIENDS",
      +    "FOLLOWER_OF_CREATOR",
      +    "SELF_ONLY"
      +  ],
      +  "type": "string"
      +}
    • removedInput schema / properties / posts / items / properties / tiktok / required
      Removed value: -[
      -  "send_as"
      -]
    • changedInput schema / properties / posts / items / properties / youtube / description
      Previous value: -"YouTube only. Pass it only when the person asks for something other than public and not made for kids, such as \"make it unlisted\" or \"it's for kids\""New value: +"YouTube only. Ask the person both and pass what they said; never choose for them. Approving waits for both"
    • changedInput schema / properties / posts / items / properties / youtube / properties / made_for_kids / description
      Previous value: -"Whether it's made for kids: yes or no. Left out, no"New value: +"Whether it's made for kids, as the person said: yes or no"
    • changedInput schema / properties / posts / items / properties / youtube / properties / privacy / description
      Previous value: -"Who can watch: public, unlisted or private. Left out, public"New value: +"Who can watch, as the person chose: public, unlisted or private"
  4. First observed

TDQS

A4.6/5.0
Behavior4/5

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

The annotations already cover the safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=true), yet the description adds substantive behavior: per-post independent validation so one failure doesn't block the rest, idempotency semantics tied to the key, video cover requirements per account, the workspace-default timezone trap, and the card rendering every account's post in full. Minor gap: it doesn't state what a partial-failure response looks like beyond 'comes back with the reason'.

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?

Purpose and limits are front-loaded in the first sentence, followed by usage, then edge cases, ending with a payload example — a sound ordering. It is a dense single block of prose with many clauses, though almost every sentence carries distinct operational value and none is pure 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 bulk-create tool with rich nested schema and no output schema, this covers what an agent needs to call it correctly: cardinality limits, per-item error isolation, idempotency, account resolution, timezone handling, media constraints, platform-specific must-ask rules, and what not to duplicate in the reply. Nothing material is missing.

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 baseline is 3, but the description adds meaning beyond the schema: the account fallback rule, the warning that a timezone-less timestamp is read in the workspace's zone rather than the person's, the draft-vs-list instruction, and a concrete posts array example. That compensates for the one thing schemas can't express — how to populate the array sensibly.

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+resource and scope: 'Saves many posts at once, up to 50 a call, and opens one card to review them all.' It then explicitly distinguishes itself from the single-post sibling ('Don't use it for a single post', 'as in create_draft'), so an agent can separate this from create_draft without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit trigger with a worked user utterance ('prepare 20 posts for next month'), a negative case (single post), a fallback rule for missing accounts ('use every connected account in that workspace and say which ones you used'), and an anti-pattern (save as drafts 'instead of only listing the text'). Alternatives and exclusions are stated, not inferred.

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