Skip to main content
Glama

chat

Send messages to Grok AI models for generating responses, with options to adjust model parameters and system prompts.

Instructions

Chat with xAI's Grok models. Send messages and receive AI-generated responses.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
messageYesThe user message to send to Grok
modelNoChat model (grok-3, grok-4, grok-3-mini)grok-3
system_promptNoOptional system prompt to set context
temperatureNoSampling temperature (0-2)
max_tokensNoMaximum tokens in response

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/joemccann/xai-mcp-server'

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