Skip to main content
Glama
Tavily MCP Server

Tavily MCP Server

by ampcome-mcps

tavily-search

Search the web in real time to retrieve current news and relevant pages, with filters for time range, country, domains, content type, and result count.

Instructions

A powerful web search tool that provides comprehensive, real-time results using Tavily's AI search engine. Returns relevant web content with customizable parameters for result count, content type, and domain filtering. Ideal for gathering current information, news, and detailed web content analysis.

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
daysNoThe number of days back from the current date to include in the search results. This specifies the time frame of data to be retrieved. Please note that this feature is only available when using the 'news' search topic
queryYesSearch query
topicNoThe category of the search. This will determine which of our agents will be used for the searchgeneral
countryNoBoost search results from a specific country. This will prioritize content from the selected country in the search results. Available only if topic is general.
time_rangeNoThe time range back from the current date to include in the search results. This feature is available for both 'general' and 'news' search topics
max_resultsNoThe maximum number of search results to return
search_depthNoThe depth of the search. It can be 'basic' or 'advanced'basic
include_imagesNoInclude a list of query-related images in the response
exclude_domainsNoList of domains to specifically exclude, if the user asks to exclude a domain set this to the domain of the site
include_domainsNoA list of domains to specifically include in the search results, if the user asks to search on specific sites set this to the domain of the site
include_faviconNoWhether to include the favicon URL for each result
include_raw_contentNoInclude the cleaned and parsed HTML content of each search result
include_image_descriptionsNoInclude a list of query-related images and their descriptions in the response

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.8

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description must carry behavioral disclosure. It conveys that results are real-time and sourced from Tavily's engine, which tells the agent this is a live external lookup rather than a cached index, but it says nothing about API credit consumption, rate limits, or latency differences between 'basic' and 'advanced' depth.

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?

Three sentences with the purpose front-loaded and the capability summary following. Some adjectives ('powerful', 'comprehensive') are filler that could be trimmed, but overall length is proportionate and there is no redundancy.

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?

For a 13-parameter search tool with four enums and no output schema, the description is thin: it never characterizes the response shape (titles, URLs, snippets, scores) or warns that include_raw_content substantially inflates payload size. The schema covers parameters well, so the gap is mainly on return-value expectations and cost.

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 of the 13 parameters is documented in the schema, including the topic-dependent constraints on 'days' and 'country'. The description only summarizes 'result count, content type, and domain filtering', adding no meaning beyond what the schema already provides, so 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?

States a specific verb and resource ('web search tool... returns relevant web content'), which clearly separates it from the crawl/extract/map siblings that operate on known URLs. The wording is inflated with marketing adjectives ('powerful', 'comprehensive'), but the core purpose is unambiguous.

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?

'Ideal for gathering current information, news, and detailed web content analysis' implies the when-to-use context, but there is no explicit when-not guidance or pointer to alternatives such as extracting a specific known page. Usage is implied rather than 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