Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GROK_BASE_URLYesGrok API base URL (e.g., https://api.x.ai).
GROK_API_TOKENYesYour Grok API authentication token.
GROK_IMAGE_MODELNoModel for image generation.grok-imagine-1.0
GROK_VIDEO_MODELNoModel for video generation.grok-imagine-1.0-video
GROK_SEARCH_MODELNoModel for search tools.grok-4.20-beta
GROK_IMAGE_TIMEOUT_MSNoTimeout for the image_generation tool. Defaults to the global timeout.
GROK_VIDEO_TIMEOUT_MSNoTimeout for the video_generation tool. Defaults to the global timeout.
GROK_REQUEST_TIMEOUT_MSNoGlobal request timeout in milliseconds.120000
GROK_X_SEARCH_TIMEOUT_MSNoTimeout for the x_search tool. Defaults to the global timeout.
GROK_GENERAL_SEARCH_TIMEOUT_MSNoTimeout for the general_search tool. Defaults to the global timeout.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
x_searchC

Search and summarize X (Twitter)-oriented information using grok-4.20-beta.

general_searchC

Run general web-style search and summarization using grok-4.20-beta.

image_generationC

Generate images via /v1/images/generations using grok-imagine-1.0.

video_generationC

Generate videos via /v1/chat/completions using grok-imagine-1.0-video.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3/5.0

Scored across 4 tools

Disambiguation4/5

The four tools cover distinct modalities: X search, general search, image generation, and video generation. The two search tools could be slightly confused when a query spans X and the broader web, but the descriptions make the intended source clear.

Naming Consistency5/5

All tool names use consistent snake_case with a clear [scope/modality]_[action] pattern: x_search, general_search, image_generation, video_generation. The convention is predictable across the whole set.

Tool Count5/5

Four tools is well-scoped for this API wrapper, with each tool representing a distinct capability. There is no obvious bloat or missing basic operation in the count itself.

Completeness3/5

The surface covers search plus image/video generation, but there are notable gaps: no general text/chat completion tool and no explicit status or retrieval operation for potentially asynchronous video generation. These gaps could force workarounds for some workflows.