Skip to main content
Glama

列出文章

list_articles

List articles from a CSDN account. Use scope='published' for public posts (no cookie needed) or scope='all' to include drafts and get draft/publish counts (requires cookie).

Instructions

列出账号的文章。scope="published"(默认)走公开接口、不需要 Cookie,只含已发布文章;scope="all" 走作者后台接口、需要 Cookie,包含草稿,并在 counts 里给出 draft/publish 等分类计数——这是唯一能回答「我有哪些草稿」的口径(公开接口看不到草稿,get_article 又要先知道 id)。注意后台接口的每页条数由 CSDN 服务端固定,page_size 传入后可能被忽略,返回的 pageSize 是实际值。不要用它判断某篇文章是否发布成功——看不到不等于没发布,请用 verify_article。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNo
scopeNo
page_sizeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A4.9/5.0
Behavior5/5

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

With no annotations, the description discloses critical behavior: public vs cookie-required backend access, server-side page-size enforcement, actual pageSize in response, draft counts behavior, and the limitation that 'not seen' does not mean 'not published'. This fully compensates for missing annotations.

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?

Dense but every clause adds operational value: scope defaults, cookie requirements, draft visibility, server page-size behavior, and exclusion of publish verification. Information is front-loaded and no filler exists.

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

Completeness5/5

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

Given no output schema, the description still explains key response aspects (pageSize actual value, counts categories) and covers prerequisites, alternatives, and limitations. An agent has enough context to invoke and interpret the tool correctly.

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 description coverage is 0%, so the description must carry parameter meaning. It thoroughly explains scope semantics and page_size being potentially ignored, but does not explicitly describe the page parameter, though its pagination meaning is standard and schema-enforced.

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?

Description starts with a specific '列出账号的文章' (lists account articles) and clearly separates the two scopes: published via public API and all via author backend. This distinguishes it from siblings like get_article and verify_article.

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?

Explicitly states when to use scope='all' (to see drafts) and why it is the only way to answer 'what drafts do I have', noting get_article requires an ID. It also explicitly says not to use it to verify publish success and directs to verify_article instead.

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