Skip to main content
Glama

Create a submission

create_post

Create ONE submission going to as many channels as you list. Calling this once per channel is the most common way to get this wrong: it produces that many unrelated submissions, each with its own id and its own schedule, and the user sees a duplicate for every account.

There is no shared "text" field. Each channel carries its own blocks, so sending the same words to four channels means writing them four times — and tailoring one to LinkedIn costs nothing extra.

If the platform lists postTypes, decide which kind of thing this is BEFORE writing anything and send it as channels[].postType. Composing against the platform’s default and adding the type afterwards is how a submission gets refused for four reasons at once — the caption, the second attachment, the thread and the option all belong to a different kind of post.

blocks is a chain: one entry is an ordinary post, more than one is a thread, and only on platforms whose maxBlocks allows it AND channels whose continuationStatus is available. Check list_platforms and list_channels first — for those, for the character count, and for whether the platform demands media at all.

Describe every image you attach. mediaAltText on a block maps a media id to what the picture shows, for a reader who cannot see it, and it is accepted whatever the channel — list_platforms says which platforms actually publish it. Say what is in the frame, not that it is a picture. Skip it only for a file the library already describes (altText on list_media), which is the description that publishes when you send none.

mediaUserTags tags PEOPLE on an attachment, and is the one field beside it that is refused rather than ignored on the wrong channel: a handle is an account on one platform and the same characters are somebody else on the next. Send it only where list_platforms gives that channel a userTags rule, and read the rule before writing one — it says how many one attachment takes, which kinds of file take any, and whether each tag needs x/y (fractions of the picture from its left and top edges, both or neither). Never invent a handle or a position: tag someone only when the user named them, and place them only where the user said, because a handle that resolves to nobody publishes as a post that tags nobody and says so nowhere.

intent is draft (store it, publish nothing), schedule (needs scheduledAt, ISO 8601, in the future) or now. now is asynchronous: this returns publishing, and get_post is where you learn whether it went out. Do not report a post as published on the strength of this result.

tagIds files the submission under the workspace’s own labels. Call list_tags for the ids and use only what is there — an id that does not exist is refused, and this server cannot create a tag. A tag is not a hashtag and never reaches a platform; a hashtag is characters in a block’s content.

Validation is all-or-nothing: if anything is refused, nothing was created, and the error names the exact field. Pass an idempotencyKey and reuse it verbatim if you retry — without one, a retry after a timeout schedules the post a second time.

Read the channels in the result before reporting success. Scheduling is per channel, so a submission can come back with most channels fine and one reading failed with a reason — that is a result, not an error, and calling this again would duplicate the channels that worked. Send the submission back through update_post instead.

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": {
      "post": "<post>"
    },
    "name": "create_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
postYes
idempotencyKeyNoA key of your choosing that makes this call safe to retry: retrying with the SAME key replays the first outcome instead of doing the work twice. Reuse it verbatim on a retry, and never reuse it for a different request.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Goes well past the annotations, which only say it is a non-read-only, non-destructive, non-idempotent write. It discloses that `now` is asynchronous and returns `publishing`, that validation is all-or-nothing with field-named errors, that scheduling is per channel so partial failures are results not errors, and that retries without idempotencyKey duplicate work. It does not contradict idempotentHint=false; it explains exactly why that hint is false and how to compensate.

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?

Roughly six short paragraphs, each owning one pitfall, with the most consequential rule (one call, many channels) front-loaded. It is long, and a few passages re-explain schema-documented fields such as option and block shape, but almost every sentence earns its place as a distinct failure mode.

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 deeply nested two-parameter tool with 50% schema coverage and no output schema, the description covers the missing pieces an agent needs: what the result looks like (`publishing`, per-channel status), how to interpret partial failures, and how to recover. Nothing material about correct invocation is absent.

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 50% but the per-field schema text is already extensive, so the description's value is in cross-field rules: no shared text field, `blocks` cardinality meaning thread vs. single post, `mediaUserTags` being refused rather than ignored on unsupported channels, and `intent=schedule` requiring a future ISO 8601 `scheduledAt`. Some of this restates schema prose, which keeps it below a 5.

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 and resource and an explicit scope statement: 'Create ONE submission going to as many channels as you list.' It immediately differentiates itself from the per-channel-per-call alternative and later names update_post as the place to make corrections, so an agent can tell it apart from siblings without opening a 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 preconditions (check list_platforms and list_channels first, decide postType before composing), explicit anti-patterns (calling once per channel, retrying after partial failure instead of using update_post), and explicit exclusions (tagIds are not hashtags). Nothing about when to choose this over an alternative is left to inference.

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