Skip to main content
Glama

PostReach

Change a draft

update_draft
Idempotent

Makes a new version of a draft. Anything you leave out stays as it is. The person has to approve the new version. Use it to shorten text, change accounts or change the time, to add generated images or videos with media_urls, to set or change a video's cover with an account's cover, to change who can watch on YouTube or made for kids with youtube when the person asks, or to send TikTok a draft instead of a post, or a post instead of a draft, with tiktok's send_as, only when the person asks for that. Use linkedin to change LinkedIn's format (post, carousel or pdf) or the title it shows on a carousel or a PDF. If a link is refused, give the person attach_media's link. Don't use it for a post that's already scheduled. 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: draft_id "drf_1", expected_revision 1, accounts [{account_id: "con_x", text_override: "A shorter version"}].

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": {
      "draft_id": "<draft_id>",
      "expected_revision": "<expected_revision>"
    },
    "name": "update_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
atNoA time such as 2026-11-15T09:00, read in `timezone`. An ISO time with an offset also works
textNo
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
accountsNo
draft_idYes
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 one already on the draft, which is the workspace's unless someone chose another
media_idsNo
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
expected_revisionYesThe revision you last saw. If someone changed it since, this is refused, so nothing's overwritten
media_made_with_aiNo

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.5/5.0
Behavior5/5

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

Beyond the annotations (write, idempotent, non-destructive), the description adds the approval gate ("The person has to approve the new version"), partial-update semantics, the workspace-vs-person timezone defaulting rule, and the fact that the card already renders every account's post in full so the text must not be repeated. Those are operational behaviors an agent could not infer from the schema or annotations.

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?

The core statement and the partial-update rule are front-loaded, and nearly every sentence carries a decision the agent needs. The middle is a dense, comma-spliced run-on covering five platforms in one paragraph, which costs readability, and the example call is appended rather than separated.

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 13-parameter nested mutation tool with no output schema, the description covers the approval outcome, the optimistic-concurrency failure mode, refused-link recovery, timezone interpretation, and how the result is already surfaced on the card. An agent has enough to call it correctly without opening other docs.

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?

With 62% schema coverage, the description carries real weight: it explains what media_urls does (PostReach fetches each link in-call so the card is complete), why send_as and privacy fields must never be chosen for the person, and how a bare time relates to timezone. Some parameters (media_ids, media_made_with_ai, expected_revision, text_override) get little or no prose treatment, so it does not fully close the coverage gap.

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?

"Makes a new version of a draft" is a precise verb+resource, and the surrounding sentences spell out the concrete changes it makes (shorten text, change accounts, change time, add generated media, swap TikTok draft/post, set LinkedIn format). It also marks the boundary with scheduled posts. It stops short of naming sibling edit tools such as change_post_words or create_draft, so an agent must infer the split rather than read it.

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?

The description routes usage per parameter: youtube and tiktok fields are "only when the person asks", LinkedIn fields only for format/title changes, media_urls for generated media, and it explicitly says not to use it for an already-scheduled post. It also supplies a fallback path — "If a link is refused, give the person attach_media's link" — plus a worked example call.

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