Skip to main content
Glama

call_grok

Send a prompt to Grok (xAI) and receive an AI-generated response. Configure model, tokens, and temperature for tailored answers.

Instructions

Call Grok (xAI) from Claude or any MCP client.

Phone-first: uses only requests. Set XAI_API_KEY (or GROK_API_KEY) in the environment before starting the server.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelNogrok-3
promptYes
systemNo
max_tokensNo
temperatureNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations provided, so description must disclose behavior. It says 'uses only requests' implying a read operation, but does not clarify if it's destructive, auth requirements beyond env vars, rate limits, or side effects. Lacks necessary context for an agent.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Description is two sentences, front-loaded with purpose. Concise but missing essential details. For conciseness alone, it is well-structured.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Despite having 5 parameters and no annotations, the description only mentions environment setup. It does not cover return values (output schema exists but unmentioned), parameter details, or behavioral context. Severely incomplete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema has 0% parameter description coverage, and the description adds no meaning to any parameter. It does not explain 'model', 'prompt', 'system', 'max_tokens', or 'temperature', leaving agents uninformed.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Clearly states the tool calls Grok (xAI) from an MCP client. The verb 'call' and resource 'Grok' are specific. No siblings exist, so differentiation is not needed.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to use this tool vs alternatives. Only mentions environment setup as a prerequisite, but no usage context or exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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/fitzyracing1/geez'

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