# 관찰 로그 04 - searchapi / `youtube_search` - 출처: `MCP_툴_호출_통신_로그_(JSON-RPC) (1).pdf` - 원본 생성 시각: 2026-07-13 17:10:33 UTC - 성격: Agent Builder 솔루션에서 수행한 관찰용 실행 로그. 본 문서는 구현 계약이나 테스트 fixture가 아니다. ## 헤더 및 실행 메타데이터 | 항목 | 원본 기록 값 | |---|---| | transport type | `mcp-http` | | request_id | `2ab618c9-8f2f-4163-ad11-d7118bc4d3ae` | | tool_uid | `28553975-d471-4b67-a210-61cc636d537d` | | Tool version | `2.0` | | 실행 시각 | 2026-07-13 17:02:42 UTC | | 결과 | ok · 2200ms · truncated=False | | JSON-RPC 프레임 수 | 4 | | lifecycle | `initialize → tools/call` | ### HTTP 헤더 기록 범위 원본 PDF에는 개별 HTTP request/response header 값이 기록되어 있지 않다. 원본 표의 `request_id`, `tool_uid`, `version`은 실행 메타데이터이며 HTTP header라고 단정하지 않는다. 원본 공통 안내에는 시크릿 및 인증 header가 로깅 전에 `[REDACTED]`로 마스킹되었다고 명시되어 있다. 따라서 Authorization, `Mcp-Session-Id` 등 실제 HTTP header 값은 이 문서에 포함하지 않는다. ## JSON-RPC 통신 전문 아래는 원본 PDF의 JSON-RPC 프레임을 순서대로 옮긴 전사본이다. 긴 `result.content[].text` 문자열은 PDF의 시각적 줄바꿈을 보존했으므로, 이 블록 전체를 기계 실행용 단일 JSON payload로 사용하지 않는다. > 원본 PDF 자체가 `tools/call` 성공 응답의 끝부분을 `[+22537B]>`로 접어 표시한다. 따라서 이 문서는 PDF에 표시된 전문을 보존한 것이며, 접힌 22,537바이트의 원본 응답 데이터를 복원한 것은 아니다. ```text 17:02:42 요청 → initialize { "jsonrpc": "2.0", "id": 1, "method": "initialize", "params": { "protocolVersion": "2025-06-18", "capabilities": {}, "clientInfo": { "name": "toolbox-executor", "version": "0.1.0" } } } 17:02:42 ← 응답 initialize { "jsonrpc": "2.0", "id": 1, "result": { "protocolVersion": "2025-06-18", "capabilities": { "tools": { "listChanged": true }, "prompts": { "listChanged": true }, "resources": { "listChanged": true }, "logging": {} }, "serverInfo": { "name": "searchapi", "title": "SearchAPI MCP Server", "version": "1.0.0", "websiteUrl": "" }, "instructions": "Use the available tools to get real-time search results. Each tool corresponds t o a specific use case, which may be a full search engine or a specialized feature of an engine." } } 17:02:42 요청 → tools/call { "jsonrpc": "2.0", "id": 3, "method": "tools/call", "params": { "name": "youtube_search", "arguments": { "q": "EBS 공식 유튜브 채널", "gl": "KR" } } } 17:02:44 ← 응답 tools/call {"jsonrpc": "2.0", "id": 3, "result": {"content": [{"type": "text", "text": "{\n \"search_metadata \": {\n \"id\": \"search_Z18NJlvnOYI636jLXk3BOm7g\",\n \"status\": \"Success\",\n \"created_ at\": \"2026-07-13T17:02:43Z\",\n \"request_time_taken\": 1.12,\n \"parsing_time_taken\": 0.0 4,\n \"total_time_taken\": 1.15,\n \"request_url\": \"",\n \"htm l_url\": \"",\n \"json_url\": \""\n },\n \"search_parameters\": {\n \"engine\": \"youtube\",\n \"q\": \"EBS 공식 유튜브 채널\",\n \"hl \": \"en\",\n \"gl\": \"KR\"\n },\n \"search_information\": {\n \"total_results\": 6938629\n },\n \"channels\": [\n {\n \"position\": 1,\n \"id\": \"UCFCtZJTuJhE18k8IXwmXTYQ\",\n \"title\": \"EBS Documentary\",\n \"link\": \"",\n \"description\": \"EBS offers a wide range of high-quality documentaries\\ndealing with subjects, suc h as knowledge, science, culture and others.\",\n \"is_verified\": true,\n \"subscribers\": 5410000.0,\n \"thumbnail\": {\n \"static\": \"",\n \"r ich\": \""\n }\n },\n {\n \"position\": 2,\n \"id \": \"UC-swf20n5xdKW0waeLpXPFQ\",\n \"title\": \"EBS\",\n \"link\": \"",\n \"description\": \"EBS 공식 유튜브 채널 EBS 입니다. 언제나 여러분 곁엔 EBS가 그리 고 언제나 EBS 곁엔 여러분이!\",\n \"subscribers\": 698000,\n \"thumbnail\": {\n \"stati c\": \"",\n \"rich\": \""\n }\n },\n {\n \"position\": 4,\n \"id\": \"UCNjQBiTSdoj2tCQLBGXFksw\",\n \"title\": \"EB S 라디오 공식 채널\",\n \"link\": \"",\n \"description\": \"책 읽어주는 라디오 + 외국어 라디오 (서울 수도권 104.5MHz) 한국교육방송 EBS 라디오 공식 운영 채널 입니다.\",\n \"subscribers\": 208000,\n \"thumbnail\": {\n \"static\": \"",\n \"rich\": \""\n }\n },\n {\n \"position\": 6,\n \"id\": \"U CL44YGs2BXxtM4GZRH-wnrQ\",\n \"title\": \"EBS 지식채널e\",\n \"link\": \"",\n \"description\": \"우리 삶 속에서 잠깐, 5분 의미있는 순간으로 만드는 채널 공유하 고 쌓여가는 지식 지식채널e 공식홈페이지 ...\",\n \"subscribers\": 147000,\n \"thumbnail\": {\n \"static\": \"",\n \"rich\": \""\n }\n },\n {\n \"position\": 8,\n \"id\": \"UCiFYUP4_TI70yCkkVJAlxoA\",\n \"title \": \"EBS Collection - Nature\",\n \"link\": \"",\n \"description\": \"Chosen among more than 310,000 digitalized sources from EBS archive, EBS Collectio n gives you exclusive access to intriguing ...\",\n \"subscribers\": 1340000.0,\n \"thumbna il\": {\n \"static\": \"",\n \"rich\": \""\n }\n },\n {\n \"position\": 9,\n \"id\": \"UCl_tB4AqPkkxuYcJQHz6dMw\",\n \"title \": \"EBSCulture (EBS 교양)\",\n \"link\": \"",\n \"d escription\": \"Knowledge and information are becoming more important in all areas of today's societ y. EBS provides the information to make ...\",\n \"is_verified\": true,\n \"subscribers\": 3020000.0,\n \"thumbnail\": {\n \"static\": \"",\n \"rich\": \""\n }\n },\n {\n \"position\": 10,\n \"id\": \"UCbeZPOz8u aHstEIbkqBOnGg\",\n \"title\": \"EBS 세계테마기행\",\n \"link\": \"",\n \"description\": \"EBS 세계테마기행 공식 유튜브 채널 : (구독하기) ⛵세계를 여행하며 만나는 다양한 문화와 풍경!\",\n \"subscribers\": 162000,\n \"thumb nail\": {\n \"static\": \"",\n \"rich\": \""\n }\n },\n {\n \"position\": 11,\n \"id\": \"UCuuA38hvvuipqXFIP3BfL EA\",\n \"title\": \"EBS 지식\",\n \"link\": \"",\n \"description\": \"일상 속 지식 한 스푼! 각 분야의 전문가로 구성된 연사들의 강연까지! EBS의 고품격 지식·강연 프로 그램 속 다양한 지식들을 큐레이팅 ...\",\n \"subscribers\": 298000,\n \"thumbnail\": {\n \"static\": \"",\n \"rich\": \""\n }\n },\n {\n \"position\": 13,\n \"id\": \"UC2dDb6up1sIc-5geTvNtgHA\",\n \"title \": \"EBS 최고의 요리비결\",\n \"link\": \"",\n \"description\": \"이 채널은 \\\"EBS 최고의 요리비결\\\" 공식 유튜브 채널입니다. EBS 최고의 요리비 결은 지난 20년 동안 요리의 대가들이 출연하여 누구나 ...\",\n \"subscribers\": 104000,\n \"thumbnai l\": {\n \"static\": \"",\n \"rich\": \""\n }\n },\n {\n \"position\": 14,\n \"id\": \"UC2DBKKki_gtyrrgT7HYU1CA\",\n \"title \": \"EBS 국제다큐영화제 공식 채널\",\n \"link\": \"",\n \"description\": \"EBS국제다큐영화제 EIDF 공식 Youtube 채널입니다. This is the official YouTube EIDF Chan nel.\",\n \"subscribers\": 10100.0,\n \"thumbnail\": {\n \"static\": \"",\n \"rich\": \""\n }\n },\n {\n \"position\": 1 5,\n \"id\": \"UCN3RfsR18gsH8PLI6R6PYSQ\",\n \"title\": \"EBS뉴스\",\n \"link\": \"",\n \"description\": \"한국교육방송공사 EBS 뉴스 채널입니다. EBS 뉴 스의 TV 방송시간은 월~금 낮 12시, 저녁 6시 10분입니다. Republic of Korea's ...\",\n \"subscribers\": 5 9900.0,\n \"thumbnail\": {\n \"static\": \"",\n \"rich \": \" ```