{
  "serverInfo": {
    "name": "ssuMCP — 숭실대학교 비공식 캠퍼스 MCP 서버",
    "version": "0.2.0",
    "description": "숭실대학교 학생을 위한 비공식 캠퍼스 정보 MCP 서버(학교 공식 서비스 아님). 학식·시설·도서 검색·층별 좌석 집계·공지사항 공개 조회와 provider 로그인 기반 학사·LMS·도서관 개인 기능을 제공합니다."
  },
  "authentication": {
    "required": false,
    "note": "학식·시설·도서 검색·층별 좌석 집계·공지 같은 공개 도구는 인증 없이 사용합니다. 시간표·성적·LMS·대출과 실시간 per-seat 조회·추천·예약은 해당 provider 로그인 후 사용하며, mcp_session_id는 생략 시 현재 MCP transport에 안전하게 바인딩된 세션을 사용합니다."
  },
  "tools": [
    {
      "name": "get_today_meal",
      "description": "오늘 숭실대학교 캠퍼스 식당 메뉴를 조회합니다. restaurant를 비워두면 전체 식당을 반환합니다.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "restaurant": {
            "type": "string",
            "description": "식당 이름 (선택). 학생식당, 숭실도담식당, 스낵코너, 푸드코트, THE KITCHEN, FACULTY LOUNGE"
          }
        }
      }
    },
    {
      "name": "get_meal_by_date",
      "description": "지정한 날짜의 숭실대학교 캠퍼스 식당 메뉴를 조회합니다.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string",
            "description": "조회 날짜 (yyyy-MM-dd 형식, 예: 2026-05-24)"
          },
          "restaurant": {
            "type": "string",
            "description": "식당 이름 (선택). 학생식당, 숭실도담식당, 스낵코너, 푸드코트, THE KITCHEN, FACULTY LOUNGE"
          }
        },
        "required": ["date"]
      }
    },
    {
      "name": "get_dorm_weekly_meal",
      "description": "레지던스홀 기숙사 이번 주 식단을 조회합니다.",
      "inputSchema": {
        "type": "object",
        "properties": {}
      }
    },
    {
      "name": "search_campus_facilities",
      "description": "숭실대학교 캠퍼스 내 시설(카페, 편의점, 복사실 등)을 검색합니다.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "description": "검색어 (선택). 비워두면 전체 시설 목록 반환"
          },
          "page": {
            "type": "integer",
            "description": "페이지 번호 (기본 1)"
          },
          "size": {
            "type": "integer",
            "description": "페이지당 결과 수"
          }
        }
      }
    },
    {
      "name": "get_library_seat_status",
      "description": "숭실대학교 중앙도서관 층별 공개 좌석 현황을 조회합니다 (읽기 전용, 인증 불필요).",
      "inputSchema": {
        "type": "object",
        "properties": {
          "floor": {
            "type": "integer",
            "description": "층 번호. 가능한 값: 2, 5, 6"
          },
          "compact": {
            "type": "boolean",
            "description": "true이면 전체/가용/예약 수치만 반환"
          }
        },
        "required": ["floor"]
      }
    },
    {
      "name": "search_library_book",
      "description": "숭실대학교 중앙도서관 소장 도서를 검색합니다.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "description": "검색 키워드 (제목, 저자, ISBN 등)"
          },
          "page": {
            "type": "integer",
            "description": "페이지 번호 (기본 1)"
          },
          "size": {
            "type": "integer",
            "description": "페이지당 결과 수 (기본 10)"
          }
        },
        "required": ["query"]
      }
    },
    {
      "name": "get_recent_notices",
      "description": "숭실대학교 공지사항 최신 목록을 조회합니다.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "category": {
            "type": "string",
            "description": "카테고리 필터 (선택). 학사, 장학, 국제교류, 외국인유학생, 채용, 비교과·행사, 교원채용, 교직, 봉사, 기타"
          },
          "page": {
            "type": "integer",
            "description": "페이지 번호 (기본 1)"
          },
          "compact": {
            "type": "boolean",
            "description": "true이면 요약 필드만 반환"
          }
        }
      }
    },
    {
      "name": "search_notices",
      "description": "숭실대학교 공지사항을 키워드로 검색합니다.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "keyword": {
            "type": "string",
            "description": "검색 키워드 (최대 64자)"
          },
          "category": {
            "type": "string",
            "description": "카테고리 필터 (선택)"
          },
          "page": {
            "type": "integer",
            "description": "페이지 번호 (기본 1)"
          },
          "compact": {
            "type": "boolean",
            "description": "true이면 요약 필드만 반환"
          }
        },
        "required": ["keyword"]
      }
    },
    {
      "name": "list_notice_categories",
      "description": "숭실대학교 공지사항 카테고리 목록을 반환합니다.",
      "inputSchema": {
        "type": "object",
        "properties": {}
      }
    },
    {
      "name": "get_notice_detail",
      "description": "공지 URL로 본문 전체 텍스트를 반환합니다. get_recent_notices나 search_notices 결과의 link 값을 전달하세요.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "description": "공지 URL (get_recent_notices/search_notices 결과의 link 값)"
          }
        },
        "required": ["url"]
      }
    },
    {
      "name": "get_active_notices",
      "description": "진행중(마감 전) 공지만 반환합니다. 현재 신청 가능한 공지를 확인할 때 유용합니다.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "category": {
            "type": "string",
            "description": "카테고리 필터 (선택)"
          }
        }
      }
    },
    {
      "name": "get_department_notices",
      "description": "특정 학과/부서 공지만 반환합니다. 예: 컴퓨터학부, 장학팀, 소프트웨어학부.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "department": {
            "type": "string",
            "description": "학과/부서 이름. 예: 컴퓨터학부, 장학팀, 국제팀, 소프트웨어학부"
          },
          "page": {
            "type": "integer",
            "description": "페이지 번호 (기본 1)"
          }
        },
        "required": ["department"]
      }
    },
    {
      "name": "get_auth_status",
      "description": "현재 MCP 세션의 provider(SAINT, LMS, LIBRARY) 연결 상태를 확인합니다.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "mcp_session_id": {
            "type": "string",
            "description": "MCP 세션 ID (start_auth로 발급)"
          }
        }
      }
    },
    {
      "name": "start_auth",
      "description": "지정 provider의 로그인 URL을 발급합니다. 개인 도구 사용 전 호출 필요. 반환된 loginUrl을 브라우저에서 열어 로그인하세요.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": ["SAINT", "LMS", "LIBRARY"],
            "description": "로그인할 provider. SAINT: 시간표·성적·채플·졸업·장학금, LMS: 과제, LIBRARY: 대출 현황"
          },
          "mcp_session_id": {
            "type": "string",
            "description": "기존 세션 ID (선택). 없으면 새 세션 발급"
          }
        },
        "required": ["provider"]
      }
    },
    {
      "name": "logout_provider",
      "description": "특정 provider 연결을 해제합니다.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": ["SAINT", "LMS", "LIBRARY"]
          },
          "mcp_session_id": {
            "type": "string"
          }
        },
        "required": ["provider"]
      }
    },
    {
      "name": "logout_all",
      "description": "MCP 세션 전체를 삭제합니다.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "mcp_session_id": {
            "type": "string"
          }
        }
      }
    },
    {
      "name": "get_my_schedule",
      "description": "u-SAINT 시간표를 조회합니다. SAINT 로그인 필요.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "mcp_session_id": {
            "type": "string",
            "description": "start_auth(SAINT)로 발급받은 세션 ID"
          },
          "year": {
            "type": "integer",
            "description": "조회할 학년도(선택)"
          },
          "term": {
            "type": "integer",
            "description": "조회할 학기 코드(선택)"
          }
        }
      }
    },
    {
      "name": "get_my_grades",
      "description": "u-SAINT 성적(누적 GPA + 학기별 과목)을 조회합니다. SAINT 로그인 필요.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "mcp_session_id": {
            "type": "string"
          }
        }
      }
    },
    {
      "name": "get_my_chapel_info",
      "description": "u-SAINT 채플 출석 현황을 조회합니다. SAINT 로그인 필요.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "year": {
            "type": "integer",
            "description": "학년도 (선택, 예: 2026). 비워두면 현재 학기"
          },
          "semester": {
            "type": "string",
            "description": "학기 (선택). 1학기, 여름학기, 2학기, 겨울학기"
          },
          "mcp_session_id": {
            "type": "string"
          }
        }
      }
    },
    {
      "name": "check_graduation_requirements",
      "description": "u-SAINT 졸업 요건 충족 여부 및 잔여 학점을 조회합니다. SAINT 로그인 필요.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "mcp_session_id": {
            "type": "string"
          }
        }
      }
    },
    {
      "name": "get_my_scholarships",
      "description": "u-SAINT 장학금 수혜 내역을 조회합니다. SAINT 로그인 필요.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "year": {
            "type": "integer",
            "description": "학년도 (선택). 비워두면 전체 내역"
          },
          "mcp_session_id": {
            "type": "string"
          }
        }
      }
    },
    {
      "name": "get_my_assignments",
      "description": "LMS 현재 학기 미제출 과제·퀴즈 목록을 조회합니다. LMS 로그인 필요.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "mcp_session_id": {
            "type": "string"
          },
          "compact": {
            "type": "boolean",
            "description": "true이면 요약 응답 반환"
          },
          "term_id": {
            "type": "integer",
            "description": "조회할 학기 ID(선택)"
          }
        }
      }
    },
    {
      "name": "get_my_library_loans",
      "description": "도서관 대출 현황 및 반납 기한을 조회합니다. LIBRARY 로그인 필요.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "mcp_session_id": {
            "type": "string"
          }
        }
      }
    },
    {
      "name": "get_meal_weekly",
      "description": "숭실대학교 학생식당의 주간(7일) 메뉴를 조회합니다. weekOffset=0(이번 주, 기본), 1(다음 주), -1(지난 주).",
      "inputSchema": {
        "type": "object",
        "properties": {
          "weekOffset": {
            "type": "integer",
            "description": "주 오프셋. 0=이번 주(기본), 1=다음 주, -1=지난 주"
          }
        }
      }
    },
    {
      "name": "get_academic_calendar",
      "description": "숭실대학교 학사일정(수강신청·시험·방학 등)을 [{date, event, category}] 형태로 조회합니다. year 생략 시 현재 연도.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "year": {
            "type": "integer",
            "description": "조회할 연도(예: 2026). 생략 시 현재 연도"
          }
        }
      }
    },
    {
      "name": "find_academic_calendar_events",
      "description": "숭실대학교 학사일정을 연도·월·키워드로 필터링해 반환합니다.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "year": {
            "type": "integer",
            "description": "조회할 연도(선택). 생략 시 현재 연도"
          },
          "month": {
            "type": "integer",
            "description": "조회할 월(선택, 1~12)"
          },
          "keyword": {
            "type": "string",
            "description": "검색 키워드(선택). 예: 수강신청, 개강, 시험"
          },
          "limit": {
            "type": "integer",
            "description": "최대 반환 건수(선택)"
          }
        }
      }
    },
    {
      "name": "classify_academic_question",
      "description": "학사 질문을 졸업/장학/학사일정/일반 규정 의도로 분류하고 이어서 호출할 도구를 추천합니다.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "description": "분류할 학사 질문. 예: 복수전공 졸업 학점 조건"
          }
        },
        "required": ["query"]
      }
    },
    {
      "name": "search_academic_policy_sources",
      "description": "공식 규정관리시스템·학사 안내 페이지에서 학칙·졸업·장학 근거 문단을 검색합니다.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "description": "검색어. 예: 복수전공 졸업 학점"
          },
          "category": {
            "type": "string",
            "description": "학사 정책 범주(선택)"
          },
          "limit": {
            "type": "integer",
            "description": "최대 근거 수(선택)"
          },
          "live": {
            "type": "boolean",
            "description": "live 출처 조회 여부(선택)"
          }
        },
        "required": ["query"]
      }
    },
    {
      "name": "get_academic_policy_brief",
      "description": "학사 질문에 대한 공식 출처 기반 근거 요약(출처 URL·개정 이력·live/fallback 상태 포함)을 반환합니다.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "description": "요약할 학사 질문"
          },
          "category": {
            "type": "string",
            "description": "학사 정책 범주(선택)"
          },
          "limit": {
            "type": "integer",
            "description": "최대 근거 수(선택)"
          },
          "live": {
            "type": "boolean",
            "description": "live 출처 조회 여부(선택)"
          }
        },
        "required": ["query"]
      }
    },
    {
      "name": "check_scholarship_policy",
      "description": "장학금 질문·입력 조건(GPA·취득학점·입학연도·TOPIK 등)을 공식 장학 규정과 대조해 decision/근거를 반환합니다.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "description": "장학금 질문(선택). 예: 백마성적우수장학금 기준"
          },
          "gpa": {
            "type": "number",
            "description": "평점 입력(선택)"
          },
          "earnedCredits": {
            "type": "integer",
            "description": "취득 학점(선택)"
          },
          "admissionYear": {
            "type": "integer",
            "description": "입학 연도(선택)"
          },
          "topikLevel": {
            "type": "integer",
            "description": "TOPIK 등급(선택)"
          },
          "internationalStudent": {
            "type": "boolean",
            "description": "외국인 유학생 여부(선택)"
          },
          "live": {
            "type": "boolean",
            "description": "live 출처 조회 여부(선택)"
          },
          "limit": {
            "type": "integer",
            "description": "최대 근거 수(선택)"
          }
        }
      }
    },
    {
      "name": "list_academic_policy_sources",
      "description": "학사 RAG가 조회하는 공식 출처 목록(URL·개정일·live 지원 여부 등)을 반환합니다.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "category": {
            "type": "string",
            "description": "출처 범위: graduation, scholarship, academic 중 하나(선택). 생략 시 전체"
          },
          "live": {
            "type": "boolean",
            "description": "live 출처 조회 여부(선택)"
          }
        }
      }
    },
    {
      "name": "evaluate_graduation_with_policy",
      "description": "인증된 학생의 u-SAINT 졸업요건 상태와 공식 학칙/졸업 근거를 함께 반환합니다. SAINT 로그인 필요.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "question": {
            "type": "string",
            "description": "추가로 확인할 졸업 질문(선택)"
          },
          "live": {
            "type": "boolean",
            "description": "live 출처 조회 여부(선택)"
          },
          "mcp_session_id": {
            "type": "string"
          }
        }
      }
    },
    {
      "name": "simulate_gpa",
      "description": "u-SAINT academicRecord 기반으로 누적 GPA를 시뮬레이션합니다. SAINT 로그인 필요.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "plannedCredits": {
            "type": "number",
            "description": "이수 예정 학점"
          },
          "plannedGradePointAverage": {
            "type": "number",
            "description": "예상 평균 평점(선택)"
          },
          "targetGpa": {
            "type": "number",
            "description": "목표 GPA(선택). 필요한 평균을 역산"
          },
          "mcp_session_id": {
            "type": "string"
          }
        },
        "required": ["plannedCredits"]
      }
    },
    {
      "name": "get_library_available_seats",
      "description": "도서관 전체 열람실(7개)의 예약 가능 좌석과 좌석 ID를 실시간 조회합니다. LIBRARY 로그인 필요.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "compact": {
            "type": "boolean",
            "description": "true이면 좌석 ID 배열 생략"
          },
          "offset": {
            "type": "integer",
            "description": "열람실별 좌석 배열 시작 위치"
          },
          "limit": {
            "type": "integer",
            "description": "열람실별 최대 좌석 수"
          },
          "mcp_session_id": {
            "type": "string"
          }
        }
      }
    },
    {
      "name": "get_room_available_seats",
      "description": "특정 열람실의 per-seat 현황(available/occupied/away/inactive·좌석번호·잔여 이석시간)을 실시간 조회합니다. LIBRARY 로그인 필요.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "roomId": {
            "type": "integer",
            "description": "열람실 ID"
          },
          "compact": {
            "type": "boolean",
            "description": "true이면 좌석 상세 배열 생략"
          },
          "offset": {
            "type": "integer",
            "description": "좌석 상세 배열 시작 위치"
          },
          "limit": {
            "type": "integer",
            "description": "최대 반환 좌석 수"
          },
          "mcp_session_id": {
            "type": "string"
          }
        },
        "required": ["roomId"]
      }
    },
    {
      "name": "get_library_seat_catalog",
      "description": "도서관 열람실·좌석 배치 정적 카탈로그를 반환합니다 (실시간 현황 아님, 인증 불필요).",
      "inputSchema": {
        "type": "object",
        "properties": {
          "floor_code": {
            "type": "string",
            "description": "층 코드 필터(선택)"
          },
          "room_code": {
            "type": "string",
            "description": "열람실 코드 필터(선택)"
          },
          "include_layout": {
            "type": "boolean",
            "description": "true이면 텍스트 기반 좌석 배치도 포함"
          }
        }
      }
    },
    {
      "name": "recommend_library_seats",
      "description": "사용자 선호(창가·콘센트 등)에 따라 현재 예약 가능한 좌석을 순위화합니다. LIBRARY 로그인 필요.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "floor": {
            "type": "integer",
            "description": "층 번호. 가능한 값: 2, 5, 6"
          },
          "window": {
            "type": "boolean",
            "description": "창가 선호/회피"
          },
          "outlet": {
            "type": "boolean",
            "description": "콘센트 선호/회피"
          },
          "standing": {
            "type": "boolean",
            "description": "스탠딩 데스크 선호/회피"
          },
          "edge": {
            "type": "boolean",
            "description": "가장자리 좌석 선호/회피"
          },
          "quiet": {
            "type": "boolean",
            "description": "조용한 좌석 선호/회피"
          },
          "near_entrance": {
            "type": "boolean",
            "description": "입구 근처 선호/회피"
          },
          "include_graduate_only": {
            "type": "boolean",
            "description": "대학원 전용 열람실 포함 여부"
          },
          "limit": {
            "type": "integer",
            "description": "최대 추천 수"
          },
          "mcp_session_id": {
            "type": "string"
          }
        },
        "required": ["floor"]
      }
    },
    {
      "name": "get_my_library_seat",
      "description": "현재 도서관에서 예약 중인 좌석 정보를 조회합니다. LIBRARY 로그인 필요.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "mcp_session_id": {
            "type": "string"
          }
        }
      }
    },
    {
      "name": "prepare_reserve_library_seat",
      "description": "도서관 좌석 예약을 준비합니다. 실제 예약은 confirm_action 호출 시 실행됩니다. LIBRARY 로그인 필요.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "mcp_session_id": {
            "type": "string"
          },
          "seat_id": {
            "type": "string",
            "description": "예약할 externalSeatId"
          }
        },
        "required": ["seat_id"]
      }
    },
    {
      "name": "prepare_cancel_library_seat",
      "description": "현재 예약된 좌석 반납을 준비합니다. 실제 반납은 confirm_action 호출 시 실행됩니다. LIBRARY 로그인 필요.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "mcp_session_id": {
            "type": "string"
          }
        }
      }
    },
    {
      "name": "prepare_swap_library_seat",
      "description": "현재 좌석을 반납하고 새 좌석으로 변경을 준비합니다. 실제 변경은 confirm_action 호출 시 실행됩니다. LIBRARY 로그인 필요.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "mcp_session_id": {
            "type": "string"
          },
          "new_seat_id": {
            "type": "string",
            "description": "변경할 externalSeatId"
          }
        },
        "required": ["new_seat_id"]
      }
    },
    {
      "name": "confirm_action",
      "description": "준비된 사용자 승인 대기 액션(좌석 예약/반납/변경 등)을 최종 확인하고 실행합니다. action_id로 특정 액션 지정 가능(생략 가능).",
      "inputSchema": {
        "type": "object",
        "properties": {
          "action_id": {
            "type": "integer",
            "description": "prepare 응답의 actionId(선택). 생략 시 현재 대기 중인 단일 액션 실행"
          },
          "mcp_session_id": {
            "type": "string"
          }
        }
      }
    },
    {
      "name": "wait_for_library_seat",
      "description": "도서관 좌석 대기 의도를 백그라운드로 등록합니다. 등록 자체가 사용자 동의이며, 좌석이 비면 서버가 자동 예약할 수 있습니다. LIBRARY 로그인 필요.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "mcp_session_id": {
            "type": "string"
          },
          "floor": {
            "type": "string",
            "description": "선호 층(선택)"
          },
          "room_ids": {
            "type": "string",
            "description": "열람실 ID 목록(선택)"
          },
          "seat_attributes": {
            "type": "string",
            "description": "좌석 속성 조건(선택)"
          },
          "target_seat_id": {
            "type": "string",
            "description": "특정 externalSeatId(선택)"
          },
          "expires_in_minutes": {
            "type": "integer",
            "description": "대기 만료 시간(분, 선택)"
          }
        }
      }
    },
    {
      "name": "get_library_wait_status",
      "description": "최근 도서관 좌석 대기 의도 상태를 조회합니다. LIBRARY 로그인 필요.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "mcp_session_id": {
            "type": "string"
          },
          "intent_id": {
            "type": "integer",
            "description": "조회할 대기 intent ID(선택)"
          }
        }
      }
    },
    {
      "name": "cancel_library_wait",
      "description": "예약 시작 전인 활성 도서관 좌석 대기 의도를 취소합니다. LIBRARY 로그인 필요.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "mcp_session_id": {
            "type": "string"
          }
        }
      }
    },
    {
      "name": "get_lms_dashboard",
      "description": "미제출 과제·퀴즈 마감, 학사일정, 진행 중 공지를 한 번에 요약합니다. term_id 생략 시 현재 학기. LMS 로그인 필요.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "term_id": {
            "type": "integer",
            "description": "조회할 학기 ID(선택). 생략 시 현재 학기"
          },
          "mcp_session_id": {
            "type": "string"
          }
        }
      }
    },
    {
      "name": "get_my_lms_terms",
      "description": "사용자의 LMS 등록 학기 목록(id·name·기간·기본 학기 여부)을 반환합니다. LMS 로그인 필요.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "mcp_session_id": {
            "type": "string"
          }
        }
      }
    },
    {
      "name": "get_my_lms_courses",
      "description": "LMS 수강 과목을 각 과목의 다운로드 가능한 자료(파일 수·용량·content_id)와 함께 조회합니다. LMS 로그인 필요.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "term_id": {
            "type": "integer",
            "description": "조회할 학기 ID(선택). 생략 시 현재 학기"
          },
          "mcp_session_id": {
            "type": "string"
          }
        }
      }
    },
    {
      "name": "get_my_lms_materials",
      "description": "지정 LMS 과목들의 주차별 학습 자료(PDF·PPT·DOC·HWP·TXT 등) 목록을 확장자별로 조회합니다. 동영상·오디오 제외. LMS 로그인 필요.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "course_ids": {
            "type": "array",
            "items": {"type": "integer"},
            "description": "조회할 LMS 과목 ID 목록"
          },
          "term_id": {
            "type": "integer",
            "description": "조회할 학기 ID(선택). 생략 시 현재 학기"
          },
          "mcp_session_id": {
            "type": "string"
          }
        },
        "required": ["course_ids"]
      }
    },
    {
      "name": "prepare_lms_material_export",
      "description": "선택한 과목의 LMS 학습 자료 내보내기를 검증하고 대기열 등록을 준비합니다. confirm_lms_material_export로 최종 실행. LMS 로그인 필요.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "content_ids": {
            "type": "array",
            "items": {"type": "string"},
            "description": "내보낼 자료의 content_id 목록(get_my_lms_courses 응답에 포함)"
          },
          "term_id": {
            "type": "integer",
            "description": "조회할 학기 ID(선택)"
          },
          "mcp_session_id": {
            "type": "string"
          }
        },
        "required": ["content_ids"]
      }
    },
    {
      "name": "export_all_lms_materials",
      "description": "현재 학기 전체 과목의 LMS 학습 자료를 일괄 수집해 내보내기 미리보기를 반환합니다. 사용자가 '전체 다운로드'를 명시할 때만 사용. LMS 로그인 필요.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "term_id": {
            "type": "integer",
            "description": "조회할 학기 ID(선택)"
          },
          "mcp_session_id": {
            "type": "string"
          }
        }
      }
    },
    {
      "name": "confirm_lms_material_export",
      "description": "대기 상태인 LMS 자료 내보내기 액션을 실행 승인합니다. 승인 시 비동기 ZIP 빌드 후 20분 유효 다운로드 링크를 반환합니다. LMS 로그인 필요.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "mcp_session_id": {
            "type": "string"
          },
          "action_id": {
            "type": "integer",
            "description": "prepare 응답의 actionId(선택)"
          }
        }
      }
    }
  ],
  "resources": [],
  "prompts": []
}
