Skip to main content
Glama

web_search

Searches the web through free, keyless engines and returns titles, URLs, and snippets; reports an error if all engines are blocked instead of inventing results.

Instructions

Искать в вебе через бесплатные движки (DuckDuckGo → Mojeek → Brave → SearxNG).

Возвращает список: заголовок, URL, сниппет. При блокировке всех движков бросает ошибку с причиной по каждому движку — результаты не выдумываются.

Args: query: поисковый запрос. max_results: максимум результатов (1–30).

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
max_resultsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/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 burden and does add real value: the fallback order across four engines and the guarantee that a total failure raises an error per engine rather than fabricating results. It says nothing about rate limits, auth, latency, or result freshness, so the behavioral picture is partial rather than complete.

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?

Front-loaded with purpose, then return shape, then failure behavior, then arguments — a clean progression. The engine chain and Args block are compact; nothing is repeated needlessly.

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

Completeness4/5

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

For a two-parameter search tool with an output schema, the definition covers purpose, fallback mechanics, and failure semantics. The missing piece is guidance on choosing among adjacent retrieval tools, which the description never mentions.

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 0%, so the description has to compensate. It explains that query is the search query and adds the 1–30 bound plus default for max_results, which the schema only partly conveys, but query format (operators, language) is still unaddressed.

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 (web search) and names the concrete engine chain, so the agent knows this is a meta-search, not a page fetch. It does not explicitly contrast itself with siblings like fetch_page or search_and_read, so differentiation is left implicit.

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 when-to-use or when-not-to-use guidance: nothing says to prefer fetch_page when a URL is already known or search_and_read when snippets need expanding. Usage is only implied by the verb 'search'.

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