Skip to main content
Glama
tsmndev

tavily-mcp-python

by tsmndev

tavily-search

Perform real-time web searches with customizable filters for topics, domains, and time ranges. Retrieve detailed results, including raw content, images, and AI-generated answers, for comprehensive information gathering.

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.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
auto_parametersNoLet Tavily automatically configure search parameter based on the querry. The explicit parameters will override the automatic ones.
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.
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
exclude_domainsNoList of domains to specifically exclude, if the user asks to exclude a domain set this to the domain of the site
include_answerNoInclude an LLM-generated answer to the provided query
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_image_descriptionsNoInclude a list of query-related images and their descriptions in the response
include_imagesNoInclude a list of query-related images in the response
include_raw_contentNoInclude the cleaned and parsed HTML content of each search result
max_resultsNoThe maximum number of search results to return
queryYesThe search query to execute with Tavily.
search_depthNoThe depth of the search. It can be 'basic' or 'advanced'basic
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
topicNoThe category of the search. This will determine which of our agents will be used for the searchgeneral
Behavior2/5

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

With no annotations provided, the description carries full burden of behavioral disclosure. While it mentions 'real-time results' and 'customizable parameters,' it doesn't address important behavioral aspects like rate limits, authentication requirements, error conditions, or what format the results come in. For a complex 14-parameter search tool, this is insufficient behavioral context.

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 description is efficiently structured in two sentences that convey core functionality and ideal use cases. It's appropriately sized and front-loaded with the main purpose, though could be slightly more concise by combining related concepts.

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

Completeness2/5

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

For a complex search tool with 14 parameters, no annotations, and no output schema, the description is incomplete. It doesn't explain what the output looks like, doesn't mention rate limits or authentication, and provides minimal behavioral context. The description should do more to compensate for the lack of structured metadata.

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 14 parameters thoroughly. The description mentions 'customizable parameters for result count, content type, and domain filtering' which aligns with some parameters but doesn't add significant meaning beyond what's in the schema. Baseline 3 is appropriate when schema does the heavy lifting.

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 clearly states the tool's purpose as 'web search' with specific details: it uses Tavily's AI search engine, provides real-time results, and returns relevant web content. It distinguishes from siblings by focusing on search rather than crawling, extraction, or mapping.

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

Usage Guidelines4/5

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

The description provides clear context for when to use this tool ('gathering current information, news, and detailed web content analysis'), but doesn't explicitly mention when NOT to use it or directly compare to sibling tools like tavily-crawl or tavily-extract. The guidance is helpful but lacks explicit alternatives.

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

Install Server

Other Tools

Related Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tsmndev/tavily-mcp-python'

If you have feedback or need assistance with the MCP directory API, please join our Discord server