Skip to main content
Glama

websearch

Search the web using Brave Search for global content or Naver Search for Korean-specific results. Automatically selects the appropriate engine based on configured API keys.

Instructions

Search the web using Brave Search or Naver Search API. Requires API key(s) via environment variables:

  • BRAVE_SEARCH_API_KEY for Brave Search (English/global, default)

  • NAVER_CLIENT_ID + NAVER_CLIENT_SECRET for Naver Search (Korean content) If no engine is specified, auto-selects based on configured keys (Brave preferred). Use Naver for Korean-specific content (news, blogs, cafes).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesSearch query text,required
engineNoSearch engine: brave (default) or naver. Auto-selects based on configured API keys if omitted
max_resultsNoMaximum number of results. Default: 5, Max: 20
timeout_secNoRequest timeout in seconds. Default: 15, Max: 30
Behavior4/5

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

No annotations provided, so description carries full burden. Discloses API key requirements, default engine, auto-selection logic, and environment variable setup. No behavioral contradictions.

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?

5 sentences, well-organized: purpose, prerequisites, selection logic, usage tip. No redundant or unnecessary information. Front-loaded with core action.

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?

No output schema, yet description omits details about return format (e.g., titles, URLs, snippets). Could briefly mention what the response contains. Otherwise adequate for a search tool with good schema coverage.

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 covers 100% of parameters with descriptions. Description adds value by explaining auto-selection logic for engine parameter and clarifying default/limits for max_results and timeout_sec.

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 it searches the web using Brave or Naver, with specific verb 'Search' and resource 'web'. It distinguishes from siblings like webfetch (URL fetch) by implying broad search vs specific page retrieval.

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?

Explicitly recommends Naver for Korean-specific content and notes auto-selection based on API keys. Does not explicitly state when not to use (e.g., for a single URL, use webfetch), but context from siblings makes it clear.

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/knewstimek/agent-tool'

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