Skip to main content
Glama

Tavily search (capped)

tavily_search

Search the web while enforcing a hard spend cap: each query returns its cost and remaining budget, and calls are refused before crossing the cap. Use basic depth for the 1-credit default.

Instructions

Search the web with Tavily. Each call is charged against a hard spend cap; the result shows its cost and the budget left. basic depth is the cheap default.

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
queryYesWhat to search for
topicNo
time_rangeNo
max_resultsNoDefault 5
search_depthNobasic (default) costs 1 credit; advanced costs 2
include_answerNoAdd a short generated answer
exclude_domainsNoNever these domains
include_domainsNoOnly these domains

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already cover the read/write and open-world profile, and the description adds genuinely new context: a hard spend cap per call, cost plus remaining budget surfaced in the result, and the relative cheapness of basic depth. It stops short of explaining rate-limit behavior or what happens when the budget is exhausted.

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 sentences, front-loaded with the action, then the cost model, then the default choice. No filler, though the final sentence slightly duplicates the search_depth schema description.

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 eight parameters and no output schema, the description should say more about the shape of results; it does disclose that cost and remaining budget are returned, which partially compensates. Domain filtering, topic, and time_range behavior remain unexplained.

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 coverage is 75%, so most parameters are already documented, including the credit costs for search_depth. The description only reinforces the default depth choice and adds no syntax or interaction detail for the undocumented topic and time_range parameters.

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 ("Search the web with Tavily") so the action is unambiguous. It does not distinguish itself from siblings like brave_search, exa_search, or serpapi_search, leaving the agent to infer that this is the Tavily-backed option.

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?

Usage is only implied: the note that each call is charged against a hard spend cap and that basic depth is the cheap default hints at cost-conscious selection, but there is no explicit when-to-use, when-not-to-use, or routing to an alternative search tool.

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