mcp-law-server
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 |
|---|---|
| tasks | {
"list": {},
"cancel": {},
"requests": {
"tools": {
"call": {}
},
"prompts": {
"get": {}
},
"resources": {
"read": {}
}
}
} |
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| agent_queryC | Hermes 编排综合查询(意图→路由→多通道→融合,返回最终回复与结构化依据) |
| decompose_queryA | 问题拆解与逐题验证编排器:将复杂审计问题拆为子问题,逐题调用 Hermes 编排获取答案并核实,汇总输出含可信度评估 |
| get_clause_classificationsC | 查询条款法定属性分类(7 类 clause_type) |
| get_regulation_hierarchyB | 查询法规层级关系(上位法 / 相关法 / 历史版本 / 废止) |
| issue_to_lawC | 审计问题 → 法规映射(bge 双路向量检索 + audit_issues 富表) |
| law_article_searchC | 按条款号在法规正文中检索(MySQL LIKE 降级方案) |
| law_lookupB | 按法规 ID 获取法规六要素 |
| search_clause_vectorC | 按条款内容做语义检索,返回候选条款(含相似度) |
| search_law_name_vectorB | 按法规名称检索(MySQL 精确优先 + Milvus 向量兜底) |
| smart_queryC | 智能综合查询(按意图路由到对应检索通道) |
| verify_law_referenceC | 多轮 Loop 核实 Agent 输出的法规引用是否真实存在 |
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 11 tools
Most tools have distinct purposes, but agent_query, decompose_query, and smart_query all serve query functions and could cause confusion about when to use each.
Names mostly follow verb_noun or noun_verb patterns with snake_case, but issue_to_law and smart_query deviate from the pattern, introducing minor inconsistency.
11 tools is well-scoped for a legal regulation server, covering queries, searches, hierarchy, and verification without being excessive.
The tool set covers core operations: semantic and keyword search, hierarchy retrieval, clause classification, issue mapping, and reference verification. No obvious gaps for a read-only legal server.