Skip to main content
Glama

publish_thread

Publish or schedule an X/Twitter thread in one call. segments[0] is the anchor tweet; segments 2..N (max 24, each ≤280 chars) publish as chained replies. schedule_at: future ISO datetime; omit to go out on the next scheduler tick (~1 min). Convenience wrapper over schedule_post + thread, same pipeline, same rules. Returns the created post id; follow with get_post to confirm the platform post ids after it publishes. Writing style for any post content you draft: write like the account's human owner, not like an AI. NEVER use em dashes, en dashes or double hyphens; use a period, comma or colon instead. Skip hashtag spam (0-1 hashtags), filler openers ("Exciting news!") and rocket/sparkle emoji. Before drafting, read the account's recent posts with list_posts and match their voice, casing and rhythm. For X specifically: keep a calm, factual, receipts-not-rhetoric tone; X ranking buries combative or bait-y posts even when engagement is high, and a mute or block outweighs hundreds of likes. Never write engagement-bait. Use 0-1 hashtags on X (more than 2 trips spam detection). Structure threads as one hook tweet, then 5-7 self-contained value tweets, then a single CTA. Prefer native vertical video (9:16, roughly 45-90 seconds) when media is available; it substantially outreaches text. Never draft identical or near-identical content for two different accounts. These heuristics were verified July 2026 and decay; treat as current-best, not gospel. CAPABILITY: publish: this can reach a LIVE AUDIENCE. A draft-scoped token gets a 403 here; a human must approve at timetopost.co 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": {
      "segments": "<segments>"
    },
    "name": "publish_thread"
  }
}

Input Schema

NameRequiredDescriptionDefault
brandNoBrand/niche attribution tag for per-play engagement rollups (e.g. "emplaw-watchdog"); auto-registers on first use. NOT the AI BrandVoice writing-style profile.
segmentsYesTweets in order; 1..24 items, each ≤280 chars
schedule_atNoFuture ISO 8601 datetime with Z or an offset, e.g. 2026-10-12T09:00:00Z; omit for next tick

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations cover the safety profile (readOnlyHint=false, openWorldHint=true, idempotentHint=false, destructiveHint=false), and the description adds material context beyond them: the post reaches a LIVE audience, a draft-scoped token gets a 403 and must be approved by a human at timetopost.co, publishing is delayed to a scheduler tick (~1 min), and the call returns a post id rather than the platform id.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The first three sentences are tight and front-load the mechanics, but the bulk of the text is editorial style guidance (em dashes, hashtags, hook/CTA structure, video aspect ratios, tone heuristics with a decay date) that does not help an agent select or invoke this tool. The most operationally critical line — the LIVE AUDIENCE / 403 / human-approval capability warning — is buried at the very end after the style advice.

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 3-parameter mutation tool with no output schema, the description covers return value, follow-up verification, auth constraints, scheduling latency, and content limits. The only real gap is the inconsistent segment indexing ('segments 2..N' vs the schema's 1..24 items), which is the one thing an agent could get wrong at call time.

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 100% schema coverage the baseline is 3, and the description adds real meaning: segments[0] is the anchor tweet and the rest chain as replies, plus the ~1 min scheduler-tick semantics of omitting schedule_at. It introduces a small ambiguity by writing 'segments 2..N' where the schema says 1..24 items, which could confuse 0- vs 1-based indexing.

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: 'Publish or schedule an X/Twitter thread in one call,' then states it is a convenience wrapper over schedule_post + thread on the same pipeline. An agent can immediately tell this is the thread-shaped counterpart to single-post publishing.

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 when-to-use signals: omit schedule_at to fire on the next scheduler tick, follow with get_post to confirm platform ids, read list_posts before drafting. It never explicitly says when to prefer this over publish_post, schedule_post, or create_drafts, so routing against the closest siblings is left implicit.

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.