Skip to main content
Glama
alexcloudstar

Marketing Assistant MCP

Edit published draft on X

edit_published_draft

Edit the root post of a published X draft via the API, re-attaching media and quote tweets. Works within the 30-minute edit window for Premium, excluding polls and community posts.

Instructions

Edit the root post of a published draft via POST /2/tweets with edit_options.previous_post_id. Requires X Premium; edits are limited (~30 minutes / 5 edits) and each edit creates a new post id (stored locally). Re-attaches media (re-uploaded from mediaPaths) and quoteTweetId when present. Polls and community posts cannot be edited. Only the thread root is edited. Same link rule: no http(s) URL in the root unless allowLinksInMainPost is true (or was already set on the draft) because the user explicitly insisted.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesDraft id.
textYesNew text for the root post. Do not put http(s) links here unless allowLinksInMainPost is true.
paidPartnershipNoOptional paid partnership flag for the edited post.
allowLinksInMainPostNoAllow a URL in the root post for this edit. Only when the user explicitly insists. Defaults to the draft's stored flag.
Behavior5/5

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

With no annotations, the description fully discloses behaviors: creates new post id, re-attaches media/quoteTweetId, enforces link rules, and notes limitations. This provides comprehensive insight into side effects and prerequisites beyond basic schema info.

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?

The description is dense but efficient, with every sentence conveying a distinct constraint or behavior. It front-loads the core purpose, then lists limitations and rules without redundancy. Appropriate length for a tool with this complexity.

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?

The description covers essential context: method, prerequisites, limitations, exclusions, and special rules. It omits return value details, but since there is no output schema, some ambiguity remains. Still, for tool selection and invocation, it is sufficiently complete.

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 descriptions cover 100% of parameters, so baseline is 3. The description adds context about the link rule and allowLinksInMainPost defaulting to the draft's stored flag, but this is marginal beyond the schema. It does not significantly enhance parameter understanding.

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: 'Edit the root post of a published draft' with a specific verb, resource, and scope. It distinguishes itself from siblings like update_draft (pre-publish edits) and delete_published_draft by focusing on published drafts and the root post.

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?

Provides explicit context: requires X Premium, edits limited, only thread root edited, polls/community posts cannot be edited. It implies when to use (for published drafts) but does not explicitly name alternative tools. Exclusions are clear, but no direct 'use X instead' guidance.

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/alexcloudstar/makers.page-mcp'

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