Skip to main content
Glama

cnki_download

Downloads CNKI paper full-text PDFs from a detail-page URL and saves them to the download directory, using campus access or CARSI authentication for login-restricted articles.

Instructions

下载知网论文全文 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": {
      "url": "<url>"
    },
    "name": "cnki_download"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes知网论文详情页 URL

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

No annotations are provided, so the description has to carry the full burden, and it largely does: it discloses that the file is saved to a local download directory, that campus-network access is silent, that the desktop client shows a CARSI prompt and then resumes the download, and that headless environments need cnki-mcp --auth --carsi. It does not specify what happens on failure or whether the file path is returned, which keeps this from being a 5.

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?

Two densely packed sentences with the core action front-loaded and the authorization fallbacks after it. Every clause carries information; the parenthetical about headless authentication is slightly intrusive, but it is not padding.

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

Completeness3/5

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

There is no output schema, and the description never says what the tool returns, such as a saved file path or a status object, which matters for a download tool the agent must act on afterward. The authentication paths are well covered, but the return contract gap leaves this merely adequate.

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?

There is only one parameter, and the schema already documents it at 100% coverage as the CNKI article detail-page URL. The description adds no further meaning about the URL format or accepted variants, so the baseline of 3 applies.

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 description states a specific verb and resource: download the full-text PDF of a CNKI paper and save it to the download directory. That is clearly distinct from the sibling search/metadata tools. It stops short of naming a neighboring tool it could be confused with, such as cnki_get_article, so the agent must infer that this is the only tool that downloads a full PDF.

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?

The description covers the access conditions: on campus it downloads silently, and off campus the desktop client shows a CARSI login and then resumes. That helps the agent anticipate authentication. However, there is no statement about when to choose this tool over cnki_get_article or when full-text acquisition is appropriate, so usable guidance is implied rather than explicit.

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