Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ONEBOT_HTTP_URLNoOneBot HTTP API address (not the WebSocket port). Can also be set in config.json as onebot.httpUrl.http://127.0.0.1:3000
ONEBOT_ACCESS_TOKENNoThe QQ gateway (OneBot) access token. Can also be set in config.json as onebot.accessToken.

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
sticker_listA

查看这个 QQ 账号收藏的表情包(含 AI 记下的含义/标签/使用次数)。query 可按备注、标签、用途过滤;refresh=true 立即从网关重新同步。返回文字清单,不占图像额度;没有备注的表情先用 sticker_preview 看图,再用 sticker_note 记下含义。

sticker_findA

按 1~16 字公共情绪/动作词找表情:先查 QQ 收藏,再查已理解的联网梗图缓存,最后才去固定站点搜。返回最多 3 个文字候选。query 只写公共词(如“开心”“猫猫无语”),不传聊天原文、人名、QQ号;没有结果或冷却时本轮用文字,不要连续重试。

sticker_previewA

看一张表情/梗图(联网新图必须先看):动图会取首中尾三帧拼成一张 JPEG。结合画面、表情、文字和反讽理解梗意,再用 sticker_note 记录含义。已标注过含义的图不必重复看。stickerId 用 sticker_list / sticker_find 返回的 id。

sticker_sendA

在指定会话发一张表情:一条消息只能一张图,不能在同一气泡里附带文字;想说的话请用文字消息单独发。target 形如 group:123456 或 private:7890,必须在 allow 白名单里。发出前插件会校验白名单、最小间隔与每小时上限,越权或过频会被拒绝。

sticker_noteA

记录这张表情的含义(note)、情绪 tags 和适用场景(usage)。这是本机记忆、跨会话复用,不会改 QQ 官方备注。联网新图必须先 sticker_preview 看过才能记;note/usage 各 ≤60 字,tags ≤6 个、每个 ≤12 字。

sticker_collectA

把会话里别人发的一张表情收藏到 QQ 收藏表情,并可写一句简短备注(如“好图偷了,兄弟”)。messageId 用收到的消息 id;只能收藏别人发的图,不能收藏自己发的。图片由插件自己安全下载后再交给网关,不会让网关抓任意 URL。

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.2/5.0

Scored across 6 tools

Disambiguation4/5

The tools have mostly distinct purposes: collect saves others' images, note records meaning, send posts, and preview displays an image. The only mild overlap is between sticker_list (filtering favorites by query) and sticker_find (searching favorites plus external sources by emotion/action), but the descriptions clarify the difference reasonably well.

Naming Consistency5/5

All six tools follow a predictable sticker_verb pattern: collect, list, find, preview, send, note. The prefix and verb style are uniform throughout.

Tool Count5/5

Six tools is well-scoped for a QQ sticker-management server. Each tool covers a distinct part of the workflow: collect, inspect, annotate, search, and send.

Completeness4/5

The tool surface covers the main lifecycle: collecting stickers, listing and searching them, previewing, annotating meaning, and sending. A notable gap is the absence of a remove/unfavorite operation, so agents cannot delete stickers from the collection.

Maintenance

ActivityMaintained
ResponsivenessNo issues