Skip to main content
Glama

cnki_journal_toc

Retrieve a CNKI journal's issue table of contents from its URL or exact title, covering latest/online-first, selected issues, or full-year traversal, plus paper details and login-free RSS.

Instructions

按知网期刊详情页 URL 或精确刊名获取期次论文目录(TOC),同时返回不过期的永久期刊主页(permanent_url)与免登录官方 RSS 2.0 订阅地址(rss_url)。支持获取最新期/网络首发、指定单期、同一年多期批量提取或全年各期遍历,返回每篇论文标题、作者、页码、栏目、详情链接及原版目录链接,可选下载原版封面目录 PDF(校园网内自动静默下载;非校园网未登录时桌面端自动弹出高校 CARSI 登录窗口待命续传,无界面环境可用 cnki-mcp --auth --carsi)。

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": {
      "journal": "<journal>"
    },
    "name": "cnki_journal_toc"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearNo目标年份(如 2025 或 '2025')。不传且未指定期号时默认获取当前最新一期或网络首发目录
issueNo单期期号(如 '1'、'01'、'第1期'、'No.01'、'S1')。指定 year 但未指定 issue/issues 且 all_issues_in_year=False 时默认取该年最新一期
issuesNo同一年内要批量提取的多个期号列表(如 ['01', '02', '03']),需配合 year 使用
journalYes期刊详情页 URL(navi.cnki.net/knavi/journals/<BASEID>/detail 或 navi.cnki.net/knavi/detail?...)或精确期刊名称(如'古汉语研究')
download_toc_pdfNo是否下载该期原版封面目录 PDF 到下载目录,默认 False
all_issues_in_yearNo是否批量遍历指定 year 下的全部可用期次,默认 False

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full burden and does so well: it discloses side effects (optional PDF download to a download directory), environment-dependent auth behavior (silent download on campus network, CARSI login popup on desktop when off-campus and unauthenticated, headless workaround via `cnki-mcp --auth --carsi`), and the non-expiring nature of permanent_url/rss_url. This is exactly the behavioral context an agent cannot get from structured fields.

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?

Purpose is front-loaded in the first clause, and every later clause adds new information (returns, modes, download side effects). It is a single very dense run-on sentence with stacked parentheticals, which slightly hurts scannability but does not waste 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?

For a 6-parameter tool with no output schema and no annotations, the description covers return fields, mode behavior, and auth/side-effect conditions thoroughly. It omits failure modes, rate limits, and any indication of result size or pagination for full-year traversal, which is the remaining gap.

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 the baseline is 3; the description still adds value by explaining the mode-selection logic across year/issue/issues/all_issues_in_year and by spelling out the campus-network/auth consequences of download_toc_pdf. Minor format ambiguity (accepted issue strings) is already covered in the schema.

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?

States a specific verb and resource ('获取期次论文目录(TOC)') plus the accepted inputs (detail-page URL or exact journal name) and the extra return values (permanent_url, rss_url). It does not explicitly contrast itself with siblings such as cnki_journal_detail or cnki_get_article, so the boundary is inferable rather than stated.

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 enumerates the four operating modes (latest/online-first, single issue, multi-issue batch within a year, full-year traversal) and states the defaults when year/issue are omitted, which effectively tells an agent which parameter combination selects which mode. It stops short of naming alternatives or when-not-to-use cases.

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