Skip to main content
Glama

Web Search

search_web
Read-onlyIdempotent

Search current web pages through a rotating provider pool with automatic failover when an engine errors, is rate-limited, or lacks quota. Use when no URL is known yet.

Instructions

Search the web through a rotating pool of search providers (Tavily, Firecrawl, Parallel, Exa, You.com, Google PSE, DuckDuckGo) with automatic failover when one errors, is rate-limited or has no local quota left. Use it when the answer depends on current web pages and no URL is known yet; use fetch_url to read a page whose URL is already known. Returns numbered results (title, URL, snippet, publication date when the provider supplies one) and names the provider that answered plus every failed attempt, so failover stays visible. Time filters keep rotation inside the providers that implement them and fail explicitly instead of searching without the filter; if every eligible provider fails, the tool returns an error listing each provider's reason. The engine parameter only prefers a provider and leaves failover active.

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
queryYesSearch query
engineNoPreferred engine id from get_engine_status; only moves that engine to the front, failover to the others stays active. Engines without implemented support for the time filter are skipped even when preferred.
endDateNoEnd date YYYY-MM-DD (through this date, subject to provider boundary semantics). Cannot combine with timeRange.
startDateNoStart date YYYY-MM-DD. May be used alone or with endDate; cannot combine with timeRange.
timeRangeNoRelative UTC date window: day=1, week=7, month=30, year=365 days through today. Cannot combine with startDate/endDate; day precision, not rolling hours.
numResultsNoOptional result count (1–20). Omit to use the dashboard setting: a custom count or the provider default.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.5.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare read-only, open-world, idempotent, non-destructive; the description adds substantial behavior beyond that: automatic failover on error, rate limit or exhausted quota, visibility of every failed attempt and the answering provider, and how time filters constrain rotation. It also documents the failure mode when all eligible providers fail, which is exactly the operational context an agent needs for retry decisions.

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?

The important routing information is front-loaded in the first two sentences, and each subsequent sentence adds a distinct behavioral fact rather than restating the schema. It is dense and slightly long — the provider roster reads as a list dump — but nothing is genuinely wasted.

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

Completeness5/5

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

For a six-parameter tool with no output schema, the description covers what is returned (numbered results with title, URL, snippet, publication date, plus the answering provider and failed attempts) and the error contract. Combined with the fully documented input schema and read-only annotations, an agent has everything needed to invoke it correctly.

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 coverage is 100%, so the baseline is 3, but the description adds genuine meaning the schema does not: the engine parameter only reorders preference while failover stays active, and time filters deliberately fail rather than silently searching unfiltered. The remaining parameters (startDate, endDate, timeRange mutual exclusivity) are already fully documented in the schema, so no further credit is warranted.

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 description opens with a specific verb and resource ("Search the web") and immediately narrows scope: it searches via a rotating pool of named providers with failover. It explicitly contrasts itself with the sibling fetch_url, so an agent can distinguish retrieval-by-query from retrieval-by-URL without opening either schema.

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?

It states the selecting condition plainly: use this when the answer depends on current web pages and no URL is known yet, and use fetch_url when the URL is already known. It also names get_engine_status implicitly via the engine parameter, giving the agent a prerequisite step for preferring a provider.

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