Skip to main content
Glama
thenavidm

Buffer MCP Server

by thenavidm

Update content item draft

update_content_item_draft
Destructive

Replace a channel-less draft's full content and optionally set its target date while the content item remains a draft. Requires text or an asset and explicit confirmation.

Instructions

Replace a channel-less draft's content in full, and optionally set the content item's target date in the same write. The draft needs text or at least one asset. Only valid while the content item is still a draft.

This API is an early preview and can change without a deprecation period.. Current Buffer GraphQL updateContentItemDraft. Requires explicit confirmation. Use upstream fields to bound data; provider errors are failures even with HTTP 200.

Input Schema

NameRequiredDescriptionDefault
idNoThe content item whose channel-less draft is replaced.
draftNo
fieldsNoUpstream field paths relative to the result, as in official CLI --fields. Default fields are bounded. Use items.id for connection nodes; pageInfo.endCursor for cursors.
tagIdsNo
accountNoPrivate account profile name. Selects credentials only; an organization default does not restrict provider token permissions.
confirmNoSet true only when the user asked for exactly this action.
payloadNoComplete native input object instead of individual input fields.
targetDateNo
payload_fileNoRegular local JSON input file, no symlink, at most 1 MiB; cannot mix with payload or individual input fields.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed26 schema fields changedv3.0.1
    • addedInput schema / $defs
      Added value: +{
      +  "draft": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "aiAssisted": {
      +        "description": "Set to true when the draft content was written with the help of AI.",
      +        "type": "boolean"
      +      },
      +      "assets": {
      +        "description": "Images, videos, or documents to attach to the draft, in display order.",
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "document": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "thumbnailUrl": {
      +                  "description": "Document thumbnail URL",
      +                  "type": "string"
      +                },
      +                "title": {
      +                  "description": "Document title",
      +                  "type": "string"
      +                },
      +                "url": {
      +                  "description": "Document URL",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "thumbnailUrl",
      +                "title",
      +                "url"
      +              ],
      +              "type": "object"
      +            },
      +            "image": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "metadata": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "altText": {
      +                      "description": "Alternative text for accessibility",
      +                      "type": "string"
      +                    },
      +                    "animatedThumbnail": {
      +                      "description": "Animated thumbnail URL",
      +                      "type": "string"
      +                    },
      +                    "dimensions": {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "height": {
      +                          "description": "Image height in pixels",
      +                          "type": "integer"
      +                        },
      +                        "width": {
      +                          "description": "Image width in pixels",
      +                          "type": "integer"
      +                        }
      +                      },
      +                      "required": [
      +                        "height",
      +                        "width"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "userTags": {
      +                      "description": "Accounts to tag at specific points on the image. Each tag's x/y position uses normalized 0.0-1.0 coordinates - see UserTagInput.",
      +                      "items": {
      +                        "additionalProperties": false,
      +                        "properties": {
      +                          "handle": {
      +                            "description": "The handle (username) of the account to tag, without the leading @.",
      +                            "type": "string"
      +                          },
      +                          "x": {
      +                            "description": "Horizontal position of the tag as a normalized decimal float between 0.0 and 1.0 - the fraction of the image width from the left edge (0.5 is the horizontal center). Pass a number, not a string, and do not use pixel coordinates; to convert, divide the pixel X by the image width.",
      +                            "type": "number"
      +                          },
      +                          "y": {
      +                            "description": "Vertical position of the tag as a normalized decimal float between 0.0 and 1.0 - the fraction of the image height from the top edge (0.5 is the vertical center). Pass a number, not a string, and do not use pixel coordinates; to convert, divide the pixel Y by the image height.",
      +                            "type": "number"
      +                          }
      +                        },
      +                        "required": [
      +                          "handle",
      +                          "x",
      +                          "y"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      "type": "array"
      +                    }
      +                  },
      +                  "required": [
      +                    "altText"
      +                  ],
      +                  "type": "object"
      +                },
      +                "thumbnailUrl": {
      +                  "description": "URL to the static thumbnail of the asset",
      +                  "type": "string"
      +                },
      +                "url": {
      +                  "description": "URL to the file source",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "url"
      +              ],
      +              "type": "object"
      +            },
      +            "link": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "description": {
      +                  "description": "Description of the link",
      +                  "type": "string"
      +                },
      +                "thumbnailUrl": {
      +                  "description": "Thumbnail URL of the link",
      +                  "type": "string"
      +                },
      +                "title": {
      +                  "description": "Title of the link",
      +                  "type": "string"
      +                },
      +                "url": {
      +                  "description": "URL to the link",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "url"
      +              ],
      +              "type": "object"
      +            },
      +            "video": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "metadata": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "thumbnailOffset": {
      +                      "description": "Offset of the thumbnail chosen for the video, in ms",
      +                      "type": "integer"
      +                    },
      +                    "title": {
      +                      "description": "Video title",
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [],
      +                  "type": "object"
      +                },
      +                "thumbnailUrl": {
      +                  "description": "Do not use: social networks do not accept custom video thumbnail images, and\nthe API rejects video assets that set this field. To choose the video\nthumbnail, set `metadata.thumbnailOffset` to select a frame from the video\n(supported for Instagram, TikTok, and Pinterest only).",
      +                  "type": "string"
      +                },
      +                "url": {
      +                  "description": "URL to the file source",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "url"
      +              ],
      +              "type": "object"
      +            }
      +          },
      +          "required": [],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "text": {
      +        "description": "The written content of the draft. Can be empty when the draft holds at\nleast one asset.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "text"
      +    ],
      +    "type": "object"
      +  },
      +  "tagIds": {
      +    "description": "Tags to apply to this content item. Omit to keep the current tags. An\nempty list or null removes them all.",
      +    "items": {
      +      "description": "Tags to apply to this content item. Omit to keep the current tags. An\nempty list or null removes them all.",
      +      "type": "string"
      +    },
      +    "type": "array"
      +  },
      +  "targetDate": {
      +    "description": "Date indicating when this piece of content should go out. This is a\nplanning aid only and does not schedule any posts. Omit to preserve the\nexisting target date. Null clears it.",
      +    "type": "string"
      +  }
      +}
    • changedInput schema / properties / confirm / description
      Previous value: -"Must be true for this exact user-requested Buffer mutation."New value: +"Set true only when the user asked for exactly this action."
    • addedInput schema / properties / draft / $ref
      Added value: +"#/$defs/draft"
    • removedInput schema / properties / draft / additionalProperties
      Removed value: -false
    • removedInput schema / properties / draft / properties
      Removed value: -{
      -  "aiAssisted": {
      -    "description": "Set to true when the draft content was written with the help of AI.",
      -    "type": "boolean"
      -  },
      -  "assets": {
      -    "description": "Images, videos, or documents to attach to the draft, in display order.",
      -    "items": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "document": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "thumbnailUrl": {
      -              "description": "Document thumbnail URL",
      -              "type": "string"
      -            },
      -            "title": {
      -              "description": "Document title",
      -              "type": "string"
      -            },
      -            "url": {
      -              "description": "Document URL",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "thumbnailUrl",
      -            "title",
      -            "url"
      -          ],
      -          "type": "object"
      -        },
      -        "image": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "metadata": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "altText": {
      -                  "description": "Alternative text for accessibility",
      -                  "type": "string"
      -                },
      -                "animatedThumbnail": {
      -                  "description": "Animated thumbnail URL",
      -                  "type": "string"
      -                },
      -                "dimensions": {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "height": {
      -                      "description": "Image height in pixels",
      -                      "type": "integer"
      -                    },
      -                    "width": {
      -                      "description": "Image width in pixels",
      -                      "type": "integer"
      -                    }
      -                  },
      -                  "required": [
      -                    "height",
      -                    "width"
      -                  ],
      -                  "type": "object"
      -                },
      -                "userTags": {
      -                  "description": "Accounts to tag at specific points on the image. Each tag's x/y position uses normalized 0.0-1.0 coordinates - see UserTagInput.",
      -                  "items": {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "handle": {
      -                        "description": "The handle (username) of the account to tag, without the leading @.",
      -                        "type": "string"
      -                      },
      -                      "x": {
      -                        "description": "Horizontal position of the tag as a normalized decimal float between 0.0 and 1.0 - the fraction of the image width from the left edge (0.5 is the horizontal center). Pass a number, not a string, and do not use pixel coordinates; to convert, divide the pixel X by the image width.",
      -                        "type": "number"
      -                      },
      -                      "y": {
      -                        "description": "Vertical position of the tag as a normalized decimal float between 0.0 and 1.0 - the fraction of the image height from the top edge (0.5 is the vertical center). Pass a number, not a string, and do not use pixel coordinates; to convert, divide the pixel Y by the image height.",
      -                        "type": "number"
      -                      }
      -                    },
      -                    "required": [
      -                      "handle",
      -                      "x",
      -                      "y"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "type": "array"
      -                }
      -              },
      -              "required": [
      -                "altText"
      -              ],
      -              "type": "object"
      -            },
      -            "thumbnailUrl": {
      -              "description": "URL to the static thumbnail of the asset",
      -              "type": "string"
      -            },
      -            "url": {
      -              "description": "URL to the file source",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "url"
      -          ],
      -          "type": "object"
      -        },
      -        "link": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "description": {
      -              "description": "Description of the link",
      -              "type": "string"
      -            },
      -            "thumbnailUrl": {
      -              "description": "Thumbnail URL of the link",
      -              "type": "string"
      -            },
      -            "title": {
      -              "description": "Title of the link",
      -              "type": "string"
      -            },
      -            "url": {
      -              "description": "URL to the link",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "url"
      -          ],
      -          "type": "object"
      -        },
      -        "video": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "metadata": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "thumbnailOffset": {
      -                  "description": "Offset of the thumbnail chosen for the video, in ms",
      -                  "type": "integer"
      -                },
      -                "title": {
      -                  "description": "Video title",
      -                  "type": "string"
      -                }
      -              },
      -              "required": [],
      -              "type": "object"
      -            },
      -            "thumbnailUrl": {
      -              "description": "Do not use: social networks do not accept custom video thumbnail images, and\nthe API rejects video assets that set this field. To choose the video\nthumbnail, set `metadata.thumbnailOffset` to select a frame from the video\n(supported for Instagram, TikTok, and Pinterest only).",
      -              "type": "string"
      -            },
      -            "url": {
      -              "description": "URL to the file source",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "url"
      -          ],
      -          "type": "object"
      -        }
      -      },
      -      "required": [],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  "text": {
      -    "description": "The written content of the draft. Can be empty when the draft holds at\nleast one asset.",
      -    "type": "string"
      -  }
      -}
    • removedInput schema / properties / draft / required
      Removed value: -[
      -  "text"
      -]
    • removedInput schema / properties / draft / type
      Removed value: -"object"
    • addedInput schema / properties / payload / properties / draft / $ref
      Added value: +"#/$defs/draft"
    • removedInput schema / properties / payload / properties / draft / additionalProperties
      Removed value: -false
    • removedInput schema / properties / payload / properties / draft / properties
      Removed value: -{
      -  "aiAssisted": {
      -    "description": "Set to true when the draft content was written with the help of AI.",
      -    "type": "boolean"
      -  },
      -  "assets": {
      -    "description": "Images, videos, or documents to attach to the draft, in display order.",
      -    "items": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "document": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "thumbnailUrl": {
      -              "description": "Document thumbnail URL",
      -              "type": "string"
      -            },
      -            "title": {
      -              "description": "Document title",
      -              "type": "string"
      -            },
      -            "url": {
      -              "description": "Document URL",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "thumbnailUrl",
      -            "title",
      -            "url"
      -          ],
      -          "type": "object"
      -        },
      -        "image": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "metadata": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "altText": {
      -                  "description": "Alternative text for accessibility",
      -                  "type": "string"
      -                },
      -                "animatedThumbnail": {
      -                  "description": "Animated thumbnail URL",
      -                  "type": "string"
      -                },
      -                "dimensions": {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "height": {
      -                      "description": "Image height in pixels",
      -                      "type": "integer"
      -                    },
      -                    "width": {
      -                      "description": "Image width in pixels",
      -                      "type": "integer"
      -                    }
      -                  },
      -                  "required": [
      -                    "height",
      -                    "width"
      -                  ],
      -                  "type": "object"
      -                },
      -                "userTags": {
      -                  "description": "Accounts to tag at specific points on the image. Each tag's x/y position uses normalized 0.0-1.0 coordinates - see UserTagInput.",
      -                  "items": {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "handle": {
      -                        "description": "The handle (username) of the account to tag, without the leading @.",
      -                        "type": "string"
      -                      },
      -                      "x": {
      -                        "description": "Horizontal position of the tag as a normalized decimal float between 0.0 and 1.0 - the fraction of the image width from the left edge (0.5 is the horizontal center). Pass a number, not a string, and do not use pixel coordinates; to convert, divide the pixel X by the image width.",
      -                        "type": "number"
      -                      },
      -                      "y": {
      -                        "description": "Vertical position of the tag as a normalized decimal float between 0.0 and 1.0 - the fraction of the image height from the top edge (0.5 is the vertical center). Pass a number, not a string, and do not use pixel coordinates; to convert, divide the pixel Y by the image height.",
      -                        "type": "number"
      -                      }
      -                    },
      -                    "required": [
      -                      "handle",
      -                      "x",
      -                      "y"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "type": "array"
      -                }
      -              },
      -              "required": [
      -                "altText"
      -              ],
      -              "type": "object"
      -            },
      -            "thumbnailUrl": {
      -              "description": "URL to the static thumbnail of the asset",
      -              "type": "string"
      -            },
      -            "url": {
      -              "description": "URL to the file source",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "url"
      -          ],
      -          "type": "object"
      -        },
      -        "link": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "description": {
      -              "description": "Description of the link",
      -              "type": "string"
      -            },
      -            "thumbnailUrl": {
      -              "description": "Thumbnail URL of the link",
      -              "type": "string"
      -            },
      -            "title": {
      -              "description": "Title of the link",
      -              "type": "string"
      -            },
      -            "url": {
      -              "description": "URL to the link",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "url"
      -          ],
      -          "type": "object"
      -        },
      -        "video": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "metadata": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "thumbnailOffset": {
      -                  "description": "Offset of the thumbnail chosen for the video, in ms",
      -                  "type": "integer"
      -                },
      -                "title": {
      -                  "description": "Video title",
      -                  "type": "string"
      -                }
      -              },
      -              "required": [],
      -              "type": "object"
      -            },
      -            "thumbnailUrl": {
      -              "description": "Do not use: social networks do not accept custom video thumbnail images, and\nthe API rejects video assets that set this field. To choose the video\nthumbnail, set `metadata.thumbnailOffset` to select a frame from the video\n(supported for Instagram, TikTok, and Pinterest only).",
      -              "type": "string"
      -            },
      -            "url": {
      -              "description": "URL to the file source",
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "url"
      -          ],
      -          "type": "object"
      -        }
      -      },
      -      "required": [],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  "text": {
      -    "description": "The written content of the draft. Can be empty when the draft holds at\nleast one asset.",
      -    "type": "string"
      -  }
      -}
    • removedInput schema / properties / payload / properties / draft / required
      Removed value: -[
      -  "text"
      -]
    • removedInput schema / properties / payload / properties / draft / type
      Removed value: -"object"
    • addedInput schema / properties / payload / properties / tagIds / $ref
      Added value: +"#/$defs/tagIds"
    • removedInput schema / properties / payload / properties / tagIds / description
      Removed value: -"Tags to apply to this content item. Omit to keep the current tags. An\nempty list or null removes them all."
    • removedInput schema / properties / payload / properties / tagIds / items
      Removed value: -{
      -  "description": "Tags to apply to this content item. Omit to keep the current tags. An\nempty list or null removes them all.",
      -  "type": "string"
      -}
    • removedInput schema / properties / payload / properties / tagIds / type
      Removed value: -"array"
    • addedInput schema / properties / payload / properties / targetDate / $ref
      Added value: +"#/$defs/targetDate"
    • removedInput schema / properties / payload / properties / targetDate / description
      Removed value: -"Date indicating when this piece of content should go out. This is a\nplanning aid only and does not schedule any posts. Omit to preserve the\nexisting target date. Null clears it."
    • removedInput schema / properties / payload / properties / targetDate / type
      Removed value: -"string"
    • addedInput schema / properties / tagIds / $ref
      Added value: +"#/$defs/tagIds"
    • removedInput schema / properties / tagIds / description
      Removed value: -"Tags to apply to this content item. Omit to keep the current tags. An\nempty list or null removes them all."
    • removedInput schema / properties / tagIds / items
      Removed value: -{
      -  "description": "Tags to apply to this content item. Omit to keep the current tags. An\nempty list or null removes them all.",
      -  "type": "string"
      -}
    • removedInput schema / properties / tagIds / type
      Removed value: -"array"
    • addedInput schema / properties / targetDate / $ref
      Added value: +"#/$defs/targetDate"
    • removedInput schema / properties / targetDate / description
      Removed value: -"Date indicating when this piece of content should go out. This is a\nplanning aid only and does not schedule any posts. Omit to preserve the\nexisting target date. Null clears it."
    • removedInput schema / properties / targetDate / type
      Removed value: -"string"
  2. First observedv2.0.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=false, but the description adds substantive context beyond them: the write is a full replacement, it is draft-only, it requires explicit user confirmation, it sits behind an unstable preview API, and provider errors can surface even with HTTP 200. These are genuinely useful operational facts.

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 core action and constraints in short sentences, but has minor clutter: a doubled period, and 'Current Buffer GraphQL updateContentItemDraft' which reads as an implementation note rather than agent-facing guidance.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 9-parameter, nested-object mutation with no output schema, the description covers the key behavioral needs (destructive replacement, draft-only, confirmation, preview instability). It could be stronger on how payload/payload_file/individual fields interact, but the schema covers that.

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 coverage is 67%, and the schema itself documents the nested draft/asset structure in detail. The description adds a couple of useful hints ('target date in the same write,' 'use upstream fields to bound data'), but does not meaningfully clarify the confirm, account, or payload_file parameters beyond what the schema states.

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?

States a specific verb and resource ('Replace a channel-less draft's content in full') plus an optional secondary write (target date). The 'channel-less' qualifier and the draft-only constraint distinguish it from siblings like update_content_item and create_content_item_draft.

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 real preconditions: 'Only valid while the content item is still a draft,' 'The draft needs text or at least one asset,' and 'Requires explicit confirmation.' It frames when the call is legal but never names an alternative sibling (e.g. update_content_item for non-draft edits).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.