Skip to main content
Glama

web_search_tavily

Read-onlyIdempotent

Search the web through Tavily to find relevant general, news, or finance sources, with domain/date filters, result limits, and optional AI-generated answers.

Instructions

Search with Tavily only. Requires a Tavily API key (tvly-...). Supports news/finance topics, advanced depth, native domain/date filters and an optional AI answer.

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_tavily"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteNoLimit results to these domains (e.g. 'docs.python.org', or comma-separated 'a.com,b.org')
freshNoBypass the result cache and force a new request
queryYesSearch query
topicNo'general', 'news', or 'finance'general
endDateNoOnly results published on/before this date (YYYY-MM-DD)
recencyNoOnly results published within this period (ignored when startDate is set)
startDateNoOnly results published on/after this date (YYYY-MM-DD)
numResultsNoNumber of results (1–20, default 5)
excludeSiteNoDomains to leave out of the results, e.g. ['pinterest.com', 'quora.com']
searchDepthNo'basic' (1 credit) or 'advanced' (2 credits, better relevance)basic
maxPerDomainNoMax results from one domain (default 3; 0 = unlimited; not applied when 'site' is set)
includeAnswerNoInclude a short AI-generated answer above the results
maxCharsPerResultNoMax characters of text per result (default 1200, 100–10000). Lower it for compact overviews, raise it when snippets need more detail

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description adds genuinely new context beyond that: the API-key authentication requirement and the capability surface (topics, advanced depth, domain/date filters, optional AI answer). It does not mention credit costs or rate limits, though credit cost is documented per-parameter in the schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, zero filler, with the provider restriction and the auth prerequisite front-loaded before the capability list. Every clause carries information the agent can act on.

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 13-parameter search tool with full schema coverage and complete annotations, the description supplies the two things structured fields do not: provider exclusivity and the API-key requirement. Since there is no output schema, a brief hint about return shape ("results" with an optional answer) is present but thin; nothing critical is missing.

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 all 13 parameters carry their own descriptions, including enums, defaults, and value ranges, so the schema does the heavy lifting. The description's parameter mention is a high-level capability summary (topics, depth, domain/date filters, answer) that adds no syntax or constraint detail beyond the schema. 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?

The description gives a specific verb and resource ("Search with Tavily") and pins the provider, which is the axis that separates it from siblings like web_search_exa and web_search. It stops short of explicitly contrasting behavior with those siblings, but the provider scoping 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?

The prerequisite (a tvly- API key) is stated, which implicitly tells the agent when this tool is callable. However, there is no explicit guidance on when to pick this over web_search or web_search_exa, and no exclusions or fallback instructions.

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