Skip to main content
Glama

Web search

search
Read-onlyIdempotent

Query web, news, or academic sources across quota-aware providers and get ranked title/URL/snippet results, with filters for recency and domains.

Instructions

Web search across quota-aware providers. API providers return ranked title/url/snippet results. Niche knobs: topic, recency, domains. Provider-specific extras (scholar/patents/places, structured extract…) → call usage(provider=…) for exact params & example calls.

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
modeNoProvider-specific mode. grok: "auto"/"fast"/"expert"/"heavy" (search defaults to fast, deep_research to heavy then expert); keenable "realtime"/"pro"; nimble "standard".
queryNoThe search query (or a follow-up message when `session` is set). Optional only when polling a running deep-research `session` for its report.
topicNoResearch niche: "web" (default), "news", or "academic" — steers to a fitting backend.
domainsNoRestrict to these domains; prefix one with "-" to exclude it (e.g. ["nature.com","-reddit.com"]).
recencyNoRecency filter: "day"/"week"/"month"/"year" or an ISO date (e.g. "2024-01-01").
providerNoForce a specific provider instead of the priority order.
max_resultsNoMaximum number of results (default 5, capped at 20).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.1.25
    • changedInput schema / $defs / ProviderKind / enum
      Previous value: -[
      -  "tavily",
      -  "exa",
      -  "serper",
      -  "firecrawl",
      -  "parallel",
      -  "steel",
      -  "keenable",
      -  "jina",
      -  "openalex",
      -  "gdelt",
      -  "tinyfish",
      -  "linkup",
      -  "you",
      -  "octen",
      -  "nimble",
      -  "serpapi",
      -  "langsearch",
      -  "scrapingant",
      -  "zenrows",
      -  "hyperbrowser",
      -  "browserless",
      -  "gemini_web",
      -  "grok_web",
      -  "chatgpt_web"
      -]New value: +[
      +  "tavily",
      +  "exa",
      +  "serper",
      +  "firecrawl",
      +  "parallel",
      +  "steel",
      +  "keenable",
      +  "jina",
      +  "openalex",
      +  "gdelt",
      +  "tinyfish",
      +  "linkup",
      +  "you",
      +  "octen",
      +  "nimble",
      +  "serpapi",
      +  "langsearch",
      +  "scrapingant",
      +  "zenrows",
      +  "hyperbrowser",
      +  "browserless"
      +]
    • removedInput schema / properties / file
      Removed value: -{
      -  "description": "Absolute paths of local files/images to attach and ask about. Local stdio only;\nhosted HTTP rejects file inputs because it cannot access the caller's filesystem.\nWeb providers only;\ndefaults to grok_web when no `provider` is forced.",
      -  "items": {
      -    "type": "string"
      -  },
      -  "type": [
      -    "array",
      -    "null"
      -  ]
      -}
    • removedInput schema / properties / model
      Removed value: -{
      -  "description": "Web-provider model and/or thinking level. Call usage with that provider for available\nnames and levels; omit to use its default. Ignored by the API providers.",
      -  "type": [
      -    "string",
      -    "null"
      -  ]
      -}
    • removedInput schema / properties / session
      Removed value: -{
      -  "description": "Resume token from a previous web-provider result; continues that conversation\non the same provider. Web providers only.",
      -  "type": [
      -    "string",
      -    "null"
      -  ]
      -}
  2. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover read-only, open-world, idempotent and non-destructive semantics, so the bar is lower. The description still adds real value beyond them: it frames providers as "quota-aware" (implying rate/quota constraints) and, with no output schema present, states that API providers return ranked title/url/snippet results. It does not characterize results from non-API providers or fallback behavior when a provider fails.

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, front-loaded fragments with no filler; the return-shape statement precedes the escape hatch to `usage()`. The phrasing "Niche knobs" is slightly informal and the parenthetical list is compressed, but nothing is wasted.

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 7-parameter, 21-provider, no-output-schema tool this is close to sufficient: return shape is described and heterogeneous provider extras are delegated explicitly. The gap is that the return format is scoped only to "API providers," leaving agent/browser-backed provider results undefined.

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 schema already documents all seven parameters, including the enum and ISO-date forms of `recency` and the `-domain` exclusion syntax. The description only flags which knobs are 'niche' and redirects to `usage()` for provider-specific extras, adding navigational rather than semantic detail — baseline 3.

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?

The description gives a specific verb+resource ("Web search across quota-aware providers") and immediately clarifies the return shape for API providers. It also distinguishes itself from siblings by routing provider-specific needs to `usage(provider=…)`, though it never says how it differs from `deep_research` or `browser`.

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?

It names the niche knobs (`topic`, `recency`, `domains`) and gives one explicit routing rule — use `usage(provider=…)` for scholar/patents/places or structured extract. But there is no statement of when to prefer this over `deep_research` or `browser`, and no prerequisites or exclusions beyond that single pointer.

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