Skip to main content
Glama
kokoa-tools

Korean Independence Patriots Merit Records MCP Server

by kokoa-tools

get_workout_affil_codes

Retrieve movement affiliation codes to filter Korean independence patriot records by their historical activism groups.

Instructions

운동계열 코드 정보를 조회합니다

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function for the 'get_workout_affil_codes' tool. It formats the WORKOUT_AFFIL_CODES dictionary into JSON and returns it as TextContent.
    elif name == "get_workout_affil_codes":
        # 운동계열 코드 정보 조회
        result_json = format_response(WORKOUT_AFFIL_CODES)
        return [
            TextContent(
                type="text",
                text=result_json
            )
        ]
  • Registers the 'get_workout_affil_codes' tool in the list_tools() function, including its name, description, and empty input schema.
    Tool(
        name="get_workout_affil_codes",
        description="운동계열 코드 정보를 조회합니다",
        inputSchema={
            "type": "object",
            "properties": {}
        }
    ),
  • The input schema for the tool, which is an empty object (no parameters required).
    inputSchema={
        "type": "object",
        "properties": {}
    }
  • Constant dictionary defining the workout affiliation codes (key-value pairs) that the tool returns.
    WORKOUT_AFFIL_CODES = {
        "UGC00002": "의병",
        "UGC00003": "3.1운동",
        "UGC00004": "문화운동",
        "UGC00005": "국내항일",
        "UGC00006": "의열투쟁",
        "UGC00007": "학생운동",
        "UGC00008": "광복군",
        "UGC00009": "계몽운동",
        "UGC00010": "임시정부",
        "UGC00011": "일본방면",
        "UGC00012": "만주방면",
        "UGC00013": "중국방면",
        "UGC00014": "노령방면",
        "UGC00015": "미주방면",
        "UGC00017": "인도네시아방면",
        "UGC00023": "독립운동지원",
        "UGC00024": "구주방면"
    }

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/kokoa-tools/e-gonghun-mcp'

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