Skip to main content
Glama
dannyvan

@dannyvan/zentao-mcp

by dannyvan

列出产品下的 Bug

zentao_list_bugs
Read-onlyIdempotent

List bugs for a product with optional status and assignee filters, returning paginated results.

Instructions

列出某产品下的 Bug,服务端分页。可选按状态/指派人过滤。

Args:

  • product (number): 产品 ID

  • limit (number): 每页条数 1-200,默认 50

  • page (number): 页码,从 1 开始,默认 1

  • status ('active'|'resolved'|'closed'): 可选

  • assigned_to (string): 可选,按指派人 account 过滤当前页

Returns: { product, page, limit, total, count, bugs: [...], has_more }

只读。禅道返回的 total 可能不准(随 limit 变),以翻页实际列出为准。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNo页码,从 1 开始
limitNo每页条数
statusNo按状态过滤,默认 all。注意默认不传时禅道只返回很窄的子集all
productYes产品 ID
assigned_toNo按指派人 account 过滤

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover readOnly, idempotent, and non-destructive behavior. The description adds valuable context: server-side pagination and a warning that the returned 'total' may be inaccurate and should be cross-checked via actual pagination. This goes beyond annotations and helps the agent interpret results correctly.

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 structured with a clear summary, Args list, Returns, and a note. It is front-loaded with the core purpose and key details, though the Args list duplicates the schema and could be trimmed. Overall it is efficient and well-organized.

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 list tool with 5 parameters and no output schema, the description provides the return structure, pagination behavior, and a caution about the total field. It covers the essential operational aspects an agent needs, though it omits error handling or authentication details, which may be assumed.

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 schema has 100% parameter description coverage, so the baseline is 3. The description repeats the Args list but adds a nuance for assigned_to ('过滤当前页') and clarifies that status is optional (though the schema already does). It does not significantly enhance parameter understanding beyond the schema.

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 verb (列出/list), the resource (Bug), and the scope (某产品下/under a product), making it distinct from siblings like get (single bug) and search (likely broader). It also mentions server-side pagination and optional filters, which further distinguishes its purpose.

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 explains how to use the tool (pagination, filters, read-only) but does not explicitly state when to prefer it over alternatives such as zentao_search_bugs or zentao_get_bug. The read-only and pagination details are useful, but no direct comparison or exclusion criteria are provided.

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