Skip to main content
Glama
weileyao2005

cnki-deepsearch

by weileyao2005

cnki_professional_search

Perform CNKI professional searches using field-specific syntax (author, affiliation, subject, title, keywords, year) with Boolean operators, retrieving abstracts, references, citations, and more.

Instructions

使用CNKI专业检索语法直接搜索。格式:<字段代码><匹配运算符><检索值>,用AND/OR/NOT连接。

关键规则(不同字段用不同操作符,写错会导致搜索挂起):

  • AU(作者) 用 = 精确匹配,如 AU = '钱伟长'

  • AF(作者单位) 用 % 模糊匹配,如 AF % '清华大学'

  • SU(主题) 用 %= 相关匹配,如 SU %= '人工智能'

  • TI(篇名) 用 % 模糊匹配

  • KY(关键词) 用 = 精确匹配

  • YE(年份) 用比较式,如 YE >= '2020' AND YE <= '2024' 注意:YE BETWEEN ('a', 'b') 会被知网风控拦截(返回“暂无数据”),请勿使用

常见组合示例:

  • 作者+单位:AU = '马强' AND AF % '陕西师范大学'

  • 主题+年份:SU %= '流动穆斯林' AND YE >= '2010' AND YE <= '2025'

  • 关键词+作者:KY = '伊斯兰教' AND AU = '马强'

不确定操作符时先调用 cnki_syntax_guide 查看完整语法参考。

【使用须知,必读】

  1. 不要与其他 cnki 工具并行调用(串行锁,并行会超时)。

  2. 若返回"暂无数据,请稍后重试":风控拦截,等待 30-60 秒后重试,或简化表达式。

  3. 若返回"超时"错误:原样重试一次(服务会自动重建浏览器)。

  4. 年份条件用 YE >= '2020' AND YE <= '2024' 形式,绝不用 YE BETWEEN。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
expressionYesCNKI专业检索表达式。确保字段代码和匹配运算符正确配对。
max_resultsNo最大返回结果数,默认20

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

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 carries the full behavioral burden and succeeds: it discloses that wrong operators may hang the search, that '暂无数据' can indicate risk-control blocking rather than no results, that timeouts can be retried with browser rebuild, and that parallel calls timeout.

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 long but well organized: syntax rules, examples, syntax-guide referral, and a numbered operational notice. The content is mostly high-value, though the year rule is emphasized more than once and the overall length is substantial.

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?

For a syntax-driven tool with no annotations and no output schema, the description is remarkably complete. It covers field operators, correct expression forms, common failure modes, retry behavior, concurrency constraints, and where to get more syntax help, which is everything an agent needs to invoke it safely.

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 schema already covers both parameters, and the prose adds substantial value for expression: field-specific operators, quoting style, AND/OR/NOT composition, multi-field examples, and the YE BETWEEN warning. It adds nothing about max_results, but the default value and schema description are already sufficient there.

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 opening line identifies the exact action: searching CNKI directly using CNKI professional search syntax. The field/operator rules and examples make the tool clearly distinct from sibling tools like cnki_search or cnki_search_with_abstracts.

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

Usage Guidelines4/5

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

The description provides strong operational guidance: consult cnki_syntax_guide when unsure about operators and do not call other cnki tools in parallel. However, it does not explicitly state when to prefer this tool over alternative sibling search tools, so it stops short of a 5.

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