Skip to main content
Glama
tangivis

twikit-mcp

by tangivis

create_poll

Create an X poll with 2-4 choices and a duration in minutes, returning a card URI for attaching the poll to a tweet.

Instructions

Create an X poll and return its card URI.

X polls have 2-4 choices and a duration in minutes. Pass the returned card_uri to send_tweet's poll_uri parameter to attach the poll.

Args: choices: Poll choices (2-4 entries required; each must be non-empty). duration_minutes: Poll duration in minutes (must be > 0).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
choicesYes
duration_minutesYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

The description discloses that the tool creates a poll (mutation) and returns a card_uri. It specifies constraints (2-4 choices, duration >0) and the integration with send_tweet. No annotations are provided, so the description carries full responsibility; it is sufficiently transparent.

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 concise with three clear sections: summary, constraints and usage, and parameter details. Every sentence adds value, and the most important information appears first.

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 the creation behavior, constraints, and integration with send_tweet. It mentions the return value (card_uri). While an output schema exists but isn't shown, the description handles it adequately. Missing details like error handling are minor for this simple tool.

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

Parameters5/5

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

The input schema has 0% description coverage, but the description fully compensates by specifying that 'choices' must be a non-empty array of 2-4 strings and 'duration_minutes' must be >0. This adds complete semantic meaning beyond the schema.

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 ('Create an X poll') and the return value ('return its card URI'), making the tool's purpose unambiguous. It also explains the relationship with send_tweet, differentiating it from other tweet-related tools.

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 provides a clear workflow: create the poll, then pass the card_uri to send_tweet. However, it does not explicitly state when not to use this tool or mention alternatives, though no direct alternative exists for poll creation.

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/tangivis/twitter-mcp'

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