Skip to main content
Glama

web_search

Search the web across multiple engines to retrieve relevant results with region, time, safe-search, and result-count filters for research and fact-finding.

Instructions

Search the web using DDGS (multi-backend metasearch: Bing, Brave, DuckDuckGo, Google, Yahoo, Wikipedia).

Args: query: Search query. max_results: Number of results (default 10). region: Region code (default "wt-wt" for worldwide). Examples: "us-en", "uk-en", "de-de". safesearch: Content filter level. backend: Comma-separated engines, or "auto" (Wikipedia-first; can flake on wiki HTTP errors). Default omits Wikipedia-first ordering for reliability. timelimit: Time filter — "d" (day), "w" (week), "m" (month), "y" (year), or None.

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": "web_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYes
regionNowt-wt
backendNoduckduckgo,bing,brave,google,yahoo
timelimitNo
safesearchNomoderate
max_resultsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

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 supplied, the description does add real behavioral context: it is a read-only metasearch fan-out across multiple engines, and it warns that "auto" (Wikipedia-first) "can flake on wiki HTTP errors" while the default ordering was chosen for reliability. It says nothing about rate limits, fallback when a backend fails, or result shape, but an output schema exists so return values are covered elsewhere.

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?

The purpose line is front-loaded and each arg line earns its place with defaults and examples rather than restating types. The formatting is slightly awkward (an indented continuation line under backend, and max_results only mentioned in prose) but nothing is padded or redundant.

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 six-parameter tool with no annotations, the description covers parameters and the multi-backend behavior well, and the output schema handles results. What is missing is routing guidance against the many sibling search and browser tools, which is the main thing an agent needs to pick this tool correctly.

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

Parameters4/5

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

Schema description coverage is 0%, so the description must carry all six parameters and it largely does: query, max_results default 10, region default "wt-wt" with concrete examples ("us-en", "uk-en", "de-de"), timelimit letter codes (d/w/m/y), backend comma-separated semantics with the "auto" caveat, and safesearch as a filter level. The only shortfall is safesearch, whose on/moderate/off enum is left for the schema to explain.

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?

"Search the web using DDGS (multi-backend metasearch: Bing, Brave, DuckDuckGo, Google, Yahoo, Wikipedia)" gives a concrete verb and resource plus the underlying engine, so the agent knows this is general web search rather than a browser automation step. It does not explicitly distinguish itself from news_search or image_search by name, which keeps it just below 5.

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 statement of when to use this tool versus news_search, image_search, or the fetch/extract family, nor any when-not condition. The only usage-flavored guidance is embedded in the backend note about Wikipedia-first ordering being less reliable, which is behavioral rather than selection guidance.

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