Skip to main content
Glama
grok-search-mcp

grok-search-mcp

by z2z23n0

Search the web with Grok CLI

grok_web_search

Search the web through an isolated Grok CLI profile to retrieve relevant results without using xAI API credits, with optional domain, recency, result-count, and exclusion filters.

Instructions

Search the web through an isolated Grok CLI profile. Does not use xAI API credits.

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": {
      "query": "<query>"
    },
    "name": "grok_web_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesWeb search query.
domainsNoOptional domains to prioritize or restrict to.
recencyNoOptional recency requirement.
maxResultsNoMaximum high-signal results to return.
excludedDomainsNoOptional domains to exclude.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses that it runs through an isolated CLI profile and does not consume xAI API credits (a cost signal), but says nothing about rate limits, latency, auth, or return behavior.

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

Conciseness5/5

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

Two short, front-loaded sentences with zero waste; the cost caveat follows the core purpose immediately.

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?

For a five-parameter search tool with full schema coverage, the description covers purpose and one behavioral trait. However, with no output schema it does not indicate what results look like, leaving a gap an agent would want filled.

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%, so all five parameters are already well documented in the schema. The description adds no meaning beyond it, so the baseline 3 is appropriate.

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 ('Search the web') plus the mechanism ('isolated Grok CLI profile'), which makes the operation clear. It doesn't explicitly differentiate from the sibling grok_x_search beyond the word 'web', so differentiation relies partly on the name.

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?

There is no guidance on when to use this versus the sibling grok_x_search, nor any stated exclusions or preconditions. The agent must infer usage purely from the term 'web search'.

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

Deploy Server

Other Tools