Skip to main content
Glama

batch_resolve_my_bugs

Batch-resolve ZenTao bugs through the real resolve API using shared structured solution details (root cause, fix approach, logic change, impact) and a required resolved build.

Instructions

Batch resolve my bugs via the real resolve API (default status=active, resolution=fixed). REQUIRES shared non-empty solutionModules {rootCause, fixApproach, logicChange, impact} — without it the batch will REJECT with an error. Plain comment/solution is no longer accepted. Requires resolvedBuild or ZENTAO_DEFAULT_RESOLVED_BUILD on instances that validate 解决版本. Prefer projectSetId or /my/bug for project-set scope.

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": "batch_resolve_my_bugs"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoDefault 1
pathNoOptional safe list path override. Allowed values: /bugs, /my/bug, /my/bugs.
limitNoList page size, default 50
statusNoDefault active
commentNoIGNORED for resolve — only solutionModules is accepted. This field only appends plain text to the action record if solutionModules is also present.
keywordNoOptional keyword filter before resolve
maxItemsNoMax resolve count, default 20
solutionNoIGNORED for resolve — only solutionModules is accepted. This field is kept for backward compatibility only.
productIdNoOptional product id (for instances requiring product scope)
projectIdNoOptional project id. Directly query /projects/{id}/bugs, no cross-project merge.
assignedToNoRecipient ZenTao account, not display name. Explicit value overrides ZENTAO_DEFAULT_ASSIGNED_TO; otherwise defaults to each Bug creator (openedBy). ZenTao sends @ notification only if this user has configured mobile/notification binding.
resolutionNoDefault fixed
stopOnErrorNoDefault true; stop on first resolve failure
projectSetIdNoOptional project-set id. Prefer this for project-set bugs, especially when the project set has no concrete project entries.
resolvedBuildNoShared 解决版本 for the batch. Falls back to ZENTAO_DEFAULT_RESOLVED_BUILD. Common value: trunk
solutionModulesNoREQUIRED — resolve WILL REJECT without it. Shared structured solution for the batch. Server formats into multi-line text with 【根因】【修复思路】【改动逻辑】【影响范围】. Write common root cause and shared logic changes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.1/5.0
Behavior5/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 so well: it discloses the hard rejection condition on missing solutionModules, that comment/solution are ignored, the env-var fallbacks for resolvedBuild and assignedTo, and the notification side effect tied to the assigned user. This is exactly the pre-call risk and side-effect information an agent needs before a mutation.

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?

Five dense sentences, front-loaded with the action and the hard requirement, with no filler. The parenthetical defaults and conditional clauses make it slightly choppy but every sentence carries information.

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 16-parameter mutation with no annotations and no output schema, the definition covers the critical failure modes, defaults, and scope selection. It omits what the tool returns on success and how partial batches report results beyond stopOnError, which leaves a modest gap.

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 description coverage is 100%, so the schema already documents all 16 parameters in detail. The description reinforces the load-bearing ones (solutionModules, resolvedBuild, projectSetId) and states defaults, but adds little semantic detail the schema does not already provide; baseline 3 applies.

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?

States a specific verb and resource ('Batch resolve my bugs') plus the backing mechanism ('the real resolve API') and the defaults applied (status=active, resolution=fixed). The 'batch' and 'my' qualifiers implicitly separate it from a single-bug resolve, but no sibling is named, so differentiation is inferred rather than stated.

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?

Gives concrete preconditions ('REQUIRES shared non-empty solutionModules... without it the batch will REJECT') and routing advice ('Prefer projectSetId or /my/bug for project-set scope'). It lacks an explicit 'use X instead when' statement against resolve_bug, so the when-not guidance is incomplete.

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