Skip to main content
Glama
Social MCP

Social MCP

by ituzov

threads_publish_long_text

Publishes an approved Threads post or reply with a short text preview and a long-text attachment up to 10,000 characters, optionally adding a link.

Instructions

Publish an approved text preview (up to 500 chars) with a long text attachment.

attachment_text must be non-blank, at most 10000 characters. Both texts and optional HTTP(S) link_url are sent unchanged. Plain text only; styling is not supported here. Meta limits unique links to five and disallows an attachment link when the main post already has a link attachment. Meta enforces these limits. Requires threads_content_publish; for a reply, also threads_manage_replies and access to reply_to_id. Omit reply_to_id to publish a new post. Use reply_control/enable_reply_approvals only when the user requests those settings. Publish only after explicit approval of the account, both texts, link and any reply target. Processing starts with a 30-second wait and may take longer. Do not use this tool to test access. This action is not idempotent. After timeout, cancellation or unknown outcome, check threads_list_posts or threads_list_replies before another attempt; inspect the full attachment in Threads if needed. Do not retry automatically. Preparation is saved once its container IDs are known. After processing timeout or interruption, use threads_list_publications for this account. Resume only a preparing record with threads_resume_publication, preserving the approved content. Never repeat this creation tool for a saved preparation.

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": {
      "account_id": "<account_id>",
      "text": "<text>",
      "attachment_text": "<attachment_text>"
    },
    "name": "threads_publish_long_text"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes
link_urlNo
account_idYes
reply_to_idNo
reply_controlNo
attachment_textYes
enable_reply_approvalsNo

Output Schema

NameRequiredDescriptionDefault
post_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.9/5.0
Behavior5/5

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

Goes well past the annotations by disclosing the required scopes (threads_content_publish plus threads_manage_replies for replies), Meta's five-unique-link and link-attachment limits, the 30-second processing wait, plain-text-only behavior, and the fact that a preparation is persisted once container IDs exist. It also gives concrete recovery instructions after timeout or unknown outcome rather than just repeating idempotentHint=false.

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 purpose and dense with actionable constraints, but there is some redundancy: 'This action is not idempotent' restates idempotentHint=false, and the retry warning is spread across three sentences. The mid-paragraph line break before 'attachment_text must be non-blank' breaks the otherwise clean structure.

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 high-risk, non-idempotent 7-parameter publish tool, the description supplies permissions, validation bounds, platform limits, timing, approval preconditions and post-failure recovery paths. Return values need not be explained because an output schema exists.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage the description carries the full burden, and it does: non-blank/10000-char for attachment_text, 500-char preview for text, HTTP(S) link_url sent unchanged and subject to Meta's link rules, reply_to_id semantics, and the conditional nature of reply_control/enable_reply_approvals. Only account_id is left implicit, which is self-evident from the name.

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 — publishing an approved text preview plus a long text attachment — and the 500-char preview / 10000-char attachment framing distinguishes it from threads_publish_text, threads_publish_image and threads_publish_carousel without opening any 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?

Explicitly covers when to use reply_to_id (omit for a new post), when to use reply_control/enable_reply_approvals (only on user request), when not to use it ('Do not use this tool to test access'), and routes to named alternatives (threads_list_posts, threads_list_replies, threads_list_publications, threads_resume_publication) for each failure mode.

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