Skip to main content
Glama

tavily_search

Read-only

$0.01 via x402: Tavily-compatible POST /search. Body { query } — ranked web results, snippets, source URLs, optional answer. Same shape as Tavily x402.

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
topicNogeneral or news
end_dateNolatest date, YYYY-MM-DD
x_paymentNosigned x402 payment payload (the X-PAYMENT header value) for the terms the first call returns; omit it to get the price and terms
start_dateNoearliest date, YYYY-MM-DD
time_rangeNoday, week, month or year
max_resultsNohow many results to return
search_depthNobasic or advanced
include_answerNotrue to add a short answer
include_imagesNotrue to include image results
exclude_domainsNonever return these domains (list)
include_domainsNoonly search these domains (list)
include_raw_contentNotrue to include page text

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed12 schema fields changed
    • addedInput schema / properties / end_date / description
      Added value: +"latest date, YYYY-MM-DD"
    • addedInput schema / properties / exclude_domains / description
      Added value: +"never return these domains (list)"
    • addedInput schema / properties / include_answer / description
      Added value: +"true to add a short answer"
    • addedInput schema / properties / include_domains / description
      Added value: +"only search these domains (list)"
    • addedInput schema / properties / include_images / description
      Added value: +"true to include image results"
    • addedInput schema / properties / include_raw_content / description
      Added value: +"true to include page text"
    • addedInput schema / properties / max_results / description
      Added value: +"how many results to return"
    • addedInput schema / properties / search_depth / description
      Added value: +"basic or advanced"
    • addedInput schema / properties / start_date / description
      Added value: +"earliest date, YYYY-MM-DD"
    • addedInput schema / properties / time_range / description
      Added value: +"day, week, month or year"
    • addedInput schema / properties / topic / description
      Added value: +"general or news"
    • addedInput schema / properties / x_payment / description
      Added value: +"signed x402 payment payload (the X-PAYMENT header value) for the terms the first call returns; omit it to get the price and terms"
  2. Added

TDQS

A3.6/5.0
Behavior4/5

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

Beyond the readOnlyHint/openWorldHint annotations, the description discloses the $0.01 price, the x402 two-step payment handshake, and the return shape (ranked results, snippets, URLs, optional answer). Missing are rate limits, max_results defaults, and any error/insufficient-payment behavior.

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 short, front-loaded fragments: price/transport, request body, response contents. Nothing is padded, though the '$0.01 via x402' lead and the closing 'Same shape as Tavily x402' are partially redundant with each other.

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?

With 13 parameters, no output schema, and a non-obvious payment flow, the description covers the essentials of request and payment but leaves return structure, result caps, and failure modes under-specified. Adequate for a paid search wrapper, not fully complete.

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 every one of the 13 parameters is already documented in the schema. The description only restates the required query body and alludes to the optional answer field, adding no filtering, date-format, or domain-list nuance beyond the schema.

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: a Tavily-compatible POST /search that returns ranked web results with snippets and source URLs. The scope is clear, but it never distinguishes itself from the sibling web_search or filings_search, so an agent must guess which search tool to pick.

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 one real usage rule is payment-related and useful: omit x_payment to get the price and terms, then supply the signed payload. It says nothing about when to choose this paid Tavily endpoint over the sibling web_search, and no exclusions or prerequisites are stated.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.