Skip to main content
Glama
tavily-web-search

tavily-web-search

by LS-King

Tavily Web Search

tavily_search
Read-onlyIdempotent

Search the web for current information with filters for topic, date range, and domains. Get ranked results, optional synthesized answers, images, or full page content.

Instructions

Search the web via Tavily Search API with automatic key pool failover.

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": "tavily_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesSearch query. Keep it concise and specific, in the words target pages use.
topicNoSearch category: 'general' (default) or 'news'.
countryNoBoost results from a specific full country name (topic='general').
end_dateNoReturn results published before this date (YYYY-MM-DD).
start_dateNoReturn results published after this date (YYYY-MM-DD).
time_rangeNoFilter results published within 'day', 'week', 'month', or 'year'.
exact_matchNoOnly return results containing exact quoted phrase(s) in query.
max_resultsNoMaximum number of search results to return (1-20).
search_depthNoSearch depth: 'basic' (1 credit), 'advanced' (2 credits, more thorough), 'fast', or 'ultra-fast'.
include_answerNoInclude a short synthesized answer alongside search results.
include_imagesNoInclude query-related image URLs.
exclude_domainsNoDomains to exclude from results.
include_domainsNoDomains to specifically include (e.g. ['docs.python.org']).
include_faviconNoInclude favicon URL for each result.
include_raw_contentNoInclude cleaned full page content per result (truncated safely).
include_published_dateNoInclude detected publication dates when available.
filter_by_published_dateNoFilter strictly to requested date window, excluding undated pages.
include_image_descriptionsNoInclude image descriptions alongside image URLs.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, idempotentHint=true and destructiveHint=false, so the safety profile needs no restating. The description adds one genuinely new operational fact — automatic key pool failover, implying retry resilience — but says nothing about per-call credit consumption (which the schema hints at for search_depth) or rate-limit behavior, leaving meaningful gaps for an 18-parameter tool.

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 clause with no filler and no buried caveats. "via Tavily Search API" is mildly redundant with the title, but nothing here wastes the agent's attention.

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, annotations carry the safety and world-access profile, and the schema documents all 18 parameters thoroughly. What remains missing for a tool of this breadth is the routing signal against tavily_research, which is the decision an agent most needs help with.

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 parameter carries a substantive description, including credit costs for search_depth and date formats for start_date/end_date. The description adds no parameter-level meaning beyond that, so the baseline 3 applies.

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?

"Search the web via Tavily Search API" gives a specific verb (search) and resource (the web), which clearly separates it from crawl/extract/map siblings that operate on specific URLs. It stops short of explicitly differentiating from tavily_research, so an agent must infer that boundary from the name alone.

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 guidance on when to choose this over tavily_research or tavily_extract, and no mention of prerequisites or cost tradeoffs that would select one depth over another. The only implied usage comes from the word "search" in the tool name and title.

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