Skip to main content
Glama
wtigero

Thai Toolkit MCP

by wtigero

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
thai_validate_idA

Validate a 13-digit Thai national ID or tax ID using the official checksum.

Returns: JSON string: {"input", "valid": bool, "formatted": str|null}

thai_convert_dateA

Format an ISO date as a Thai date string, or convert years CE<->BE.

Returns: JSON string. For 'format': {"input", "buddhist_year", "thai_date"}. For year conversion: {"input_year", "result_year", "era"}.

thai_baht_to_textA

Convert a baht amount to its Thai reading (e.g. 'หนึ่งพันบาทถ้วน').

Useful for invoices, receipts, and cheques.

Returns: JSON string: {"amount", "text"}

thai_calculate_vatA

Add or extract 7% Thai VAT, and optionally compute withholding tax.

Returns: JSON string with {"base", "vat", "total"} and, if requested, a "withholding" object {"wht_rate_percent", "wht", "net_payment"}.

thai_format_phoneA

Normalize a Thai phone number to local and E.164 forms and classify it.

Returns: JSON string: {"input", "local", "e164", "type", "valid"}

thai_lookup_provinceA

Look up a Thai province (Thai/English name) and its region.

Returns: JSON string: a single match {"thai", "english", "region_th", "region_en"}, a list of partial matches, or an error message if nothing matches.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.2/5.0

Scored across 6 tools

Disambiguation5/5

Each tool targets a distinct aspect of Thai data (currency, tax, date, phone, province, ID) with no functional overlap. An agent can easily select the appropriate tool without ambiguity.

Naming Consistency5/5

All tools follow a consistent 'thai_verb_noun' pattern using snake_case, making the API predictable and easy to remember.

Tool Count5/5

Six tools cover a well-scoped set of common Thai-specific utilities without being too few or too many. Each tool serves a clear purpose.

Completeness4/5

The tool set addresses core Thai localization needs (currency, tax, date, phone, location, ID). Minor gaps exist (e.g., address formatting, income tax) but are acceptable for a focused toolkit.

Maintenance

ActivityInactive
ResponsivenessNo issues