Skip to main content
Glama

Grok MCP Plugin

chat_completion

Generate AI responses using Grok models by providing conversation messages and parameters for customized chat interactions.

Instructions

Generate a response using Grok AI chat completion

Input Schema

NameRequiredDescriptionDefault
max_tokensNoMaximum number of tokens to generate
messagesYesArray of message objects with role and content
modelNoGrok model to use (e.g., grok-2-latest, grok-3, grok-3-reasoner, grok-3-deepsearch, grok-3-mini-beta)grok-3-mini-beta
temperatureNoSampling temperature (0-2)

Input Schema (JSON Schema)

{ "properties": { "max_tokens": { "default": 16384, "description": "Maximum number of tokens to generate", "type": "integer" }, "messages": { "description": "Array of message objects with role and content", "items": { "properties": { "content": { "description": "Content of the message", "type": "string" }, "role": { "description": "Role of the message sender (system, user, assistant)", "enum": [ "system", "user", "assistant" ], "type": "string" } }, "required": [ "role", "content" ], "type": "object" }, "type": "array" }, "model": { "default": "grok-3-mini-beta", "description": "Grok model to use (e.g., grok-2-latest, grok-3, grok-3-reasoner, grok-3-deepsearch, grok-3-mini-beta)", "type": "string" }, "temperature": { "default": 1, "description": "Sampling temperature (0-2)", "maximum": 2, "minimum": 0, "type": "number" } }, "required": [ "messages" ], "type": "object" }

Other Tools from Grok MCP Plugin

Related Tools

    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/Bob-lance/grok-mcp'

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