Skip to main content
Glama
Twitter MCP Server

Twitter MCP Server

by EnesCinr

post_tweet

Publish a new tweet with up to four images or reply to an existing tweet by ID. Use it to share updates, media, or threaded responses on Twitter.

Instructions

Post a new tweet to Twitter, optionally with up to 4 images

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": {
      "text": "<text>"
    },
    "name": "post_tweet"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesThe content of your tweet
media_pathsNoOptional: local file paths of images to attach (JPG, PNG, GIF or WEBP)
reply_to_tweet_idNoOptional: ID of the tweet to reply to

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.3.0
    • addedInput schema / properties / media_paths
      Added value: +{
      +  "description": "Optional: local file paths of images to attach (JPG, PNG, GIF or WEBP)",
      +  "items": {
      +    "type": "string"
      +  },
      +  "maxItems": 4,
      +  "type": "array"
      +}
  2. First observedv1.0.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it only restates the schema constraint ('up to 4 images'). It does not disclose that this is a public, effectively irreversible mutation, whether auth is required, rate limits, or what happens when media upload fails.

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?

A single front-loaded sentence with no filler; the optional capability is stated inline. It is efficient, though the extreme brevity is partly the source of the missing behavioral context rather than a model of structure.

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

Completeness2/5

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

For a mutation tool with zero annotation coverage and no output schema, the description should say more about irreversibility, permissions, and failure behavior. An agent can call it correctly on shape alone, but not with a full understanding of consequences.

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 coverage is 100%, so text, media_paths, and reply_to_tweet_id are already fully documented, establishing a baseline of 3. The description mentions text and image count (both already in the schema) but never mentions reply_to_tweet_id, adding no meaning beyond structured data.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Post a new tweet to Twitter') plus a notable capability (attaching up to 4 images). It is easy to distinguish from the sibling read tools (get_home_timeline, search_tweets), though it never explicitly names them as alternatives.

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?

Usage is strongly implied by the name and description — an agent will know this is the write path while the siblings are read paths. However, there is no explicit when-to-use guidance, no mention of rate limits, auth prerequisites, or when to reply via reply_to_tweet_id versus posting a fresh tweet.

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

Deploy Server

Other Tools