Skip to main content
Glama

Publish Text Thread

threads_publish_text

Publish a text-only post to Threads by creating a container and then publishing it, with options to reply to or quote existing threads.

Instructions

Publishes a text-only post to Threads.

Two-step flow: creates a container, then publishes it.

Args:

  • threads_user_id (string): Threads user ID

  • text (string): Post text (up to 500 characters)

  • reply_to_id (string, optional): Thread ID to reply to

  • quote_post_id (string, optional): Thread ID to quote

Returns: Media ID of the published thread.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYesPost text
location_idNoLocation ID to tag (from Facebook Places search)
reply_to_idNoThread ID to reply to
quote_post_idNoThread ID to quote
reply_controlNoWho can reply to this post
response_formatNoOutput format: 'markdown' for human-readable or 'json' for machine-readablemarkdown
threads_user_idYes
Behavior4/5

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

The description discloses a key behavioral trait: the two-step flow (creates a container, then publishes it). This is beyond the annotations, which are minimal (readOnlyHint=false, etc.) and don't reveal this internal process. It also states the return value (Media ID). While it doesn't mention potential intermediate states or failure handling, the two-step disclosure is valuable and adds context beyond annotations.

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 description is compact and well-structured: a two-sentence overview, an Args list, and a Returns line. It front-loads the core purpose but repeats some parameter details already in the schema (e.g., text length). Still, it is efficient and scannable, earning a 4 rather than a 5 due to slight redundancy.

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 publish operation with seven parameters, this description is fairly complete: it explains the two-step process that involves a container creation, a crucial detail for understanding the API call pattern, and describes the return value. It does not cover all parameters (though schema handles them) nor error handling, but it hits the key points for invoking the tool correctly. The presence of the two-step flow and return type makes it complete enough for an agent to act.

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 86%, so the baseline is 3. The description lists only 4 of 7 parameters and adds little beyond what the schema already provides (e.g., text max length matches schema). It omits location_id, reply_control, and response_format, but the schema describes those well. The description does not compensate for the missing 14% coverage, so it stays at baseline.

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?

The description clearly states the action 'Publishes a text-only post to Threads' – a specific verb and resource that distinguishes it from sibling publishing tools (image, video, carousel, gif, link) by explicitly saying 'text-only'. This makes the tool's intent unambiguous without needing to open the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

The description implies usage for text-only posts but does not explicitly mention alternatives or when to choose this over sibling publishing tools. An agent could infer from the name and siblings, but there is no direct guidance like 'for images use threads_publish_image'. It provides context but no exclusions or comparisons.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/open-work-org/open-mcp-servers'

If you have feedback or need assistance with the MCP directory API, please join our Discord server