Skip to main content
Glama

Web Search

web_search
Read-onlyIdempotent

Search the live web and get ranked results with title, URL, snippet and published date. When to use: an agent needs current facts, news or links that are not on chain - 'what is the BTC fee market saying today', 'recent Zcash governance proposals', 'find the docs page for X'. Use it before web_fetch, then fetch the one URL that looks authoritative. Do not use: for on-chain facts (use the BTC/LTC/XMR/ZEC tools) or for content inside a CyberLibrary book (use cyberlibrary_fulltext_search). Provider: self-hosted SearXNG (Bing/Baidu/360/Sogou/Yandex/Marginalia) first, then Serper, Tavily and cn.bing RSS as automatic fallbacks. Returns: {query, count, results:[{title,url,snippet,published}], provider (serper|tavily|bing_rss), cached, took_ms, _metering}. Results may be cached for up to 10 minutes; a cached result still counts as one call against the free allowance. Metered: all web tools share 10 free calls/day per IP (the same shared pool as every other tool), then 1 credit per call over x402 - there is no API key; the 402 answer carries accepts[]. max count is 10.

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
langNoOptional language preference, e.g. zh-cn or en.
siteNoOptional: restrict results to one domain, e.g. github.com.
countNoNumber of results to return, 1-10. Default 5.
queryYesSearch query (1-200 characters).
freshnessNoOptional freshness filter.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnly, openWorld, idempotent and non-destructive, so the safety profile is covered. The description nonetheless adds substantial real context: the SearXNG-first provider chain with Serper/Tavily/bing_rss fallbacks, a 10-minute cache that still consumes a call, a shared 10-free-calls/day pool, and an x402 402-response payment path with accepts[]. The only gap is that provider fallback behavior on total failure is unstated.

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 clearly labeled 'When to use', 'Do not use', 'Provider', 'Returns' and 'Metered' segments. It is long, and the enumerated upstream search engines are verbose detail, but the return shape is spelled out usefully in the absence of an output schema.

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?

Covers routing, return shape, caching, metering and payment fallback for a 5-parameter open-world search tool with no output schema — unusually thorough. Minor deduction because the shared metering pool is referenced ambiguously ('the same shared pool as every other tool') and failure behavior when all providers miss is not described.

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 every parameter (lang, site, count, query, freshness) is already documented with an example. The description adds essentially nothing beyond the schema here apart from restating the count ceiling of 10, which the schema already encodes as 1-10. Baseline 3 is correct.

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 and resource ("Search the live web") and immediately specifies the payload an agent gets back: title, URL, snippet and published date. It also distinguishes itself from web_fetch and from the on-chain/CyberLibrary search tools by name.

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

Usage Guidelines5/5

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

Gives concrete when-to-use examples ('BTC fee market today', 'recent Zcash governance proposals'), an explicit ordering rule (use before web_fetch, then fetch the authoritative URL), and explicit exclusions routing to the BTC/LTC/XMR/ZEC tools and cyberlibrary_fulltext_search.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.