Skip to main content
Glama

Mix a post's parts

posts_mix

Choose the parts of a post the agent delivered as parts (posts_get shows parts.versions and why each was written). picks takes a version per part by id or letter ({"hook": "B"}); rotate turns one part to its next version; fix asks for one explicit rewrite: smooth_join when the warnings say hook and body repeat across the join, shorten_to_fit when the mix is over the platform limit. A fix answers changed [{kind, before, after}] and keeps the result as version yours. The post on the calendar becomes the mix; nothing goes out until posts_approve. Needs the write scope.

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": {
      "id": "<id>"
    },
    "name": "posts_mix"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe post id.
fixNoOne explicit rewrite of the mix's words.
picksNoPart to version, by id or letter: {"hook": "hook.B", "media": "A"}.
rotateNoTurn this part to its next version.

Output Schema

NameRequiredDescriptionDefault
idYes
mixYes
partsYes
statusYes
changedNo
postTextYes
warningsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations it discloses that the calendar post is overwritten by the mix, that nothing publishes until posts_approve, that a fix returns changed [{kind, before, after}] and stores the result as version 'yours', and that the write scope is required. That is exactly the mutation and auth context the readOnlyHint/destructiveHint flags cannot convey.

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 core action and then walks the parameters in order; every sentence carries information. The semicolon-chained clauses make it dense to parse, but nothing is filler.

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?

Covers the mutation, the precondition (parts must already exist), the follow-up (posts_approve), and even the fix return shape despite an output schema existing. Remaining gap is the interaction/merge semantics when several parameters are supplied together.

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 baseline is 3, but the description adds real meaning: picks accepts a version per part by id or letter with an inline example, rotate advances one part to its next version, and each fix enum value is tied to a triggering condition. It does not clarify whether picks and rotate can be combined in one call.

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 ('Choose the parts of a post the agent delivered as parts') and immediately frames the tool against posts_get for version discovery and posts_approve for publishing, so an agent can place it in the workflow 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives concrete conditional guidance for the fix modes ('smooth_join when the warnings say hook and body repeat across the join, shorten_to_fit when the mix is over the platform limit') and routes version lookup to posts_get. It does not explicitly contrast this against posts_update for changing a post's parts, so the sibling boundary is clear but not exhaustive.

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.