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": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
xhs_login_qrcodeA

获取小红书登录二维码(扫码登录)

xhs_check_loginA

检查当前小红书登录状态

xhs_searchC

搜索小红书笔记

Args: keyword: 搜索关键词 limit: 返回结果数量(默认10,最大30)

xhs_get_noteB

获取小红书笔记详情及评论

Args: url: 笔记链接 (https://www.xiaohongshu.com/explore/{note_id})

xhs_publishA

发布小红书图文笔记(需登录创作者平台)

Args: title: 笔记标题(不超过20字) content: 笔记正文(不超过1000字) images: 图片本地路径列表

xhs_likeC

点赞/取消点赞小红书笔记

Args: url: 笔记链接

xhs_commentB

评论小红书笔记

Args: url: 笔记链接 text: 评论内容

xhs_user_profileC

获取小红书用户主页信息

Args: user_id: 用户ID

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

Disambiguation5/5

All tools have clearly distinct purposes: login checks, QR code login, note retrieval, commenting, liking, publishing, searching, and user profile. There is no functional overlap between any two tools.

Naming Consistency3/5

While all tools share the 'xhs_' prefix, the naming patterns vary: some are verb-only (e.g., xhs_comment, xhs_like), some verb_noun (e.g., xhs_check_login, xhs_get_note), and some noun_noun (e.g., xhs_login_qrcode, xhs_user_profile). This inconsistency may confuse agents slightly.

Tool Count5/5

With 8 tools, the server covers essential operations for interacting with Xiaohongshu without being overwhelming. Each tool serves a distinct purpose and contributes to a coherent workflow.

Completeness4/5

The tool set covers core actions like login, note retrieval, commenting, liking, publishing, searching, and profile access. Minor gaps exist, such as missing update/delete operations for notes and follow/unfollow actions, but the set is functional for common tasks.

Maintenance

ActivityInactive
ResponsivenessUnresponsive