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
}
logging
{}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
extensions
{
  "io.modelcontextprotocol/ui": {}
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_booksB

检索馆藏书目。返回题名/责任者/出版社/ISBN/馆藏地在馆信息列表。

get_book_detailA

获取单册书目完整信息(含全部馆藏复本状态与流通统计)。

get_availabilityA

按 ISBN / 条码 / 题名查询馆藏复本在馆(可借)状态。

get_hot_booksA

热门借阅图书排行(可按中图法大类过滤)。

get_new_arrivalsC

近 N 天新书通报。

browse_classificationB

中图法分类浏览:传入分类号前缀(如 'T')返回该类目馆藏统计。

get_statisticsD

馆藏统计。

union_searchA

跨馆联盟联合目录检索(OPAC 结果页「联盟图书馆检索」的外部 PROCAT 服务)。

默认关闭,需 opac.union_enabled=true 且配置 union_base_url / union_tenant / union_token(读者会话 JWT,由 OPAC reader 登录取得,见 docs/联盟联合目录检索.md)。 仅只读检索,不实现馆际借阅下单(写操作)。未启用或配置不完整时返回明确提示。

get_reader_borrowingA

读者当前借阅(需 admin 认证令牌)。

get_reader_historyC

读者借阅历史(需 admin 认证令牌)。

get_reader_finesB

读者欠款 / 罚款明细(需 admin 认证令牌)。

get_system_statusB

返回当前数据源与后端健康状态。

Prompts

Interactive templates invoked by user choice

NameDescription
reference_consult图书馆参考咨询场景:根据用户提问给出检索与解答策略
recommend_books基于读者偏好/借阅历史的个性化荐书
new_arrivals_notice生成新书通报文案

Resources

Contextual data attached and managed by the client

NameDescription
书库结构总览汇文核心数据库表结构总览
状态码字典书刊状态与借阅状态码字典

TDQS

B3.2/5.0

Scored across 12 tools

Disambiguation4/5

Most tools have clearly distinct purposes: book searching, detail retrieval, availability checking, hot books, new arrivals, classification browsing, statistics, system status, union search, and reader-specific operations. However, get_reader_borrowing, get_reader_history, and get_reader_fines all relate to reader accounts and could be conflated if descriptions were less precise, but their names clearly differentiate them.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern using snake_case: search_books, get_book_detail, get_hot_books, etc. The pattern is predictable and makes the toolset easy to navigate.

Tool Count5/5

With 12 tools, the count is well within the ideal range. The toolset covers public catalog operations, reader management, and system administration without being excessive or minimal.

Completeness3/5

The toolset provides comprehensive read-only access to library catalog and reader information. However, it is explicitly limited to read-only operations, lacking any write capabilities (e.g., placing holds, renewing items) which are natural expectations for a library system. The union_search tool's description also notes it does not implement interlibrary loan ordering, which is a gap.

Maintenance

ActivityMaintained
ResponsivenessNo issues