Skip to main content
Glama

search_encyc

Query Naver Encyclopedia to retrieve detailed information on specific topics. Customize results by adjusting display count, sorting by relevance or date, and specifying the start position.

Instructions

Perform a search on Naver Encyclopedia. (네이버 지식백과 검색)

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 dispatcher handler for search_encyc tool that logs args, parses with schema, and calls the core search function.
    search_encyc: (args) => { console.error("search_encyc called with args:", JSON.stringify(args, null, 2)); return handleEncycSearch(SearchArgsSchema.parse(args)); },
  • Zod schema defining input parameters for the search_encyc tool (query, display, start, sort).
    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: 날짜순)"), });
  • src/index.ts:207-219 (registration)
    MCP server registration for the search_encyc tool, specifying name, description, input schema, and wrapper handler.
    server.registerTool( "search_encyc", { description: "📖 Search Naver Encyclopedia for authoritative knowledge and definitions. Best for academic research, getting reliable information, and understanding Korean concepts and terminology. For current definitions or recent updates, use get_current_korean_time for context. (네이버 지식백과 검색 - 신뢰할 수 있는 정보와 정의, 현재 정의나 최근 업데이트를 찾을 때는 get_current_korean_time으로 상황을 파악하세요)", inputSchema: SearchArgsSchema.shape, }, async (args) => { const result = await searchToolHandlers.search_encyc(args); return { content: [{ type: "text", text: JSON.stringify(result, null, 2) }], }; }
  • Core helper function that executes the Naver encyclopedia ('encyc') search via the NaverSearchClient instance.
    export async function handleEncycSearch(params: SearchArgs) { return client.search("encyc", params); }

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