Skip to main content
Glama

Grok MCP

retrieve_stateful_response

Fetch previously saved conversation responses from xAI servers to review past interactions or recover lost conversations from the last 30 days using response IDs.

Instructions

Fetches a previously saved stateful conversation response from xAI's servers. Use this to look up old conversations or check what was said in a previous exchange. Helpful if you lost track of a conversation or want to review past interactions. Works with any response_id from the last 30 days. Args: response_id: The ID of the response you want to retrieve Returns a dict with all the details: 'content', 'response_id', 'model', 'created_at', 'status', 'reasoning' (if available), 'usage', and 'previous_response_id' (if it was part of a chain).

Input Schema

NameRequiredDescriptionDefault
response_idYes

Input Schema (JSON Schema)

{ "properties": { "response_id": { "title": "Response Id", "type": "string" } }, "required": [ "response_id" ], "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/merterbak/Grok-MCP'

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