Skip to main content
Glama
rajephon
by rajephon

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOTTO_TIMEOUTNoHTTP request timeout in seconds10
LOTTO_USER_IDYesYour DHLottery account ID (required)
LOTTO_DATA_DIRNoDirectory to store cookies and history./data
LOTTO_PASSWORDYesYour DHLottery account password (required)
LOTTO_USER_AGENTNoUser-Agent headerChrome
KLOTTERY_MCP_ALLOW_BUYNoSet to '1' to expose lotto_buy tool (default: not exposed)
LOTTO_REQUEST_INTERVALNoMinimum interval between consecutive requests in seconds0.3
KLOTTERY_MCP_ALLOW_DEPOSITNoSet to '1' to expose lotto_deposit tool (default: not exposed)

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
extensions
{
  "io.modelcontextprotocol/ui": {}
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
lotto_statusA

예치금 잔액·구매 한도·건전구매 서약 유효성을 조회한다.

lotto_resultsA

구매 내역과 당첨 결과를 조회한다. 등수는 서버가 계산한 값이다.

round_no 를 주면 조회 창을 사이트 상한(3개월)까지 넓힌다 — 기본 14일로는 지난 회차를 찾지 못해 "내역 없음"만 나온다. 그보다 오래된 회차는 사이트가 조회를 허용하지 않는다. 실제 조회 창은 반환값의 window 에 담긴다.

lotto_drawA

공개 추첨 결과를 조회한다. 로그인이 필요 없다.

lotto_buy_precheckA

구매 사전 점검 (드라이런). 게이트 판정과 다음 단계만 알려주고 절대 구매하지 않는다.

회차당 한도가 남아 있으면 이미 구매한 회차라도 남은 만큼 더 살 수 있다. 남은 게임 수는 round_remaining_games 에 담긴다.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/rajephon/k-lottery'

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