Skip to main content
Glama
jack0752168

SinoVerdict MCP Server

by jack0752168

文书查 / SinoVerdict MCP Server

110 万+ 结构化的中国劳动争议判决接进你的 AI 助手 / Agent —— Codex、Claude Desktop、Cursor、Claude Code,或任何支持 MCP 的客户端。

Beta 阶段限劳动争议数据集;正式版开放 1.5 亿份全量裁判文书 + 法规库。 申请试用 key:邮件 chenjiaxin@wenshucha.com 或电话 131-6872-7779,一个工作日内回复。


提供的 Tool

两套能力:① 全案由通用检索(120万+ 判决,覆盖 1200+ 案由);② 劳动争议专项(8万结构化判决 + 金额量化)。

Tool

用途

browse_full_corpus

全量库浏览(1.3亿+ 真全量,非样本) —— 直连完整裁判文书库,按省份(+案由)左前缀浏览最新判决,返回标题/案号/案由/法院/省份/审判程序/裁判日期 + 原文链接。按省份浏览快;加案由筛选当前较慢(全文检索/聚合统计开放中)

search_judgments

全案由关键词检索(120万样本) —— 按关键词 + 案由/省份/法院/年份过滤,返回标题/法院/案由/日期/案号 + 原文链接

search_cases

劳动争议专项(8万样本) —— 案情文本 + 结构化过滤(省份/案由/解雇原因/工龄/年份)→ Top 20 类案 + 金额分位(p25/中位/p75)+ 关键裁判因素

get_case

依 doc_id 取单条判决详情

case_stats

劳动争议按省份 / 解雇原因 / 工龄分桶切片聚合(金额分位 + 平均月薪)

全量 vs 样本:browse_full_corpus 打的是 1.3 亿+ 完整库(浏览式);search_judgments/search_cases 是带关键词/量化检索的样本集。全量库的全文检索与大数据聚合统计正在开放中。

数据规模:试用为全案由样本 120万+ 与劳动 8万;正式版开放全量 1.4 亿 + 全文检索。

每条判决均含中国裁判文书网原文链接(source_url),结果可溯源、可呈堂


Related MCP server: mcp-taiwan-legal-db-integrated

安装(三步)

# 1. 拉代码
git clone https://github.com/jack0752168/wenshucha-mcp.git ~/wenshucha-mcp

# 2. 装依赖(只需一次)
cd ~/wenshucha-mcp && npm install

# 3. 先用 curl 验证 key 通(把 <KEY> 换成你的试用 key)
curl -H "X-API-Key: <KEY>" "https://tob.wenshucha.com/api/v1/health"
# 返回 {"ok":true,...} 即 key 有效

接入 Codex(OpenAI Codex CLI)

方式一:命令行一行加(推荐)

codex mcp add wenshucha \
  --env WENSHUCHA_API_KEY=<你的试用KEY> \
  --env WENSHUCHA_API_BASE=https://tob.wenshucha.com \
  -- node $HOME/wenshucha-mcp/bin/wenshucha-mcp.mjs

加完确认:

codex mcp list          # 应能看到 wenshucha
codex mcp get wenshucha

方式二:手动写 ~/.codex/config.toml

[mcp_servers.wenshucha]
command = "node"
args = ["/Users/<你>/wenshucha-mcp/bin/wenshucha-mcp.mjs"]

[mcp_servers.wenshucha.env]
WENSHUCHA_API_KEY = "<你的试用KEY>"
WENSHUCHA_API_BASE = "https://tob.wenshucha.com"

在 Codex 里怎么用

启动 codex,直接用自然语言让它调,例如:

用 wenshucha 检索「经济性裁员 工龄7年 拒签合同」在广东省的类案,给我金额区间和胜诉率。

Codex 会自动调用 search_cases,拿回 Top 20 类案 + 量化统计 + 裁判文书网原文链接。


接入 Claude Desktop

编辑 ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "wenshucha": {
      "command": "node",
      "args": ["/Users/<你>/wenshucha-mcp/bin/wenshucha-mcp.mjs"],
      "env": {
        "WENSHUCHA_API_KEY": "<你的试用KEY>",
        "WENSHUCHA_API_BASE": "https://tob.wenshucha.com"
      }
    }
  }
}

重启 Claude Desktop 后,模型侧自动看到 search_cases / get_case / case_stats 三个 tool。

接入 Cursor

~/.cursor/mcp.json:

{
  "mcpServers": {
    "wenshucha": {
      "command": "node",
      "args": ["/Users/<你>/wenshucha-mcp/bin/wenshucha-mcp.mjs"],
      "env": {
        "WENSHUCHA_API_KEY": "<你的试用KEY>",
        "WENSHUCHA_API_BASE": "https://tob.wenshucha.com"
      }
    }
  }
}

接入 Claude Code

claude mcp add wenshucha \
  --env WENSHUCHA_API_KEY=<你的试用KEY> \
  --env WENSHUCHA_API_BASE=https://tob.wenshucha.com \
  -- node /Users/<你>/wenshucha-mcp/bin/wenshucha-mcp.mjs

环境变量

变量

默认

说明

WENSHUCHA_API_KEY

(无)

必填,试用 key

WENSHUCHA_API_BASE

https://tob.wenshucha.com

选填,换 staging 时用

试用限制

  • 60 次/分钟 per key

  • Beta 阶段限「劳动争议」数据集

  • Trial key 90 天有效,正式合作后换长期 key

联络

文书查 · 深圳星谱网络科技有限公司 商务电话:131-6872-7779 邮箱:chenjiaxin@wenshucha.com 官网:https://www.wenshucha.com

Available Tools

7 tools
browse_full_corpusA

全量裁判文書瀏覽(真全量,非樣本):直連完整裁判文書庫,按省份(+案由)左前綴瀏覽最新判決,返回標題/案號/案由/法院/省份/審判程序/裁判日期 + 判決全文 body_text + 中國裁判文書網原文連結這是目前唯一每條都同時帶全文與原文連結的工具(2026-07-22 實測廣東 20/20 條 source_url 與 body_text 均非空),客戶要「必須可回鏈核驗」的樣本時優先走本工具。口徑注意:①total候選池條數不是全庫計數,上游候選池當前封頂 50;②instrument_type / judge / plaintiff / defendant / law_firms / court_opinion / referee_result 七個結構化欄位當前 100% 為空(上游這批只入了正文未拆解要素,實測 4 省 60 條),要這些要素請自行從 body_text 讀,響應的 _meta.empty_fields 會按每頁實測動態上報;③本工具的 doc_id 餵 get_case 會 404(見 get_case 說明),但因單次已返全文故無需回查;④按省份瀏覽快,只加案由篩選當前較慢、可能超時,建議帶上 province。

ParametersJSON Schema
NameRequiredDescriptionDefault
pageNo頁碼,默認 1
causeNo案由左前綴,如 機動車交通事故/勞動/民間借貸(可選;當前較慢)
pageSizeNo每頁條數,默認 20,最多 100
provinceNo省份左前綴,如 廣東/北京/上海(建議必傳,查詢快)

TDQS

A4.8/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description fully carries the behavioral transparency burden. It discloses that total is a candidate pool count (not full database), seven structured fields are empty, doc_id is not reusable, and includes performance characteristics for province vs. cause filtering. It even cites empirical test results (Guangdong 20/20) to back claims.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is somewhat lengthy but every part adds value. It front-loads the core purpose and unique selling point. The notes about empty fields and doc_id reusability could be more succinct, but given the tool's complexity and need for caveats, the length is justified.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no output schema and no annotations, the description is extremely complete. It explains return fields (including the ones that are empty), cross-tool relationships (doc_id with get_case), performance characteristics, and the meaning of total. It addresses all likely questions an agent might have.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% so baseline is 3. The description adds value by explaining the left-prefix search behavior and the performance trade-offs (province fast, cause slow). It also suggests province as 'suggested required' though not technically required, providing semantic context beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: browsing the full corpus of Chinese judgment documents, returning both full text and original links. It explicitly distinguishes itself from siblings by being the only tool providing both body_text and source_url, and contrasts with get_case by noting doc_id incompatibility.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit usage guidance: prioritize this tool when samples require verifiable links, recommends including province for speed, warns that cause filtering is slow and may timeout, and notes that doc_id from this tool will 404 in get_case. It gives practical tips for effective use.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

case_analyticsA

案件大數據統計(對標法寶「案件大數據」):全庫實時聚合,2026-07-22 實測 year 維度 60 個桶合計 1.51 億條、主體覆蓋 1985–2025(非早期文檔寫的「4580萬 / 2020-2023」,該口徑已作廢)。dim=cause(案由分布)/province(地域分布)/year(年份趨勢)/court(法院排行),可疊加 province / cause / 年份過濾。返回 [{key,count}]。這是唯一能給真實全庫計數的工具——case_stats 的 n_cases 是 8 萬快照裡的抽樣條數,比體量必須用本工具。口徑注意:year 維度含極少量入庫髒桶(如「1014」「209」「2027」,15 個桶合計 1,257 條 = 0.0008%),回答年份趨勢時忽略即可,別當真實年份引用。

ParametersJSON Schema
NameRequiredDescriptionDefault
dimNo統計維度cause
causeNo案由過濾(可選,前綴)
yearToNo
provinceNo省份過濾(可選)
yearFromNo

TDQS

A4.5/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden. It discloses that the tool operates on the entire database in real-time, mentions the massive dataset size (1.51亿 records as of 2026-07-22), and notes the previous documentation is obsolete. It also warns about dirty data in the year dimension. This is transparent and helps avoid misuse.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is relatively long but every sentence provides critical information: real-time aggregation, dataset size, obsolete documentation, dimension details, filtering, and data caveats. It is front-loaded with the purpose and then dives into specifics. No wasted words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity (no output schema, 5 parameters, real-time aggregation with large data), the description covers the tool's operation, input parameters, usage caveats, and distinguishes from siblings. It does not explain the exact output format beyond [{key,count}], but that is sufficient for an AI agent to use it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema describes 3 of 5 parameters (dim, cause, province) with descriptions. The description adds context beyond the schema: it explains the meaning of each dim value, how to combine filters, and the importance of ignoring certain year values. This adds significant semantic value for an agent.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: '案件大數據統計' (case big data statistics) performing real-time aggregation across the entire database. It specifies the available dimensions (cause, province, year, court) and that it returns aggregated counts. It distinguishes itself from sibling tools like case_stats, making the purpose unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly tells when to use this tool: it is the only tool that gives true full-database counts, and it contrasts with case_stats which provides sample counts from an 80,000 snapshot. It also warns about dirty buckets in the year dimension, guiding the agent to ignore them. This is excellent guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

case_statsA

按 dimension 切片回傳勞動爭議判例聚合統計。讀的是倉庫內預計算快照(8 萬條勞動爭議樣本,data_mode: snapshot),不隨全量庫更新而變,與其餘工具不是同一口徑,別把兩邊數字放一起比。每個 cell 含 n_cases、p25/中位/p75 金額、平均月薪。口徑注意:①n_cases抽樣條數不是案件量,province 維度每省封頂 4500(實測 9 省並列觸頂、置 n_cases_capped: true),不可用於跨省比體量——要真實案件量請用 case_analytics(全庫實時聚合);②p25/median/p75 是真實統計、不受封頂影響,可橫向比;③win_rate 恆為 null;④province 維度已剔除入庫殘留桶(如「20廣東省」),_meta.excluded_note 逐一披露剔了什麼。

ParametersJSON Schema
NameRequiredDescriptionDefault
dimensionNo切片維度:province=省份 / term_reason=解雇原因 / years_bucket=工齡分桶province

TDQS

A4.8/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description fully carries the burden. It discloses that the tool reads a pre-computed snapshot (not real-time), that n_cases is capped per province and not actual case count, that win_rate is always null, and that province dimension has excluded malformed entries. The n_cases_capped flag is also mentioned.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is relatively long but efficiently structured. It front-loads the main purpose, then lists caveats with numbered bullet points for clarity. Every sentence adds necessary context; no waste given the complexity. Could be slightly more concise but appropriate.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given one parameter, no output schema, and no annotations, the description is remarkably complete. It covers what the tool does, the output fields (n_cases, p25/median/p75, average salary), data freshness, and critical caveats about sampling and capping. It also relates to sibling tools for context.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% for the single parameter dimension, but the description adds significant meaning beyond the enum values. It explains what each dimension represents (e.g., province→省份, term_reason→解雇原因) and provides context for the output statistics. This extra value justifies a score above the baseline of 3.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool returns aggregated statistics on labor dispute cases sliced by dimension. It specifies the tool reads a pre-computed snapshot, not the full database, which distinguishes it from siblings like case_analytics. The verb '回傳聚合統計' and resource '勞動爭議判例' are specific.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly states when to use this tool vs alternatives. It warns that the snapshot is not consistent with other tools, so numbers should not be compared. It directly points to case_analytics for real case counts. It also advises against using n_cases for cross-province comparison due to capping.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_caseA

依 doc_id 取單條判決詳情。只接受兩種來源的 doc_id:①search_cases / search_judgments 返回的 32 位十六進制;②search_judgments_full(fulltext)返回的 <dataset>:<id> 形式(如 2025:5afdb157…)。⚠️ browse_full_corpus 返回的裸 hex doc_id 回查本工具必定 404(它來自全量庫、詳情端點只走 ES 側,2026-07-22 實測),所幸 browse_full_corpus 單次已返回全文 + 原文連結,無需回查詳情。

ParametersJSON Schema
NameRequiredDescriptionDefault
doc_idYes原樣回傳檢索結果裡的 doc_id。兩種合法格式:32 位十六進制,或 `<dataset>:<id>`(含冒號,如 2025:5afdb157… / ws_new:846c05f2-…)。格式非法回 400 bad_doc_id。

TDQS

A4.7/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Without annotations, description discloses valid doc_id formats, sources, and that wrong format causes 400/404 errors. Adds context about backend (ES side) and date of test. Does not discuss rate limits or auth, but acceptable for a read-only retrieval tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences and one warning, all front-loaded with purpose. No wasted words; each sentence serves a clear role: purpose, acceptable sources, and crucial caveat.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple single-param get tool, the description covers purpose, valid inputs, and a key limitation. Could mention return value briefly, but given no output schema, it's not strictly necessary. Sibling context helps complete the picture.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, but description adds significant meaning beyond schema: explains two origins of doc_id, specific formats, and warning about browse_full_corpus. Schema alone only states valid formats; description provides necessary usage context.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description clearly states it fetches single case details by doc_id, with specific verb '取單條' and resource '判決詳情'. It distinguishes from siblings by specifying valid doc_id sources and warning against use with browse_full_corpus results.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly when to use: with doc_id from search_cases, search_judgments, or search_judgments_full. Explicitly when not to use: with doc_id from browse_full_corpus (will 404). Also notes browse_full_corpus already provides full text, so no need to use this tool.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

search_casesA

檢索中國勞動爭議裁判文書(110 萬+ 結構化判例),返回高相似度案件 + 金額分位數(p25/中位/p75) + 關鍵裁判因素。支援案情文本 + 結構化過濾(省份/案由/解雇原因/工齡/年份)混合檢索。每條結果含中國裁判文書網原文連結(2026-07-22 實測 3/3 非空),含 body_excerpt 摘要但不含判決全文(要全文用 search_judgments_full 或 browse_full_corpus)。口徑注意:①stats.win_rate 當前恆為 null(樣本僅含判付案,均衡樣本後才開放),不要對用戶宣稱本工具給勝訴率;②stats.n_cases 封頂 2000(命中過多時恆為 2000 並置 n_cases_is_capped: true),應讀作「2000+」而非真實命中數。

ParametersJSON Schema
NameRequiredDescriptionDefault
qNo案情關鍵詞,例:「經濟性裁員 工齡7年 拒簽合同」
reasonNo案由,例:勞動爭議/追索勞動報酬糾紛/勞動合同糾紛/確認勞動關係糾紛/經濟補償金糾紛
year_toNo判決年份止
provinceNo省份,例:北京市/上海市/廣東省
year_fromNo判決年份起
years_maxNo工齡上限(年)
years_minNo工齡下限(年)
term_reasonNo解除/終止原因:layoff=經濟性裁員 / fired=過失性辭退 / contract_end=合同到期 / mutual=協商一致 / quit=員工辭職

TDQS

A4.6/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description fully bears the burden of behavioral disclosure. It transparently states that win_rate is always null and n_cases is capped at 2000 with a flag. It also clarifies that results include body_excerpt but not full text. These are important limitations that are clearly communicated.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is verbose but efficiently packs essential information. It starts with the core function, then lists features, caveats, and sibling tool references. Some redundancy exists (e.g., the stats caveats are repeated), but every sentence contributes to understanding. Could be slightly more concise, but structure is good.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (8 parameters, mixed search, important caveats, sibling tools), the description is complete. It explains return values (similarity, percentiles, factors), output limitations (no full text), and edge cases (capped n_cases, null win_rate). Without an output schema, it adequately covers the return structure.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3. The description does not add significant meaning beyond the schema; it provides an example query for the 'q' parameter but otherwise the schema already documents each parameter thoroughly. The description's mention of 'mixed search' is helpful but not additional semantic detail.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool retrieves Chinese labor dispute judgments (110万+ structured cases) and returns high similarity cases, amount percentiles, and key adjudicative factors. It explicitly distinguishes itself from siblings by indicating what it does not return (full text) and directing users to other tools for that purpose.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides detailed guidance on when to use this tool (for case summaries, stats, and links) and when not to (for full judgments, use search_judgments_full or browse_full_corpus). It also includes critical caveats about win_rate being null and n_cases capping at 2000, preventing misuse.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

search_judgmentsA

全案由通用檢索:在 120 萬+ 中國裁判文書(覆蓋 1200+ 案由,如民間借貸/買賣合同/信用卡/機動車交通事故/勞動爭議/刑事等)中按關鍵詞 + 結構化條件檢索,返回標題/法院/案由/日期/案號 + 中國裁判文書網原文連結(2026-07-22 實測 20/20 非空)。不返回判決全文(body_text 0/20),要全文用 search_judgments_full 或 browse_full_corpus。q 只匹配標題不匹配全文;寬泛的 q(單字詞)冷緩存下可能耗時數十秒,建議配合 reason / province 收窄。與 search_cases 區別:search_cases 僅勞動爭議且帶金額分位量化,本工具是全案由通用檢索。

ParametersJSON Schema
NameRequiredDescriptionDefault
qNo標題/當事人關鍵詞,空格分詞,如「工商銀行 信用卡」
courtNo法院名稱片段
limitNo返回條數,默認 20,最多 50
reasonNo案由,如 民間借貸糾紛/買賣合同糾紛/勞動爭議/機動車交通事故責任糾紛
year_toNo判決年份止
provinceNo省份,如 廣東省/北京市
year_fromNo判決年份起

TDQS

A4.8/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Discloses that body_text is never returned (0/20 tested), that q only matches title not full text, and that broad queries may be slow with cold cache. No annotations exist, so description fully carries the burden.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Single dense paragraph conveys all essential info. Could be slightly more structured (e.g., bullet points) but not verbose. Front-loaded with purpose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Without output schema, describes return fields (title, court, reason, date, case number, link). Covers purpose, limitations, performance, alternatives, and parameter tips. Complete for a complex search tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

All 7 parameters have schema descriptions (100% coverage). Description adds context: q's title-only matching, performance tip, and example values (e.g., '工商银行 信用卡'). Adds moderate value beyond schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Clearly states it is a general-purpose search over 1.2M+ Chinese judgments across 1200+ case types. Distinguishes from sibling search_cases (labor-only with quantification) and refers to search_judgments_full for full text.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit when-to-use (general case retrieval) and when-not (need full text). Recommends narrowing with reason/province for performance. Directs to alternatives (search_judgments_full, browse_full_corpus).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

search_judgments_fullA

全量類案檢索(真全量):按關鍵詞(標題)+ 省份 + 案由 + 法院 + 年份範圍跨集合檢索,返回標題/案號/案由/法院/省份/審判程序/裁判日期 + 判決全文 body_text。比 browse_full_corpus 多了關鍵詞/法院/年份過濾。⚠️本工具的 source_url 當前恆為 null(2026-07-22 實測廣東×民間借貸 20/20 全空,原文連結尚未隨 ES 側入庫;我們不拼接偽造鏈接)——不要對用戶宣稱本工具結果帶原文連結;需要可回鏈核驗時,改用 browse_full_corpus(全文+連結雙全)或 search_judgments(帶連結但無全文),或用 case_no + court + judgement_date 三欄位回中國裁判文書網自行核對。另:body_text 約 15% 為空,可看 has_full_text / body_text_len 判斷;q 只匹配標題,純關鍵詞查詢較慢,建議配合省份或案由縮小範圍。

ParametersJSON Schema
NameRequiredDescriptionDefault
qNo標題關鍵詞,如 工商銀行/房屋買賣/張某
pageNo
causeNo案由左前綴,如 民間借貸/勞動
courtNo法院名稱片段
yearToNo判決年份止,如 2023
pageSizeNo默認 20,最多 50
provinceNo省份,如 廣東/北京
yearFromNo判決年份起,如 2021

TDQS

A4.9/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries full burden. It discloses that source_url is always null (with specific test evidence), body_text is empty ~15% of the time, q only matches titles, and performance is slow without filters. These are critical behavioral traits beyond basic functionality.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is informative and well-structured with warnings and alternatives, but slightly verbose. Important caveats are bolded, and information is front-loaded. Could be tightened without losing value.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 8 parameters and no output schema, the description covers return fields, null behavior, empty text detection, performance, and sibling tool differences. Comprehensive for the tool's complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 88%; description adds meaning: q only matches titles, cause is left-prefix matching, pageSize defaults to 20 and max 50. This goes beyond what the schema properties provide.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it performs full-text judgment search with multiple filters (keyword, province, cause, court, year range). It directly contrasts with sibling tools browse_full_corpus and search_judgments, making the specific purpose unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly tells when to use this tool versus alternatives: mentions browse_full_corpus for links+full text, search_judgments for links without full text, and provides instructions for when source_url is null. Also advises narrowing search with province/cause for performance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 7 tool updatesv0.1.0
    • First observedbrowse_full_corpus
    • First observedcase_analytics
    • First observedcase_stats
    • First observedget_case
    • First observedsearch_cases
    • First observedsearch_judgments
    • First observedsearch_judgments_full

TDQS

A4.3/5.0
Disambiguation3/5

Several tools overlap in purpose (search_cases, search_judgments, browse_full_corpus, search_judgments_full all retrieve judgments but with different scopes and outputs). Descriptions are thorough but the overlap may confuse agents about which tool to use.

Naming Consistency2/5

Naming patterns are mixed: some use verb_noun (search_cases, search_judgments, search_judgments_full), others use noun_noun (case_stats, case_analytics) or verb_adjective_noun (browse_full_corpus). get_case uses a different verb.

Tool Count5/5

7 tools is well-scoped for a legal judgment research server, covering search, detail retrieval, browsing, full-text search, and analytics without unnecessary bloat.

Completeness4/5

The tool surface covers major operations for the domain (search, browse, full-text, analytics). Minor gaps exist (e.g., no combined labor+general search, no tool to verify source_url for full-text results), but agents can work around them.

Maintenance

ActivityMaintained
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • F
    license
    A
    quality
    C
    maintenance
    Enables semantic search and retrieval of Chinese judicial cases from the Supreme People's Court case library, supporting natural language queries for similar cases, case details, filtering, and statistics.
    8
    9
    -
  • F
    license
    Not graded
    quality
    D
    maintenance
    Provides AI assistants with up-to-date legal documents from official sources, enabling accurate legal information retrieval and analysis.
    17
    -
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables AI assistants to search and retrieve Korean laws, regulations, administrative rules, legal interpretations, and precedents via official APIs for legal review workflows.
    1
    MIT

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jack0752168/wenshucha-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server