Skip to main content
Glama

search_webkr

Query and retrieve relevant web documents from Naver Search. Specify search terms, sort results by similarity or date, and customize display options for targeted content discovery.

Instructions

Perform a search on Naver Web Documents. (네이버 웹문서 검색)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
displayNoNumber of results to display (default: 10)
queryYesSearch query
sortNoSort method (sim: similarity, date: date)
startNoStart position of search results (default: 1)

Implementation Reference

  • The primary handler function that performs the 'webkr' search by calling the NaverSearchClient.search method with target 'webkr'.
    export async function handleWebKrSearch(args: SearchArgs) { const client = NaverSearchClient.getInstance(); return await client.search("webkr", args); }
  • Wrapper handler registered in searchToolHandlers that logs input arguments, validates them using SearchArgsSchema, and delegates to the core handleWebKrSearch function.
    search_webkr: (args) => { console.error("search_webkr called with args:", JSON.stringify(args, null, 2)); return handleWebKrSearch(SearchArgsSchema.parse(args));
  • src/index.ts:102-115 (registration)
    MCP server tool registration for 'search_webkr', specifying description, input schema, and execution handler that calls searchToolHandlers and formats response as text content.
    server.registerTool( "search_webkr", { description: "🌐 Search Korean web documents and general content. Comprehensive search across Korean websites and online content. Find articles, information, and documents from various Korean sources. For recent content or 'today's results', use get_current_korean_time first. (네이버 웹문서 검색 - 한국 웹사이트 종합 검색, 최근 콘텐츠나 오늘 결과를 찾을 때는 먼저 get_current_korean_time으로 현재 시간을 확인하세요)", inputSchema: SearchArgsSchema.shape, }, async (args) => { const result = await searchToolHandlers.search_webkr(args); return { content: [{ type: "text", text: JSON.stringify(result, null, 2) }], }; } );
  • Zod schema defining the input parameters (query, display, start, sort) for the search_webkr tool and other search tools, used for validation in the handler.
    export const SearchArgsSchema = z.object({ query: z.string().describe("검색어"), display: z.number().optional().describe("한 번에 가져올 결과 수 (기본 10)"), start: z.number().optional().describe("검색 시작 위치 (기본 1)"), sort: z .enum(["sim", "date"]) .optional() .describe("정렬 방식 (sim: 유사도, date: 날짜순)"), });

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/isnow890/naver-search-mcp'

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