Skip to main content
Glama

ask_grok

Query Grok with any question to get an answer for second opinions, research, or brainstorming, with optional model and system instructions.

Instructions

Ask Grok (xAI) any question and get its answer. Useful for a second opinion, research or brainstorming.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "prompt": "<prompt>"
    },
    "name": "ask_grok"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNoOptional Grok model id (defaults to GROK_MODEL or grok-4.7).
promptYesThe question or task for Grok.
systemNoOptional system instructions that steer the answer.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden, yet it discloses almost nothing beyond the outcome. It does not say whether an API key/model configuration is required, whether the call is synchronous or long-running, what latency or rate limits apply, or whether errors are surfaced or swallowed.

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?

Two short sentences with the core action front-loaded and no redundant restatement of the name. The second sentence is somewhat generic filler, but it is not long enough to be a real cost.

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

Completeness3/5

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

With only 3 fully documented parameters and no output schema, the structured fields cover most of the surface, so the description is adequate but not complete. It leaves open the practical concerns of an external model call: credential requirements, cost, and whether the response includes model metadata.

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

Parameters3/5

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

Schema description coverage is 100%, with model, prompt and system each documented in the schema, so the baseline of 3 applies. The description adds no meaning beyond that — it never mentions the model override or system-prompt steering, which are the two knobs that most affect output.

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?

States a specific verb and resource ("Ask Grok (xAI) any question and get its answer"), which is clear on its own. The phrase "any question" implicitly positions it as the general-purpose entry point versus the specialized siblings (grok_explain_error, grok_review_code, grok_summarize), but it never names them, so differentiation is left to inference.

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

Usage Guidelines3/5

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

"Useful for a second opinion, research or brainstorming" gives loose usage context but no explicit when-to-use conditions, no exclusions, and no routing to the specialized sibling tools. An agent must guess whether a code review should go here or to grok_review_code.

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