Skip to main content
Glama

search_web

Search the web for pages or recent news and return titles, URLs, snippets, and dates; uses local SearXNG when available, otherwise DuckDuckGo, with no API key.

Instructions

Search the web. Uses a local SearXNG instance when one is running, otherwise DuckDuckGo. No API key required either way.

Args: query: What to search for. max_results: How many results to return (default 5). news: Bias toward recent news rather than general pages.

Returns {"results": [{title, url, snippet, published}]}. Snippets are short — use read_url on a result to get the full text.

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

Input Schema

NameRequiredDescriptionDefault
newsNo
queryYes
max_resultsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.9.3

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description does real work: it discloses the backend resolution order (local SearXNG first, DuckDuckGo fallback), that no API key is needed, the exact return shape, and that snippets are short so read_url is needed for full text. It omits failure behavior if both backends are unavailable and any rate/latency characteristics, which keeps it below 5.

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?

Front-loaded with the action and backend note, then a compact Args block, then a one-line Returns plus the read_url caveat. Every line adds information an agent needs; no preamble or filler.

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 3-param tool with no annotations and no output schema, the description supplies the return structure and the key follow-up relationship to read_url. The remaining gap is error/degradation behavior when neither backend responds, which an agent would have to discover at runtime.

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 carries the burden and mostly does: it names all three parameters and explains the semantics of 'news' (bias toward recent news rather than general pages) and max_results as a count with a default. The 'query' gloss ('What to search for') is tautological, which keeps it from a 5.

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

Purpose5/5

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

States a specific verb+resource ('Search the web') and immediately scopes it with backend behavior (local SearXNG, else DuckDuckGo) and a return shape. It also explicitly distinguishes itself from read_url, so an agent can tell which of the two to call for snippets vs. full text.

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?

Usage is only implied: the 'news' flag hints at when to bias toward recent items, and the last line routes the agent to read_url for full text. There is no explicit statement of when to prefer this over other retrieval-style siblings, and no exclusions or prerequisites beyond 'no API key required'.

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