Skip to main content
Glama

Twitter MCP Server

getConversation

Retrieve full conversation history from Twitter by providing a conversation ID, including messages, sender details, and attachments, with pagination support for extensive threads.

Instructions

Get full conversation history for a specific conversation

Input Schema

NameRequiredDescriptionDefault
conversationIdYesThe ID of the conversation to retrieve
dmEventFieldsNoFields to include in the DM event objects
maxResultsNoMaximum number of messages to return (default: 100, max: 100)
paginationTokenNoPagination token for retrieving next page of results

Input Schema (JSON Schema)

{ "properties": { "conversationId": { "description": "The ID of the conversation to retrieve", "type": "string" }, "dmEventFields": { "description": "Fields to include in the DM event objects", "items": { "enum": [ "id", "text", "created_at", "sender_id", "dm_conversation_id", "referenced_tweet", "attachments" ], "type": "string" }, "type": "array" }, "maxResults": { "description": "Maximum number of messages to return (default: 100, max: 100)", "maximum": 100, "minimum": 1, "type": "number" }, "paginationToken": { "description": "Pagination token for retrieving next page of results", "type": "string" } }, "required": [ "conversationId" ], "type": "object" }

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

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