Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TDX_CLIENT_IDNoTDX Client Id. Required together with TDX_CLIENT_SECRET when enabling the rail toolset locally (for example --toolsets=invoice,stock,garbage,outage,rail).
DISASTER_ENABLEDNoSet to true to enable the experimental disaster toolset on the remote/self-hosted Worker.
TDX_CLIENT_SECRETNoTDX Client Secret. Required together with TDX_CLIENT_ID when enabling the rail toolset locally.
FORMOSA_OUTAGE_DIRNoDirectory containing locally collected outage data for the stdio server.

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
}

Tools

Functions exposed to the LLM to take actions

NameDescription
invoice_get_winning_numbersB

查詢統一發票中獎號碼與領獎期間。Get Taiwan invoice winning numbers; omit period for the latest draw.

invoice_checkB

統一發票對獎;未指定期別時檢查最新一期與仍可領獎的前一期。Check a Taiwan invoice number; 3–7 digits only check sixth prizes.

stock_quoteA

以股票代號或名稱查詢上市/上櫃盤後行情、本益比與殖利率,非即時。Taiwan TWSE/TPEx end-of-day quote by code or name, not real-time.

stock_market_summaryA

查詢上市加權指數、上櫃指數收盤漲跌、成交金額與融資券餘額(張)。兩市場各有資料日期,盤後資料,非即時;無需參數。Taiwan market closing summary, separately dated TWSE and TPEx; not real-time.

stock_dividendsA

查詢上市/上櫃近期除權息日程,可指定股票代號或名稱。Upcoming Taiwan TWSE/TPEx ex-dividend and ex-right dates; optional code or name.

garbage_scheduleC

查詢新北市、臺北市、臺中市垃圾車定點收運時刻。

outage_scheduleA

查詢計畫性停水、停電公告;緊急搶修、事故、颱風造成的停水停電不會事先公告。Planned water/power outages only.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.5/5.0

Scored across 7 tools

Disambiguation5/5

Each tool targets a clearly distinct action+resource: invoice_get_winning_numbers retrieves published winning numbers while invoice_check validates a specific invoice, and the stock trio is cleanly split into single-quote lookup, market-wide summary, and dividend calendar. garbage_schedule and outage_schedule cover separate municipal data with no overlap. No two tools appear interchangeable.

Naming Consistency4/5

All names use consistent snake_case with domain-prefixed grouping (invoice_*, stock_*, *_schedule), which makes scanning predictable. Minor deviation: the invoice and stock tools use verb phrasing (get_winning_numbers, check, quote) while garbage_schedule and outage_schedule are bare noun_schedule compounds, but nothing is confusing.

Tool Count5/5

Seven tools is well within the ideal range for a read-only public-data aggregator. Each tool corresponds to one distinct data source/query type, so none feels redundant or filler.

Completeness3/5

Within invoice and stock domains coverage is solid (winning numbers + checking, quote + summary + dividends), but the two schedule tools are single-shot lookups with no listing of supported cities or date-range parameters. As a Taiwan public-data aggregator the surface is inherently open-ended, so obvious adjacent needs (historical data, location enumeration) are unaddressed.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues