Skip to main content
Glama

search

Read-onlyIdempotent

Search the web across multiple engines with no API keys, filtering by site, language, or time range. Auto-fetch top full articles to build a research brief in one turn.

Instructions

Search the web across engines (CN/EN/Code). Supports multi-query ('queries'), timeRange, site filter. Pass fetchTop (1~3) to auto-fetch top full articles as research brief in one turn. No API keys required.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteNoRestrict search to specific site domain(s) (e.g. ['github.com', 'developer.mozilla.org'])
limitNoTarget total results after merging all engines (default: server DEFAULT_SEARCH_LIMIT, usually 10). Not a per-engine quota: once enough results are collected, slower engines may be cancelled (see cancelledEngines). Pass explicit `engines` to disable early cancellation.
queryNoSingle search query (required if 'queries' is omitted; use 'queries' for multi-intent fan-out)
formatNoOutput format: 'json' (default when fetchTop is 0) or 'markdown' (default when fetchTop > 0 for a structured research brief)
enginesNoSearch engines to use (default: auto-routes by query language; explicit engines do not cascade unless minResults is specified)
queriesNo1-4 queries run concurrently and merged (required if 'query' is omitted)
verboseNoInclude verbose diagnostic fields (engineMetrics, full failure hints, and redundant source hostnames); default false to save tokens
fetchTopNoPass 1~3 to auto-fetch top full articles as a research brief in one shot, avoiding extra fetch turns
timeRangeNoPublication time range filter ('day', 'week', 'month', 'year')
minResultsNoAuto-run additional engines when fewer usable results come back (default: 5 when engines omitted, 0 when engines explicitly specified)
searchModeNoExecution mode: 'request' (HTTP only), 'auto' (HTTP with browser fallback), or 'playwright' (headless browser only)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.6.1
    • changedInput schema / properties / fetchTop / description
      Previous value: -"Two-in-one search & fetch: automatically fetch full readable Markdown content for top N results (0~3) in a single turn"New value: +"Pass 1~3 to auto-fetch top full articles as a research brief in one shot, avoiding extra fetch turns"
    • addedInput schema / properties / format
      Added value: +{
      +  "description": "Output format: 'json' (default when fetchTop is 0) or 'markdown' (default when fetchTop > 0 for a structured research brief)",
      +  "enum": [
      +    "json",
      +    "markdown"
      +  ],
      +  "type": "string"
      +}
  2. Changed1 schema field changedv1.5.1
    • changedInput schema / additionalProperties
      Previous value: -trueNew value: +{}
  3. Changed10 schema fields changedv1.3.10
    • changedInput schema / additionalProperties
      Previous value: -falseNew value: +true
    • changedInput schema / properties / engines / description
      Previous value: -"Search engines to use (default: server default, which may auto-route by query language)"New value: +"Search engines to use (default: auto-routes by query language; explicit engines do not cascade unless minResults is specified)"
    • changedInput schema / properties / engines / items / description
      Previous value: -"Search engine name. Valid values (normalize alias to canonical name): baidu, bing, csdn, duckduckgo, exa, brave, juejin, startpage, sogou, github, stackoverflow, hackernews, arxiv"New value: +"Search engine name. Valid values (normalize alias to canonical name): baidu, bing, bing-news, csdn, duckduckgo, exa, brave, juejin, startpage, yahoo, sogou, github, stackoverflow, hackernews, arxiv, code"
    • changedInput schema / properties / fetchTop / description
      Previous value: -"Two-in-one search & fetch: automatically fetch full readable Markdown content for top N results (0~3) in a single turn (up to 4000 chars per article)"New value: +"Two-in-one search & fetch: automatically fetch full readable Markdown content for top N results (0~3) in a single turn"
    • changedInput schema / properties / limit / description
      Previous value: -"Max results (default: server DEFAULT_SEARCH_LIMIT, usually 10)"New value: +"Target total results after merging all engines (default: server DEFAULT_SEARCH_LIMIT, usually 10). Not a per-engine quota: once enough results are collected, slower engines may be cancelled (see cancelledEngines). Pass explicit `engines` to disable early cancellation."
    • changedInput schema / properties / minResults / description
      Previous value: -"Auto-run additional engines when fewer than this many USABLE results (relevant, non-entry-page) come back (default: server DEFAULT_MIN_RESULTS, usually 5; max 50 — larger values only burn the search deadline)"New value: +"Auto-run additional engines when fewer usable results come back (default: 5 when engines omitted, 0 when engines explicitly specified)"
    • changedInput schema / properties / queries / description
      Previous value: -"1-4 queries run concurrently and merged (required if 'query' is omitted) — for covering multiple intents in one call (e.g. official docs / Chinese community / English). Response includes 'cached: true' only when all sub-queries hit the TTL cache."New value: +"1-4 queries run concurrently and merged (required if 'query' is omitted)"
    • addedInput schema / properties / searchMode / description
      Added value: +"Execution mode: 'request' (HTTP only), 'auto' (HTTP with browser fallback), or 'playwright' (headless browser only)"
    • addedInput schema / properties / site
      Added value: +{
      +  "description": "Restrict search to specific site domain(s) (e.g. ['github.com', 'developer.mozilla.org'])",
      +  "items": {
      +    "type": "string"
      +  },
      +  "minItems": 1,
      +  "type": "array"
      +}
    • addedInput schema / properties / timeRange
      Added value: +{
      +  "description": "Publication time range filter ('day', 'week', 'month', 'year')",
      +  "enum": [
      +    "day",
      +    "week",
      +    "month",
      +    "year"
      +  ],
      +  "type": "string"
      +}
  4. Changed3 schema fields changedv1.2.1
    • changedInput schema / properties / engines / items / description
      Previous value: -"Search engine name. Valid values (normalize alias to canonical name): baidu, bing, csdn, duckduckgo, exa, brave, juejin, startpage, sogou"New value: +"Search engine name. Valid values (normalize alias to canonical name): baidu, bing, csdn, duckduckgo, exa, brave, juejin, startpage, sogou, github, stackoverflow, hackernews, arxiv"
    • addedInput schema / properties / fetchTop
      Added value: +{
      +  "description": "Two-in-one search & fetch: automatically fetch full readable Markdown content for top N results (0~3) in a single turn (up to 4000 chars per article)",
      +  "maximum": 3,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • changedInput schema / properties / limit / type
      Previous value: -"number"New value: +"integer"
  5. Changed2 schema fields changedv1.0.25
    • changedInput schema / properties / queries / description
      Previous value: -"1-4 queries run concurrently and merged (required if 'query' is omitted) — for covering multiple intents in one call (e.g. official docs / Chinese community / English)"New value: +"1-4 queries run concurrently and merged (required if 'query' is omitted) — for covering multiple intents in one call (e.g. official docs / Chinese community / English). Response includes 'cached: true' only when all sub-queries hit the TTL cache."
    • addedInput schema / properties / verbose
      Added value: +{
      +  "description": "Include verbose diagnostic fields (engineMetrics, full failure hints, and redundant source hostnames); default false to save tokens",
      +  "type": "boolean"
      +}
  6. Changed2 schema fields changedv1.0.21
    • changedInput schema / properties / queries / description
      Previous value: -"1-4 queries run concurrently and merged (dedup by URL) — for covering multiple intents in one call (e.g. official docs / Chinese community / English)"New value: +"1-4 queries run concurrently and merged (required if 'query' is omitted) — for covering multiple intents in one call (e.g. official docs / Chinese community / English)"
    • changedInput schema / properties / query / description
      Previous value: -"Single search query (use queries for multi-intent fan-out)"New value: +"Single search query (required if 'queries' is omitted; use 'queries' for multi-intent fan-out)"
  7. Changed2 schema fields changedv1.0.17
    • changedInput schema / properties / minResults / description
      Previous value: -"Auto-run additional engines when fewer than this many USABLE results (relevant, non-entry-page) come back (default: server DEFAULT_MIN_RESULTS, usually 5)"New value: +"Auto-run additional engines when fewer than this many USABLE results (relevant, non-entry-page) come back (default: server DEFAULT_MIN_RESULTS, usually 5; max 50 — larger values only burn the search deadline)"
    • addedInput schema / properties / minResults / maximum
      Added value: +50
  8. Changed8 schema fields changedv1.0.15
    • removedInput schema / properties / engines / default
      Removed value: -[
      -  "bing"
      -]
    • addedInput schema / properties / engines / description
      Added value: +"Search engines to use (default: server default, which may auto-route by query language)"
    • removedInput schema / properties / limit / default
      Removed value: -10
    • addedInput schema / properties / limit / description
      Added value: +"Max results (default: server DEFAULT_SEARCH_LIMIT, usually 10)"
    • changedInput schema / properties / minResults / description
      Previous value: -"Auto-run additional engines when fewer than this many results come back (default: disabled)"New value: +"Auto-run additional engines when fewer than this many USABLE results (relevant, non-entry-page) come back (default: server DEFAULT_MIN_RESULTS, usually 5)"
    • addedInput schema / properties / queries
      Added value: +{
      +  "description": "1-4 queries run concurrently and merged (dedup by URL) — for covering multiple intents in one call (e.g. official docs / Chinese community / English)",
      +  "items": {
      +    "maxLength": 500,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "maxItems": 4,
      +  "minItems": 1,
      +  "type": "array"
      +}
    • addedInput schema / properties / query / description
      Added value: +"Single search query (use queries for multi-intent fan-out)"
    • removedInput schema / required
      Removed value: -[
      -  "query"
      -]
  9. First observedv1.0.11

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds real context beyond that — no API key required (auth), engine routing by query language, and the one-turn research-brief behavior of fetchTop — but says nothing about rate limits, engine cancellation, or failure behavior, which live only in the schema.

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?

Four short sentences, purpose front-loaded, and nothing padded. The middle sentence listing "queries, timeRange, site filter" is partly redundant with the schema, but it serves as a fast capability scan rather than waste.

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 an 11-parameter tool the description pairs the discovery purpose with the two behaviors that most affect invocation cost (multi-query fan-out and fetchTop auto-fetch), and the schema carries the rest at full coverage. It is a bit thin on the engine-routing/cancellation model, but nothing essential for a correct first 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%, so the baseline is 3. The description does surface fetchTop and queries, but wording for fetchTop duplicates the schema almost verbatim and the remaining parameters (limit, engines, minResults, verbose, searchMode, format) are left entirely to the schema.

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+resource ("Search the web across engines") and scopes it with (CN/EN/Code) and optional field filters, which is more than a restatement of the name. It does not explicitly distinguish itself from siblings like fetchWebContent or queryDocs, so the agent must infer that this is for discovery rather than retrieval of a known URL.

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?

The guidance is implied rather than explicit: "Pass fetchTop (1~3) to auto-fetch top full articles as research brief in one turn" steers the agent away from making separate fetch calls, and multi-query is mentioned for fan-out. There is no stated when-not, no naming of the fetch/query siblings, and no mention of when to prefer those alternatives.

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

Deploy Server

Other Tools