Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HOTLENS_LLM_MODELNoModel name to use, e.g. deepseek-chat, qwen-plus.gpt-4o-mini
HOTLENS_TOPHUB_KEYNoPaid aggregator key that enables Zhihu, Toutiao and WeChat sources (and the list_boards catalogue endpoint). Not registered without a key.
HOTLENS_LLM_API_KEYNoBring-your-own LLM API key used by explain_topic. If unset, explain_topic returns a degraded response instead of failing.
HOTLENS_LLM_BASE_URLNoAny OpenAI-compatible endpoint.https://api.openai.com/v1
HOTLENS_CACHE_TTL_SECONDSNoPer-platform cache TTL in seconds.300
HOTLENS_REQUEST_TIMEOUT_MSNoPer-source request timeout in milliseconds.8000

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
list_hot_topicsA

List what is currently trending on Chinese platforms (Weibo, Douyin, Baidu, Bilibili, Juejin, Zhihu, Toutiao, WeChat 24h) or Hacker News. Call this when the user asks what China is talking about right now, or when you need raw trending titles before explaining them with explain_topic. Omit every filter to get every source this install has enabled at once.

list_boardsA

List the Chinese boards available beyond the core platforms: Hupu, Douban, Xueqiu, 36Kr, SSPAI, The Paper and hundreds more, each with the hashid needed to pull it. Costs no aggregator credits, but does require HOTLENS_TOPHUB_KEY — say so rather than describing it as free. Use it when the user wants a niche community (sports, stocks, design, local news) rather than the national hot list, then pass the hashid to list_hot_topics as board.

get_historyA

Read a board as it looked on a past date, from this machine's local archive. This is the only way to see the past: every live source only serves the present, and the archive starts from the day it was first captured, so there is nothing before that. Use it when the user asks what was trending yesterday, or when they want to compare today against an earlier day. Call it with no arguments to find out which dates exist.

explain_topicA

Translate one Chinese trending title into English and explain the context behind it: who is involved, why it matters, and which entities it mentions. Call this whenever a raw Chinese headline is not self-explanatory to a non-Chinese reader. This is the core tool of this server.

cross_platform_viewA

Compare how the same topic ranks across platforms, to see who is amplifying it and who is ignoring it. Call this when the user asks whether an event is big in China, or whether different audiences care about the same thing.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4/5.0

Scored across 5 tools

Disambiguation4/5

Each tool has a clear, distinct function: live trending, board metadata, historical archive, single-topic explanation, and cross-platform comparison. The only mild overlap is list_hot_topics vs list_boards, both returning lists, but the descriptions make the boundary clear (topics vs board hashids).

Naming Consistency4/5

Four of five tools follow a verb_noun pattern (list_hot_topics, list_boards, get_history, explain_topic). cross_platform_view breaks the pattern as a noun-only name, a minor deviation that keeps the set mostly predictable.

Tool Count5/5

Five tools is well-scoped for a focused trending-topics server, and each covers a distinct stage of the workflow (discover, browse communities, explain, compare, look back). Nothing feels redundant or missing from the count.

Completeness4/5

The surface covers the core lifecycle: find trending topics, drill into niche boards, explain a headline, compare across platforms, and review the archive. Minor gaps remain, such as keyword search for a specific topic or fetching deeper per-topic data, but agents can work around these via the existing tools.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues