Skip to main content
Glama

Tavily Web Search MCP Server

by nilay320

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TAVILY_API_KEYYesYour Tavily API key

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
web_search

Search the web for information about the given query

roll_dice

Roll the dice with the given notation

scientific_calculator

Evaluate mathematical expressions using a scientific calculator.

Supports:

  • Basic arithmetic: +, -, *, /, //, %, **

  • Scientific functions: sin, cos, tan, asin, acos, atan, sinh, cosh, tanh

  • Logarithmic functions: log, log10, log2, ln (natural log)

  • Exponential functions: exp, sqrt, cbrt

  • Constants: pi, e, tau

  • Complex numbers: 1+2j, complex operations

  • Trigonometric functions work with radians by default

  • Use degrees(x) to convert radians to degrees, radians(x) to convert degrees to radians

Examples:

  • "sin(pi/2)" -> 1.0

  • "log10(100)" -> 2.0

  • "sqrt(16)" -> 4.0

  • "2**3" -> 8

  • "exp(1)" -> 2.718281828459045

generate_qr_code

Generate a QR code for the given data.

Args: data: The text or URL to encode in the QR code error_correction: Error correction level - "L" (Low ~7%), "M" (Medium ~15%), "Q" (Quartile ~25%), "H" (High ~30%) border: Size of the border (minimum is 4) box_size: Size of each box in pixels (default 10)

Returns: Base64 encoded PNG image of the QR code that can be displayed or saved

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/nilay320/MCP-Session-Code'

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