Skip to main content
Glama

知网检索

cnki_search

Search CNKI by keyword, title, author, or abstract and get titles, authors, sources, dates, citations, downloads, and detail URLs. Filter by year and database; cached, quota-limited results.

Instructions

检索中国知网(CNKI)。返回题名、作者、来源刊、发表时间、被引、下载量与详情页 URL。慢速串行、带 24h 缓存与每日配额。

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "keyword": "<keyword>"
    },
    "name": "cnki_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNo排序:相关度 / 发表时间倒序relevance
keywordYes检索词
year_toNo截止年份(本地过滤)
page_numNo页码(先用第 1 页,再翻页)
resourceNo按数据库类型过滤(本地过滤,如 ['期刊'])
page_sizeNo每页条数
use_cacheNo是否使用 24h 查询缓存
year_fromNo起始年份(本地过滤)
search_typeNo检索项:SU 主题 / TI 篇名 / AU 作者 / KY 关键词 / AB 摘要 / FT 全文SU

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose substantive traits: serial/slow execution, a 24h query cache, and a daily quota — the quota line is especially valuable since it implies calls can fail. It stops short of stating what an exhausted quota or failed query looks like, and says nothing about authentication or retry behavior.

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?

Three short sentences: purpose first, return shape second, operating constraints third — every clause carries information, with no filler or repetition of the title.

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 nine-parameter search with no output schema, the description usefully enumerates the returned fields and flags the cost model (cache, quota, serial execution), which is what an agent most needs before calling. The remaining gap is routing guidance among the four cnki_* siblings and any indication of failure/pagination behavior.

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 description coverage is 100%, so all nine parameters including enums for sort, resource, page_size, and search_type are already documented in the schema; the description adds no per-parameter meaning. The mention of a 24h cache loosely corresponds to use_cache, but the schema already covers it.

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

Purpose4/5

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

The opening sentence pairs a specific verb (检索) with the concrete resource (中国知网/CNKI), and the second sentence enumerates exactly what comes back (题名、作者、来源刊、发表时间、被引、下载量、详情页 URL). This clearly separates it from cnki_get_paper_detail and cnki_cite, though it never explicitly names those siblings as alternatives.

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

Usage Guidelines3/5

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

Usage is only implied: the verb '检索' plus the note that the tool is slow, serial, and quota-limited signals 'use sparingly, prefer cache,' but there is no explicit when-to-use or when-not-to-use rule. Nothing tells the agent to go to cnki_get_paper_detail for a single known paper or to cnki_cite for citation data.

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