Skip to main content
Glama
zaqdaisuki

mahjong-calculator

by zaqdaisuki

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

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": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
calculate_mahjong_scoreA

麻雀の点数を計算します

牌姿と和了牌、対局状況から点数と役を計算します。

Args:
    tiles: 手牌(例: "123m456p789s1122z")
        - 萬子: 1-9m(例: 123m)
        - 筒子: 1-9p(例: 456p)
        - 索子: 1-9s(例: 789s)
        - 字牌: 1-7z(1=東, 2=南, 3=西, 4=北, 5=白, 6=發, 7=中)
        - 赤ドラ: 0で表現(例: 50m = 赤5萬)
    win_tile: 和了牌(例: "2z")
    dora_indicators: ドラ表示牌(カンマ区切り、例: "1m,5p")
    player_wind: 自風(east/south/west/north、デフォルト: east)
    round_wind: 場風(east/south/west/north、デフォルト: east)
    is_tsumo: ツモ和了かどうか(デフォルト: True)
    is_riichi: 立直しているかどうか(デフォルト: False)
    is_ippatsu: 一発かどうか(デフォルト: False)
    is_rinshan: 嶺上開花かどうか(デフォルト: False)
    is_chankan: 搶槓かどうか(デフォルト: False)
    is_haitei: 海底摸月かどうか(デフォルト: False)
    is_houtei: 河底撈魚かどうか(デフォルト: False)

Returns:
    str: 計算結果(役、翻数、符、点数)

Examples:
    calculate_mahjong_score("123m456p789s1122z", "2z")
    → 役牌の計算結果を返す

    calculate_mahjong_score("234m345p456s55z", "5z", is_tsumo=True, is_riichi=True)
    → 立直ツモの計算結果を返す

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/zaqdaisuki/mahjong_calculator'

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