Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
mail.toNoList of recipient email addresses. Required when mail.enabled is true. Example: ["收件邮箱@qq.com"].
mail.userNoSender QQ email address. Required when mail.enabled is true.
watch.sortsNoSort types for feeds: new (新发), reply (新回), hot (热门), elite (精华). Example: ["new"].
mail.enabledNoEnable email digest. Example: true.
mail.only_hotNoIf true, only push posts that have discussion. Example: false.
mail.passwordNoQQ email authorization code (not the login password). Required when mail.enabled is true.
watch.schoolsNoList of school names to watch; used to auto-search and cache circle IDs. Example: ["中国海洋大学"].
write.enabledNoEnable write operations such as huyou_post_comment and huyou_like_comment. Default is off; set to true to allow them after login.
filter.enabledNoEnable the usefulness filter so only posts with practical information are pushed. Example: true.
mail.max_postsNoMaximum number of posts to show in one email. Example: 120.
watch.skip_topNoIf true, skip pinned posts. Example: false.
filter.min_scoreNoMinimum score for the usefulness filter. 2=loose, 3=stricter, 1=looser. Example: 2.
watch.circle_idsNoList of circle IDs to watch directly. Alternative to watch.schools. Example: [].
watch.per_circleNoNumber of posts per page per circle. Example: 20.
filter.extra_noiseNoAdditional keywords that should never be pushed. Example: ["二手","失物"].
filter.extra_usefulNoAdditional keywords that should always be pushed. Example: ["实习","考研"].
watch.max_age_hoursNoOnly push posts within this time window in hours. Example: 36.
mail.include_commentsNoIf true, include comments for posts that have discussion. Example: true.
mail.comment_preview_countNoNumber of comments to include per post. Example: 3.
watch.max_pages_per_circleNoMaximum pages to fetch per circle. Example: 10.
watch.hot_comment_thresholdNoComment count threshold for treating a post as 'has discussion' in the email. Example: 2.

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

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources