Skip to main content
Glama
Social MCP

Social MCP

by ituzov

threads_publish_image

Publish one approved image to a Threads account with an optional caption and alt text, using a public image URL after the user confirms the account and content.

Instructions

Publish one image only after the user approves the account, image and caption.

Requires threads_content_publish. Meta downloads image_url from a public HTTP(S) server; local files and private URLs will not work. URL, caption and alt_text are sent unchanged. Caption and alt_text are optional. Processing starts with a 30-second wait and may take longer. Do not use this tool to test access. Returns post_id after confirmed publication. This action is not idempotent. After a timeout, cancellation or unknown outcome, check threads_list_posts before attempting another publication to avoid duplicates. 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>",
      "image_url": "<image_url>"
    },
    "name": "threads_publish_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
textNo
alt_textNo
image_urlYes
account_idYes

Output Schema

NameRequiredDescriptionDefault
post_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: the permission requirement, the public HTTP(S) image constraint, Meta downloading the image, the 30-second processing wait, non-idempotency, saved preparation state and duplicate-avoidance recovery steps. These details are consistent with readOnlyHint=false and 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?

The core purpose and approval precondition are front-loaded, and most procedural detail is useful for a non-idempotent publishing tool. The latter section overlaps somewhat between checking threads_list_posts and handling saved preparations, but the description remains purposeful.

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 complex, asynchronous, non-idempotent publishing operation, the description covers permissions, image-source constraints, approval requirements, timeout behavior, recovery alternatives and duplicate prevention. Return value detail is unnecessary because an output schema exists, and annotations already cover the basic safety profile.

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

Parameters3/5

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

Schema description coverage is 0%, so the description must carry parameter meaning. It explains that image_url must be public HTTP(S), that caption and alt_text are optional, and that URL/caption/alt_text are sent unchanged, but it does not explain account_id and calls the schema's 'text' parameter 'caption', which may cause mapping ambiguity.

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 ('Publish one image') plus a critical approval precondition. The scope ('one image only') distinguishes it clearly from siblings like threads_publish_text, threads_publish_carousel and threads_publish_long_text.

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 when-not guidance ('Do not use this tool to test access') and names alternatives for recovery: threads_list_posts after an unknown outcome and threads_resume_publication for a saved preparation. It also states the required threads_content_publish permission, so an agent knows both preconditions and fallback paths.

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