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
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
ljs_searchA

搜索 LJS 的 Vue3 插件。LJS 是作者自研的 7 个包,封装了表格、树形数据、时间轴、大屏数字、3D 轮播、大数据量下拉与常用工具函数。这些包的 API 命名与社区通用方案不同(例如格式化为 "万/亿"用的是 longNumText 而非自写逻辑),无法从通用知识推断,猜错参数会导致返工。

当方案涉及以下需求时,先搜索确认有无现成实现,避免重复造轮子:

  • 表格:动态列配置、导出 Excel、锁定列、多级表头

  • 树形数据:扁平数组转树、层级展示、菜单树

  • 大屏数字滚动、数据看板指标跳动

  • 时间轴、发展历程、蛇形时间线

  • 3D 球面轮播、立体标签云

  • 大数据量下拉、远程搜索下拉

  • 工具函数:日期/金额格式化、判空、字典、国密 SM2-SM4、水印、脱敏、WebSocket、MQTT、HTML 转 PDF

搜索成本很低:未命中会明确返回「未找到」并列出全部可用插件,不会让你误判。返回结果含匹配度与推荐理由,命中后用 ljs_read 拿完整用法、ljs_api 查准确签名。

ljs_apiA

查询某个 LJS 插件的 TypeScript 签名。写代码前用它确认参数名与类型,避免靠印象猜错——这些包的参数多为解构对象(如 handleListTree 收 { data, id, parentId, children }),凭记忆写极易出错。不传 api 参数则返回该包全部签名(ljs-tools 约 16K 字符,慎用)。

ljs_readA

读取某个 LJS 插件的完整使用指南(何时用/不用、安装、可复制示例、典型错误对照、已知坑)。确定要用某个包后调它,一次拿到全部用法。特别注意「已知坑」章节:里面是作者在生产中踩过的坑(如某些组件 data 为空时跳过列宽计算、导出有 1s 内部延时),跳过会写出能编译但运行不对的代码。

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.9/5.0

Scored across 3 tools

Disambiguation4/5

Each tool occupies a different stage of a lookup workflow: ljs_search finds candidate packages, ljs_read delivers the full guide, and ljs_api returns TypeScript signatures. ljs_read and ljs_api both retrieve per-package documentation, so an agent could occasionally hesitate between them, but the descriptions explicitly state when to use which.

Naming Consistency4/5

All three share the same ljs_ prefix and snake_case style, giving a predictable family. The only deviation is that ljs_search and ljs_read are verbs while ljs_api is a noun, a minor inconsistency that remains readable.

Tool Count4/5

Three tools is lean but each maps to a distinct step (discover, understand, verify signatures) for a documentation-lookup server. Nothing is redundant and nothing trivial inflates the set.

Completeness4/5

The discover→read→verify loop is fully covered, and a failed search returns the full package list, mitigating the absence of an explicit list tool. Minor gaps like package version/changelog lookup or installation verification exist but are workable within ljs_read.