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
auth_loginC

导入登录态(默认从本机浏览器 auto-detect;支持 Chrome/Edge/Brave/Safari/Firefox 等)

auth_reset_guardB

手动解除风控熔断状态

auth_statusA

检查登录态是否有效,返回 unb / tracknick / 昵称

media_uploadC

上传图片,独立媒体预算,返回可复用图片收据

category_recommendA

AI 识别商品类目,输入标题+图片返回 catId/catName

item_deleteB

下架/删除商品(写操作,受限流和风控护栏保护)

item_getB

查询闲鱼商品详情(只读)

item_listC

查看当前账号的在售商品(API 直签)

location_defaultB

获取账号默认发布地址

item_publishC

发布商品(自动识别类目 + 默认地址),价格单位元

item_viewB

浏览器视角查看商品详情(读取页面响应,含图片和卖家字段)

message_historyC

拉取指定 cid 会话的历史消息(翻页到底)

message_list_chatsC

会话列表:HTTP + 默认短时 WS 发现,最近消息补齐并按活动时间倒序

message_sendC

向会话发送消息(text/image)。text 必填,image 走 url+wh

message_watchA

常驻 IM 长连接,下行事件以 JSONL 输出到 stdout(Ctrl-C 退出)

search_itemsB

搜索闲鱼商品(浏览器路径,抗风控;--pages 跨页抓取)

skills_installC

把内置 Claude Skills 复制到 ~/.claude/skills/(或 --dest 指定目录)

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.2/5.0

Scored across 17 tools

Disambiguation4/5

Most tools target distinct resources and actions, but item_get and item_view both retrieve item details and could be confused despite the API-vs-browser distinction. The messaging and auth tools are clearly separated.

Naming Consistency4/5

Most names follow a consistent snake_case resource_action pattern (auth_status, item_publish, message_send), with a few deviations such as search_items and skills_install. The set remains readable and predictable overall.

Tool Count4/5

Seventeen tools is slightly above the ideal range but reasonable for a CLI covering auth, item management, messaging, media, category, location, and skills. Each domain group is small and the tools mostly earn their place.

Completeness3/5

The surface covers login, search, list, view, publish, delete, media, category, location, and messaging well, but lacks an obvious item update/edit operation. Agents can work around this only by deleting and republishing, which is a notable gap.

Maintenance

ActivityActive
ResponsivenessWithin a week