Skip to main content
Glama

zentao_next

Fetch the next ZenTao defect to fix, filter out ineligible tickets, and return a full context package; return stop with a summary when no work remains or limits are reached.

Instructions

【核心循环】取「下一条该修的缺陷」,或告诉智能体停下来。会自动:拉取缺陷 → 跳过改数据的(需求④)→ 跳过没配仓库/超策略的 → 挑一条按优先级排序 → 返回完整上下文包。当没有可修的、或达到本轮上限、或连续失败过多时,返回 action="stop" 并附汇总(需求⑤)。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "zentao_next"
  }
}

Input Schema

NameRequiredDescriptionDefault
runIdNo轮次 ID;不传则用最近一轮,没有就新开一轮
dryRunNo只看会挑哪条,不改动轮次状态
restartNotrue=不管有没有旧轮次,直接开新一轮

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it discloses the internal pipeline (pull → skip data-modifying bugs → skip unconfigured-repo/over-policy bugs → pick by priority → return context package) and the exact stop contract including the summary payload. Gaps remain: it never says the call advances/consumes round state (only dryRun hints at that), and '完整上下文包' contents are never described.

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 text is front-loaded with the core-loop tag and then a single arrow-chained sentence describing the flow, followed by the stop contract; nothing is padding. The '(需求④)'/'(需求⑤)' references are opaque internal labels that add no value to an agent reading the definition in isolation.

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 3-parameter, all-optional tool with no annotations and no output schema, the description covers the decision logic and the non-success return shape well enough to call it correctly. It stops short of describing what a successful 'context package' contains, which is the main remaining unknown for an output-schema-less tool, but the overall picture is coherent.

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?

Schema coverage is 100%, so runId, dryRun and restart are already fully documented in the schema, and the description adds no additional semantics for any of them. The baseline 3 applies — the schema, not the prose, does the parameter work.

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 concrete verb and resource ('fetch the next bug that should be fixed') and even gives the dual outcome (a bug, or action="stop"), which tells an agent exactly what the tool produces. It does not name or contrast any sibling such as zentao_bugs or zentao_run, so an agent cannot tell from the text alone which of those to prefer.

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?

Usage is implied by the 【核心循环】 tag and by spelling out the stop conditions (nothing fixable, round cap reached, too many consecutive failures), which is genuinely useful decision context. However, there is no explicit 'use this instead of X' guidance and no statement of prerequisites (e.g. login/config requirements), so the agent must infer when this is the right entry point.

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