Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DOUBAN_COOKIENo登录态cookie(可选,但详情页需要)
DOUBAN_LOG_LEVELNo日志级别:debug/info/warn/errorinfo
DOUBAN_USER_AGENTNo覆盖默认UA内置Chrome UA
DOUBAN_DATA_SOURCENo数据源:html或frodohtml
DOUBAN_ENABLE_WRITENo启用写操作false
DOUBAN_FRODO_APIKEYNo覆盖frodo apikey内置默认
DOUBAN_DISABLE_CACHENo关闭缓存(测试用)false

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
search_movieA

按关键词搜索豆瓣电影。返回标题/年份/评分/链接的 markdown 列表。

get_movieA

获取一部电影的详细信息(导演、演员、评分、简介等)。id 是豆瓣电影 subject id(数字)。

get_movie_reviewsA

获取一部电影的短评列表(不含长评)。

get_movie_chartA

获取电影榜单。kind: top250 (Top250)、weekly (一周口碑榜)、new (近期上映)。

search_bookB

按关键词搜索豆瓣图书。

get_bookA

获取图书详情(作者、出版、ISBN、简介等)。id 是豆瓣图书 subject id(数字)。

get_book_reviewsC

获取图书的短评列表。

get_book_chartB

获取图书榜单。kind: fiction (小说)、non_fiction (随笔)、new (新书速递)。

get_user_collectionsB

获取某用户的"想看/在看/看过"列表。无 cookie 时必须传 uid。

get_user_doulistC

获取某用户的豆列清单。无 cookie 时必须传 uid。

get_user_profileA

获取某用户的基本信息。无 cookie 时必须传 uid。

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 11 tools

Disambiguation5/5

Each tool targets a distinct resource-action combination: book vs movie vs user, and get vs search vs chart. No two tools have overlapping purposes, and descriptions clearly differentiate them.

Naming Consistency5/5

All tools follow a consistent verb_resource_subresource pattern in snake_case (e.g., get_book_reviews, search_movie). No mixing of conventions.

Tool Count5/5

11 tools cover the main read operations for books, movies, and users. This is a reasonable number—neither too few nor too many for the domain.

Completeness4/5

The set includes search, detail, reviews, and charts for both books and movies, plus user info. It lacks write operations (e.g., rating, reviewing) but within the apparent read-only scope, it is fairly complete. Minor gaps like missing movie/book tags or celebrity info, but not essential.

Maintenance

ActivitySlowing
ResponsivenessNo issues