Skip to main content
Glama

TikTok Ad Library Scraper: Ads & Targeting · $0.30/1K

Web Search API: Google, Bing, Yahoo, DuckDuckGo & Brave

search_web
Read-onlyIdempotent

Search Google, Bing, Yahoo, DuckDuckGo and Brave in one call. Results merged without duplicates, with the real URL of each link, which engines found it and its rank in each, a consensus score, the status of each engine (ok, empty, blocked) and Google AI Overview. Country, language, time range and domain filters checked on the real URL. Use for results of Google, Bing, Yahoo, DuckDuckGo and Brave at once; for old versions of one page use get_page_history. Returns {items: [...]} with one object per result, for example: {"query":"what is retrieval augmented generation","status":"ok","totalResults":18,"enginesAnswered":["google","bing","yahoo"],"chargedEngines":3,"results":[{"position":1,"url":"https://en.wikipedia.org/wiki/Retrieval-augmented_generation","title":"Retrieval-augmented generation - Wikipedia","snippet":"Retrieval-augmented generation (RAG) enhances large language models...","domain":"en.wikipedia.or Cost: pay per result (prices on the store page where you subscribed), or US$ 0.01 per call with x402 (1 query in up to 5 engines). Read-only: it only reads public data.

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": {
      "q": "<q>"
    },
    "name": "search_web"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesSearch query (one per call). Quotes and OR work as in the engines.
aiNoAI answers to the same query, comma-separated: aimode (Google AI Mode), copilot (Microsoft Copilot, 15 to 40 s), chatgpt, perplexity, claude, gemini. Each answer is charged.
maxNoResults taken from each engine (1-10, default 10).
timeNoOnly pages from this period.
brandNoLink prospecting: your brand; cited pages are read and marked isBrandMentionedInSource.
exactNoSearch the query as an exact phrase.
leadsNoPeople who work at each result site (public LinkedIn results), 0-5 per site. Each lead is charged.
pagesNoResult pages per engine (1-3, default 1). Each page is one engine result.
startNoStart at this results page (1-10, default 1).
in_urlNoWords every result must have in the address, comma-separated.
mobileNoSearch as a phone (mobile results of Google and Bing).
contentNoAlso read the top N result pages and return their main text as clean Markdown (0-5, default 0).
countryNoTwo-letter country code (US, BR, GB...).
date_toNoOnly pages up to this date (YYYY-MM-DD).
enginesNoComma-separated: google, bing, yahoo, duckduckgo, brave (default google,bing).
excludeNoDrop these domains, comma-separated.
formatsNoPage content formats, comma-separated: markdown, text, html (default markdown).
includeNoOnly these domains, comma-separated (reddit.com,stackoverflow.com).
filetypeNoOnly these file types, comma-separated (pdf, docx, xlsx...).
in_titleNoWords every result must have in the title, comma-separated.
languageNoLanguage code (en, pt, es...).
locationNoCity for Google local results, in Google's format: Austin,Texas,United States.
date_fromNoOnly pages from this date on (YYYY-MM-DD).
lead_sitesNoHow many sites of the top results get leads (1-5, default 3).
ai_overviewNoReturn Google AI Overview when shown (default true).
departmentsNoOnly leads from these departments, comma-separated: c_suite, marketing, sales, finance, engineering_technical, human_resources, legal, operations...
own_domainsNoLink prospecting: your own domains, comma-separated, left out.
content_charsNoMaximum Markdown characters per page (1000-50000, default 20000).
verify_emailsNoVerify the e-mails found on the pages read (with content).
cookie_bannersNoKeep cookie and consent banners in the page text (default false: they are removed).
prospect_pagesNoLink prospecting: cited pages to check (1-10, default 5).
results_countryNoOnly pages from this country (Google, two-letter code).
search_languageNoOnly pages written in this language (en, pt...).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already cover read-only, open-world and idempotent behavior, yet the description adds genuinely new context: per-engine status values (ok, empty, blocked), de-duplication and consensus scoring, AI Overview inclusion, and an explicit cost model (pay-per-result or US$0.01 per call via x402). The cost/charging disclosure is exactly the kind of thing annotations cannot convey and matters for an agent deciding how often to call.

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

Conciseness3/5

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

The core capability and usage routing are correctly front-loaded, but the return-value example is truncated mid-string ('en.wikipedia.or Cost: pay per result…'), which makes the illustrative JSON malformed and hurts readability. The example does earn its place given there is no output schema, but it is delivered poorly.

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 33-parameter tool with no output schema, the description carries its weight: it explains the return envelope and per-result fields, discloses cost, and names a boundary with get_page_history. It leaves some gaps — how pages/start interact for multi-page retrieval, and latency hints for the slow AI answer modes — but nothing essential for a first correct call is missing.

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% and each of the 33 parameters — including charging notes for ai and leads — is already documented in the schema. The description's only real addition is the caveat that country, language, time-range and domain filters are 'checked on the real URL,' which is a meaningful nuance, but the rest is baseline restatement.

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?

The opening sentence states a specific verb and resource with scope: 'Search Google, Bing, Yahoo, DuckDuckGo and Brave in one call,' plus the aggregation behavior (merged, de-duplicated, real URLs, per-engine rank and consensus score). It also names the sibling it is not ('for old versions of one page use get_page_history'), so an agent can separate it from alternatives without opening the schema.

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

Usage Guidelines4/5

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

Explicitly says when to use it ('for results of Google, Bing, Yahoo, DuckDuckGo and Brave at once') and routes one adjacent case to get_page_history. It stops short of stating exclusions versus the other search-flavored siblings, but the positive guidance is unambiguous.

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.