Skip to main content
Glama
pedrot95dev

twitterapi.mcp

by pedrot95dev

Create tweet

create_tweet

Create or reply to tweets with text, media, scheduling, and community support using cookie-based authentication.

Instructions

Create or reply to a tweet via the v2 endpoint. Uses login_cookies built from the account's auth_token/ct0 env vars (requires TWITTERAPI_IO_AUTH_TOKEN, TWITTERAPI_IO_CT0, TWITTERAPI_IO_PROXY).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
media_idsNoMedia IDs from prior /twitter/upload_media_v2
tweet_textYesThe text content of the tweet
community_idNoPost inside a specific community
schedule_forNoISO-8601 future time e.g. 2026-01-20T10:00:00.000Z
is_note_tweetNoAllow >280 chars (Premium accounts)
attachment_urlNoURL for quote (alternative to quote_tweet_id)
quote_tweet_idNoTweet ID to quote
reply_to_tweet_idNoTweet ID to reply to (makes this a reply)
Behavior3/5

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

No annotations provided, so the description carries full burden. It notes the use of v2 endpoint and auth via cookies, but omits details like the irreversible nature of posting, rate limits, or that it's a write operation. Some transparency but not comprehensive.

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

Conciseness5/5

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

Two sentences: first states the action, second details authentication requirements. No extraneous information; clear and front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 8 parameters, no output schema, and no annotations, the description could discuss return values or error handling. It covers the core function and auth but lacks completeness for a complex tool.

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 100%, so parameters are well-documented in the schema. The description adds no additional parameter-specific insights, maintaining the baseline score of 3.

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 tool creates or replies to a tweet via the v2 endpoint. It uses a specific verb and resource and is distinct from siblings like get_user_mentions or delete_tweet.

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?

The description specifies required environment variables (auth_token, ct0, proxy) and the cookie mechanism, which are prerequisites. It does not explicitly compare to sibling tools but the context implies use for tweet creation, not reading or deletion.

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/pedrot95dev/twitterapi.mcp'

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