campus-guardrails
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
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
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_categoriesA | 列出护栏规则分类(platform/packaging/compliance/performance/interaction/engineering)。 |
| list_rulesA | 列出规则索引,可按 category / severity(error|warn|info) 过滤。返回 id+title,供后续 get_rules 取详情。 |
| get_rulesA | 获取规则详情(含症状、成因、修复方案)。传 ids 精确取,或传 category 取整类,都不传取全量。写代码前先按任务场景取对应类规则遵守。 |
| lint_projectA | 对指定 uni-app/微信小程序项目目录做静态护栏扫描:rpx 行内样式、WXSS 通配/伪类、defineProps 泛型、分包开关与资源位置、动画 fill-mode、以及密钥/内网信息泄露红线。返回违规清单(含修复建议)。发版/开源前必跑。 |
| submit_checklistB | 生成微信小程序提审/上线前的护栏检查清单。scenario 可选 first-release(首版上线,附加常见卡点)。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 5 tools
Each tool occupies a distinct layer of the workflow: browse categories, list a rule index, fetch full rule details, statically scan a project, and generate a submission checklist. The index-vs-detail split between list_rules and get_rules is explicitly described (id+title vs full symptom/cause/fix), and lint_project (code scanning) is clearly separated from submit_checklist (pre-release checklist generation). No two tools appear to do the same thing.
All five names follow a strict snake_case verb_noun pattern (list_categories, list_rules, get_rules, lint_project, submit_checklist), with verb choice matching semantics (list for collections, get for detail, lint/submit for actions). No mixed conventions or vague standalone verbs.
Five tools is right-sized: two discovery tools, one detail tool, one enforcement tool, one release-workflow tool. Each earns its place with no filler or redundant wrappers.
The rule-reference → lint → pre-release checklist lifecycle is covered end to end, with category/severity filtering and id/category/full-detail fetch modes. Minor gaps: no keyword/symptom-based rule search (only category/severity/id), and lint_project has no scope options (e.g., single file, changed files) or severity-threshold configuration.