Skip to main content
Glama

Create post (draft)

create_content_post

Create a social post as a DRAFT — nothing is published. Give it a working title, the main text, optional hashtags, the channels (each may carry its own text), and images: public https image links (Obriym stores its own copy), files the person attached in ChatGPT (the files field, filled by ChatGPT), links returned by create_image_upload for local files, and/or a catalog product whose photos are attached and whose sell-out later marks the live Telegram and Threads post as sold. Each channel's text, with hashtags, must fit that channel's limit (list_content_channels). Returns the post id and warnings — a channel that is not ready, Instagram without an image — to relay to the person. Not idempotent: each call creates a new draft. Then use schedule_content_post or publish_content_post. Echoes the workspace.

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": {
      "channels": "<channels>",
      "title": "<title>"
    },
    "name": "create_content_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
textNoThe post's main text, in the language the audience reads. Plain text: no markdown, links are written out in full. Never invent a price, discount, stock level or date — state only facts the user or the CRM gave you.
filesNoImage files the person attached in ChatGPT. ChatGPT fills this field itself; any other client leaves it out and passes image links instead (or uploads files with create_image_upload).
titleYesAn internal working title shown in Obriym's Publications list, e.g. "Monday — new arrivals". Never published.
formatNopost = a regular feed post; story = an Instagram/Facebook story, which needs an image. Defaults to post.post
channelsYesWhere the post goes — one entry per channel, each at most once. Every channel publishes the main text unless its entry carries its own text.
hashtagsNoHashtags without the "#" sign, at most 30. They are appended to every channel's text as their own line.
imageUrlsNoImages to attach, as public https links to JPEG, PNG or WebP files of at most 2 MB each. Obriym downloads and keeps its own copy, so the link only has to work now. Threads accepts JPEG and PNG only.
productIdNoA catalog product this post advertises (id from search_products). Links the post to the product, so when it sells out Obriym marks the live Telegram and Threads post as sold, and lets productPhotos attach the product's photos.
productPhotosNoWith productId: attach the product's own photos after any imageUrls, up to 10 images in total. Set false to post without them.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / channels / items / properties / channel / description
      Previous value: -"A social channel: telegram (the bound Telegram channel), instagram, facebook (the Facebook page), linkedin or threads. Use only channels list_content_channels reports as ready."New value: +"A social channel: telegram (the bound Telegram channel), instagram, facebook (the Facebook page), linkedin, threads or viber (the connected Viber channel). Use only channels list_content_channels reports as ready."
    • changedInput schema / properties / channels / items / properties / channel / enum
      Previous value: -[
      -  "instagram",
      -  "facebook",
      -  "telegram",
      -  "linkedin",
      -  "threads"
      -]New value: +[
      +  "instagram",
      +  "facebook",
      +  "telegram",
      +  "linkedin",
      +  "threads",
      +  "viber"
      +]
    • changedInput schema / properties / channels / maxItems
      Previous value: -5New value: +6
  2. Changed1 schema field changed
    • addedInput schema / properties / files
      Added value: +{
      +  "description": "Image files the person attached in ChatGPT. ChatGPT fills this field itself; any other client leaves it out and passes image links instead (or uploads files with create_image_upload).",
      +  "items": {
      +    "properties": {
      +      "download_url": {
      +        "description": "Temporary link ChatGPT gives to the attached file.",
      +        "format": "uri",
      +        "type": "string"
      +      },
      +      "file_id": {
      +        "description": "ChatGPT's id of the attached file.",
      +        "type": "string"
      +      },
      +      "file_name": {
      +        "description": "The attached file's name.",
      +        "type": "string"
      +      },
      +      "mime_type": {
      +        "description": "The attached file's type.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "download_url",
      +      "file_id"
      +    ],
      +    "type": "object"
      +  },
      +  "maxItems": 10,
      +  "type": "array"
      +}
  3. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare idempotentHint=false, destructiveHint=false and readOnlyHint=false, and the 'Not idempotent: each call creates a new draft' line largely restates the first of these. The description does add genuine context beyond the annotations: what returns (post id plus warnings such as an unready channel or Instagram without an image), that the workspace is echoed, and the product sell-out side effect that marks live Telegram/Threads posts as sold.

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-loaded with the draft semantics and otherwise dense with no filler sentences; every clause carries information. The image-source sentence is a long run-on enumerating four options, which slightly hurts scannability, keeping it from a 5.

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 mutation tool with no output schema, the description covers the essentials: draft state, required inputs, per-channel limits, image rules, return values and follow-up tools. It does not discuss failure/error behavior beyond warnings or permissions, which is a minor gap.

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 description coverage is 100%, so the baseline is 3 and the schema already carries most semantics. The description still adds cross-tool meaning the schema does not: the four distinct image sources (public links, ChatGPT `files`, links from create_image_upload, catalog product photos) and the note that hashtags are appended to every channel's text.

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?

Starts with a specific verb+resource+state: 'Create a social post as a DRAFT — nothing is published.' This immediately separates it from publish_content_post, schedule_content_post and update_content_post, and the draft/not-published framing prevents an agent from thinking it goes live.

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?

Names the downstream alternatives explicitly ('Then use schedule_content_post or publish_content_post') and points to list_content_channels for per-channel limits, which is real routing guidance. It stops short of an explicit when-not (e.g. 'to edit an existing draft use update_content_post'), so it falls just short of a 5.

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