Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
XBY_APIKEYYes你的实际apikey (Your actual API key)

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

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription
get_card_by_set_and_numberC

通过系列代码和收集编号获取单张卡牌。

search_cardsA

通过查询字符串搜索卡牌,支持分页和排序。

查询语法示例:

  • t:creature c:r (红色生物)

  • pow>=5 or mv<2 (力量大于等于5或法术力值小于2)

  • o:"draw a card" -c:u (包含"抓一张牌"的非蓝色牌)

  • (t:instant or t:sorcery) mv<=3 (3费或以下的瞬间或法术)

分页参数:

  • page: 页码 (整数, 默认 1)

  • page_size: 每页数量 (整数, 默认 20, 最大 100)

排序参数:

  • order: 按字段排序,逗号分隔。前缀 - 表示降序 (例如: name, -mv, name,-rarity) 默认排序: name

其他参数:

  • unique: 去重方式 (id, oracle_id, illustration_id)

  • priority_chinese: 是否优先显示中文卡牌

get_setsB

返回所有MTG卡牌系列的完整数据,按发布日期降序排列

get_setC

根据系列代码获取单个系列的详细信息

get_set_cardsC

获取特定系列的所有卡牌,支持分页和排序。

hzlsC

活字乱刷(使用卡牌图像拼接句子),将输入的文本使用魔法卡牌图像拼接成图片

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.2/5.0

Scored across 6 tools

Disambiguation4/5

Most tools have distinct purposes focused on MTG card data retrieval (get_card_by_set_and_number, get_set, get_set_cards, get_sets, search_cards), but 'hzls' (活字乱刷) is an outlier for image generation, which could cause confusion if an agent expects purely data-oriented tools. The data tools are well-differentiated by scope (e.g., single card vs. set vs. search).

Naming Consistency3/5

Five tools follow a consistent 'verb_noun' pattern (e.g., get_card_by_set_and_number, get_set, get_set_cards, get_sets, search_cards), but 'hzls' uses an acronym without a clear verb-noun structure, breaking the pattern. This mixed convention reduces overall consistency, though the majority are readable.

Tool Count5/5

With 6 tools, the count is well-scoped for an MTG card data server, covering core operations like retrieving sets, cards, and searching, plus a creative tool. Each tool earns its place without being overwhelming or too sparse for the domain.

Completeness4/5

For MTG card data retrieval, the surface is nearly complete with tools for getting sets, cards by various criteria, and searching with advanced querying. The 'hzls' tool adds a creative function, but there might be minor gaps like updating or deleting data (if applicable), though these are likely out of scope for a read-focused server.

Maintenance

ActivityInactive
ResponsivenessNo issues