Skip to main content
Glama

Prepare Browser Profile

prepare_browser_profile

Copies your everyday Chrome profile once so CNKI requests carry trusted browser state and trigger fewer verification checks; quit Chrome first. Without it, the MCP falls back to an isolated profile.

Instructions

一次性准备:把日常 Chrome 档案复制给本工具,降低知网风控。

独立档案没有浏览历史、Cookie 和扩展,在知网眼里是陌生设备,更容易弹验证。 复制一份日常档案过来,就能带上真实的信任状态。只需要做一次, 之后重启电脑、重启 Chrome 都不用重复。

这是可选的:不做也能用,MCP 会回退到独立档案,只是更容易触发验证。

调用前请先完全退出 Chrome(macOS 按 ⌘Q),否则复制出来的档案不完整。 如果返回 status=chrome_running,提示用户退出 Chrome 后再次调用本工具即可。

也可以由用户自己在终端跑 cnr-prepare,效果相同。

Input Schema

NameRequiredDescriptionDefault
forceNo已存在时是否覆盖重做。默认 false,只在首次准备时用。

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.32.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden and does well: it explains the copy behavior, why it reduces verification risk, the fallback to an independent profile, and the Chrome-must-be-quit prerequisite. It does not disclose whether the source Chrome profile is modified or where the copied profile is stored, which leaves a minor transparency gap.

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 reasonably front-loaded: purpose, rationale, optionality, prerequisite, error handling, and alternative are ordered logically. There is slight repetition around the one-time nature, but it remains useful rather than bloated.

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?

An output schema exists, so the description does not need to explain return values. For this simple zero-required-parameter setup tool, it covers the important operational context: optionality, fallback behavior, Chrome shutdown prerequisite, and retry condition. Minor missing context includes privacy implications of copying the Chrome profile.

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?

The input schema fully documents the single optional force parameter, so the baseline is 3. The description does not add parameter-specific guidance beyond the schema; it focuses on setup behavior and error handling instead.

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 states a specific setup action: copying the user's everyday Chrome profile so this tool can reduce CNKI risk-control verification. It clearly distinguishes this preparation utility from the sibling paper search/read/download tools by describing a one-time browser-profile setup task.

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?

It explicitly says the tool is optional, only needs to be run once, and should be used before fully quitting Chrome. It also explains the fallback if skipped, the meaning of status=chrome_running, and the equivalent terminal command.

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