Skip to main content
Glama
weileyao2005

cnki-deepsearch

by weileyao2005

cnki_co_read

Extracts content from a browser tab (default current), structuring it by page type: search results show metadata, articles show abstract/DOI, others show plain text. Works in background without stealing focus.

Instructions

读取协作浏览器中指定标签页(默认用户当前页)的内容,按页面类型结构化返回:

  • 搜索结果页 → results[](题名/作者/来源/时间/类型/被引)

  • 文章详情页 → detail(标题/作者/摘要/关键词/DOI)

  • 其他页面 → text(正文文本)

读取是后台操作,不会切换用户的窗口焦点。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
indexNo标签页序号;不传则读用户当前页
max_charsNo文本型页面的最大字符数,默认6000

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

A4.4/5.0
Behavior5/5

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

The description is transparent about side effects: it states it is a read operation performed in the background and explicitly notes it will not switch the user's window focus. This assures safe usage with no destructive actions, and no annotations contradict this 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?

The description is concise and well-structured, using a bullet-like list to clearly present the three possible return types. It avoids unnecessary details and is easy for an agent to parse and act upon.

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?

The description provides sufficient context for typical usage, including return types, default tab behavior, and the background nature. It does not address edge cases like invalid tab indexes or unrecognized page types, but these are not critical for an agent's effective use of the tool.

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 already fully describes both parameters (index with default current tab, max_chars with default 6000). The description does not add extra semantic information beyond what the schema provides, so a baseline score of 3 is appropriate.

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 clearly states the tool's function: to read the content of a specified tab (default current tab) in a collaborative browser, and it explicitly lists the structured return formats for different page types. It distinguishes itself from sibling tools by highlighting it is a background operation that does not switch the user's focus.

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 a strong differentiator—it operates in the background without changing focus—and indicates it reads from a tab, which implicitly guides when to use it (e.g., to extract content while keeping the user's view unchanged). However, it does not explicitly contrast with sibling tools like cnki_co_switch or cnki_co_click.

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