Skip to main content
Glama

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": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
holiday_checkA

查询某天是法定节假日、调休上班日、周末还是工作日(内置国务院办公厅 2025、2026 年放假通知;2027 年尚未公布)

holiday_yearA

列出某年全部法定节假日放假区间与调休上班日,附官方通知来源

workday_countA

统计两个日期之间(含首尾)的工作日与休息日天数,已考虑节假日与调休

workday_addA

计算某日期之后(n 为负数则之前)的第 n 个工作日,常用于"3 个工作日内发货"之类的截止日期

validate_id_cardA

校验中国大陆居民身份证号格式、出生日期与校验位,解析出生日期、性别、地区。仅做格式校验,不查询、不核验真实身份

validate_usccA

校验 18 位统一社会信用代码的字符集与校验位(GB 32100-2015),解析登记管理部门、机构类别与地区。不查询工商信息

validate_mobileA

校验中国大陆 11 位手机号格式(支持 +86、空格、横线),按号段推测运营商

pinyinA

把中文转换为拼音(带声调/数字声调/无声调)或首字母,自动处理常见多音字

solar_to_lunarA

公历转农历,返回农历日期、干支、生肖、节气、节日(1900–2100)

lunar_to_solarA

农历转公历,如农历 2026 年八月十五 → 公历日期(1900–2100)

region_lookupA

按代码(2/4/6 位,或 12 位取前 6 位)或名称查询省市县行政区划。覆盖:31 个省级行政区(不含港澳台)的省、市、县三级;来源:modood/Administrative-divisions-of-China(数据源自国家统计局 / 民政部公开数据)

dev_docs_searchB

离线检索 uni-app / 微信小程序 / Element Plus / Vant 常用 API 要点摘要,每条附官方文档链接

dev_docs_getA

按 id 读取一条文档摘要(id 来自 dev_docs_search)

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.8/5.0

Scored across 13 tools

Disambiguation5/5

Each tool has a clearly distinct purpose: text conversion, lunar/solar conversion, region lookup, dev docs retrieval, holiday/workday calculation, and ID/USCC/mobile validation are all separable. The only paired tools, dev_docs_search and dev_docs_get, have an explicit search-then-fetch relationship rather than overlapping behavior.

Naming Consistency3/5

Naming is readable but follows mixed conventions: pinyin is a bare noun, lunar_to_solar/solar_to_lunar use source_to_target, region_lookup/holiday_check/holiday_year use noun_action, and validate_id_card/validate_uscc/validate_mobile use verb_noun. The inconsistency does not usually cause confusion, but there is no single predictable pattern.

Tool Count5/5

With 13 tools, the set is well-scoped for a China-focused developer utility server. Each tool covers a distinct operation, and no obvious redundant tools inflate the count.

Completeness4/5

The surface covers paired operations where expected, such as lunar_to_solar/solar_to_lunar, dev_docs_search/dev_docs_get, and holiday_check/holiday_year/workday calculations. Minor limitations are explicit, such as holiday data only for 2025–2026 and region data excluding Hong Kong, Macau, and Taiwan.