Skip to main content
Glama

PostReach

Save a draft

create_draft
Idempotent

Saves one post, checks it for every account, and opens the review card, all in one call. When the person asks you to write or create a social media post, save it here as a draft instead of only showing the text. A request for "a post" from someone with accounts connected here means a social media post. If the person doesn't name the accounts, use every connected account in that workspace and say which ones you used. If you generated an image or video for it, generate it first, then call this once with media_urls for it, so the card shows the complete post. If a link is refused, tell the person and give them attach_media's link. Nothing goes out until the person approves. Use it for one post; for several, use create_drafts. Don't call it again to change a draft: use update_draft. Text that's too long comes back as an issue per account, so shorten it with text_override. For a TikTok post, ask the person who can see it and whether others may comment, Duet or Stitch, and pass their answers in tiktok; never choose them. If the person asks for TikTok to get a draft, such as to edit it or add music in the TikTok app, pass tiktok's send_as "draft": it goes to their TikTok inbox, and they finish and post it there. Never choose draft yourself. YouTube takes one video and nothing else: your text is its description, and its first line its title. Ask the person who can watch (public, unlisted or private) and whether it's made for kids, and pass both in youtube: nothing is chosen for them. LinkedIn takes a post, a carousel or a PDF, in linkedin's format: a carousel turns 2 to 20 images into one PDF people swipe through, and a PDF posts alone and only to LinkedIn, so any other account on a post with a PDF is refused. A carousel or a PDF needs a title, which LinkedIn shows: pass it in linkedin's title, or PostReach uses the PDF's name or the post's first words. For a video, make each account a cover as get_publishing_context says, and pass it in that account's cover. 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: accounts [{account_id: "con_1"}], text "Three questions before any rebrand...", at "2026-11-15T09:00", timezone "Asia/Seoul". For a LinkedIn PDF: media_ids ["med_1"], linkedin {format: "pdf", title: "Our 2026 price list"}.

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": {
      "text": "<text>",
      "accounts": "<accounts>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "create_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
atNoWhen it's meant to go out. Only approving makes that real. A time such as 2026-11-15T09:00, read in `timezone`
textYesThe words of the post
tiktokNoTikTok 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
youtubeNoYouTube only. Ask the person both and pass what they said; never choose for them. Approving waits for both
accountsYesWhich accounts it goes to
hashtagsNoAdded after the text, on their own line
linkedinNoLinkedIn 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
timezoneNoAn IANA time zone such as Asia/Seoul. A fixed offset such as +09:00 is refused. Left out, the workspace's, wherever the person is: someone in Madrid who says 9am for a Seoul workspace gets 09:00 Seoul unless you send Europe/Madrid
media_idsNoFiles already in PostReach, by media_id: the one finish_upload gave you, or one that open_review and create_draft show for each file of a draft, such as one the person added through attach_media
pinterestNoPinterest 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
media_urlsNoImages or videos you generated, by link, up to 35. PostReach fetches each and adds it to the draft in this call, so the card shows the complete post. Only links on your own app's generated-file hosts work. A link that's refused comes back with the reason: tell the person, and give them attach_media's link instead
workspace_idNoLeft out, it's worked out from the accounts
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
media_made_with_aiNoSet this if you generated the image, video or audio yourself. Words you helped write don't count. It shows ticked on the card and the person can change it. Left out, it's ticked for files that came in through media_urls

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / 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 / 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 / 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 / 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 / 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 / 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 / tiktok / properties / allow_comment
      Added value: +{
      +  "description": "Whether others may comment, as the person said. Left out, off",
      +  "type": "boolean"
      +}
    • addedInput schema / 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 / 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 / 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 / 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 / tiktok / required
      Removed value: -[
      -  "send_as"
      -]
    • changedInput schema / 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 / 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 / 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.8/5.0
Behavior5/5

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

Annotations cover the mutation/idempotency profile, but the description adds behavioral facts they cannot: 'Nothing goes out until the person approves' (draft-then-approve lifecycle), that media_urls are fetched inline so the card shows the complete post, that refused links return a reason and should route to attach_media, and that a LinkedIn PDF refuses any other account on the post. It also states the review card is shown and not to repeat the text in the reply.

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?

Strongly front-loaded — the first sentence states effect, then guidance, then per-platform rules, then examples. It runs long, however, and several passages restate schema text almost verbatim (the TikTok ask-about-privacy rule, the PDF/linkedin format explanation), which costs conciseness on a 14-parameter tool whose schema already carries those descriptions.

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 14-parameter tool with deeply nested objects, no output schema, and high-stakes multi-platform publishing, the description covers ordering of operations, per-platform constraints, default behavior for unspecified accounts, error recovery, human-approval gating, and concrete call examples. Nothing an agent needs to invoke it correctly appears to be 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 orchestration semantics the schema cannot express: generate media first, then call once with media_urls; shorten long text via text_override when an issue comes back; a timezone-less 'at' is read in the workspace's zone, not the person's; and per-platform rules (YouTube takes one video and nothing else, its first line is the title; carousel/PDF title fallbacks). It also supplies worked examples that clarify the nested shape.

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 concrete verb+resource+scope: 'Saves one post, checks it for every account, and opens the review card, all in one call.' It also explicitly separates itself from siblings, stating 'Use it for one post; for several, use create_drafts' and 'Don't call it again to change a draft: use update_draft.' An agent can distinguish this from create_drafts, update_draft, and the surrounding tools without opening any 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 explicit when-to-use criteria ('When the person asks you to write or create a social media post, save it here as a draft instead of only showing the text'), when-not (don't recall to modify; use update_draft), and named alternatives for other cases (create_drafts for multiple posts, attach_media for refused links, get_publishing_context for cover specs). It even disambiguates what 'a post' means when accounts are connected.

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