Skip to main content
Glama

Web Search

web_search

Search the web across Tavily, Exa, and Linkup with intent-based modes, provider selection, and round-robin key pooling to return relevant results.

Instructions

Smart multi-signal web search across Tavily, Exa, and Linkup with round-robin key pooling.

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
modeNoSearch mode ('auto', 'news', 'legal', 'academic', 'code', 'company', 'deep', 'hybrid'). Default 'auto'.auto
queryYesSearch query or question.
providerNoExplicit provider ('auto', 'tavily', 'exa', 'linkup'). Default 'auto'.auto
num_resultsNoDesired number of results (default 5, max 15).

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden. 'Round-robin key pooling' hints that provider credentials are handled internally, which is mildly useful, but the description says nothing about rate limits, cost, latency, fallback behavior when a provider fails, or what kind of result object comes back.

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?

A single front-loaded sentence with no padding or redundancy. The phrase 'smart multi-signal' is filler that could be cut, but overall the definition is efficiently sized.

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

Completeness3/5

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

An output schema exists, so return values need not be explained, and the input schema is fully described. What is missing is the operational context an agent needs for a multi-provider search tool: when to choose a specific provider, whether failures fall back automatically, and how this differs from web_extract.

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 mode, provider, query, and num_results are already fully documented in the schema, including defaults and valid values. The description's only added value is naming the three providers, which matches the enum-like values already listed in the schema; baseline 3 is appropriate.

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 names a specific verb and resource ('web search') and identifies the three upstream providers (Tavily, Exa, Linkup), so an agent knows this returns web results rather than extracted page content. However, it offers no differentiation from siblings like web_extract or pool_status, and 'smart multi-signal' is vague marketing that does not sharpen the purpose.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no statement of when to prefer web_extract or pool_status, and no mention of prerequisites or failure modes. The only usage signal an agent can infer is the implicit 'search the web when you need search results,' which is not stated.

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