Skip to main content
Glama

spraay_search_web

Read-only

Search the web to obtain clean, LLM-ready extracted content and an AI-generated answer. Supports adjustable search depth, domain filtering, and topic focus for relevant results.

Instructions

Search the web and get clean, LLM-ready results via Tavily. Returns extracted content (not just links), plus an AI-generated answer. Supports basic and advanced search depth, domain filtering, and topic focus (general, news, finance). Costs $0.01 USDC.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesSearch query (e.g. 'latest Base ecosystem developments', 'x402 protocol explained')
topicNoTopic focus: 'general' (default), 'news' (recent events), 'finance' (markets/crypto)
max_resultsNoNumber of results to return (default: 5, max: 20)
search_depthNoSearch depth: 'basic' (fast, default) or 'advanced' (deeper extraction, better results)
exclude_domainsNoExclude results from these domains
include_domainsNoOnly include results from these domains (e.g. ['docs.base.org', 'ethereum.org'])

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYesTrue when the gateway call succeeded; false when it returned an error.
dataNoThe gateway response payload on success. The exact shape depends on the tool (see the tool description and the JSON in the text content block).
errorNoHuman-readable error message, present only when ok is false.
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint. The description adds value by disclosing the cost ($0.01 USDC), the return type (extracted content + AI answer), and optional configuration. No contradictions with annotations.

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?

Three concise sentences pack a lot of information: main purpose, key features, and cost. No redundancy or unnecessary detail. Front-loaded with the verb 'search' and the resource 'web'.

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?

Given the complexity of a web search tool with multiple parameters and optional output schema, the description covers the essential aspects: what it returns, supported features, and cost. It lacks details about pagination or result formatting, but the output schema likely fills that gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema itself documents parameters well. The description adds meaningful context: examples for query, explains enum values for topic and search_depth, and shows usage patterns for include/exclude_domains with array examples.

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 searches the web via Tavily, returns extracted content and an AI-generated answer, and lists features like depth, filtering, and topic focus. It distinguishes from sibling tools like spraay_search_extract and spraay_search_qna by emphasizing web search with enrichment.

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 explains when to use: when you need LLM-ready web results with content extraction and AI answers. It mentions supported features (depth, domain filters, topics) but does not explicitly contrast with alternatives like spraay_search_extract or spraay_search_qna, leaving some ambiguity.

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

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/plagtech/spraay-x402-mcp'

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