Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ZENTAO_DEBUGNo向 stderr 输出诊断信息。false
ZENTAO_ACCOUNTYes账号。
ZENTAO_BASE_URLYes禅道部署地址,包含子目录时保留子目录,不包含 API 路径。
ZENTAO_PASSWORDYes密码。
ZENTAO_READ_ONLYNo`true` 隐藏并拒绝 Bug 写操作和附件上传;允许读取和本地下载。false
ZENTAO_API_PREFIXNoBug API 路径,相对部署地址。/api.php/v1
ZENTAO_PRODUCT_IDNo默认产品范围。
ZENTAO_PROJECT_IDNo默认项目范围。
ZENTAO_TOKEN_PATHNo认证路径,相对部署地址。${API_PREFIX}/tokens
ZENTAO_UPLOAD_PATHNo接受 REST v2 multipart 字段的上传路径。/api.php/v2/files
ZENTAO_MY_BUGS_PATHNo自定义“我的 Bug”路径。
ZENTAO_TOKEN_TTL_MSNoToken 缓存时长,毫秒。3000000
ZENTAO_PROJECT_SET_IDNo默认项目集范围。
ZENTAO_HTTP_TIMEOUT_MSNo单请求超时,1–300000 毫秒。30000
ZENTAO_MAX_UPLOAD_BYTESNo单个附件最大字节数,默认 50 MiB。52428800
ZENTAO_ALLOW_INSECURE_HTTPNo显式允许内网 HTTP。false
ZENTAO_BUGS_FALLBACK_PATHSNo逗号分隔的候选列表路径。
ZENTAO_DEFAULT_RESOLVED_BUILDNo默认解决版本。trunk
ZENTAO_PROJECT_SET_BUGS_PATHSNo项目集路径模板,支持 `{projectSetId}`。

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_tokenB

Get or refresh ZenTao API token (cached).

list_my_projectsC

List projects I participate in (heuristic filtering). Not reliable for project-set-only bugs when the project set has no concrete projects.

get_my_bugsA

List bugs assigned to me (supports status/keyword/limit/page filter). For project-set scope, prefer projectSetId or /my/bug instead of relying on list_my_projects.

get_bug_detailA

Get bug detail by ID.

get_bug_actionsA

Get bug action history by ID (activations/resolutions/comments with field-level changes). Same endpoint as get_bug_detail (/bugs/{id}) but returns the actions array instead of bug fields. Use when a bug was reactivated and you need the activation comment, or any action history. Returns {id, found, actions:[{id,actor,action,date,comment,history:[{field,old,new}]}], activation:{count,lastActor,lastDate,lastComment}|null, count}.

resolve_bugA

Resolve one bug by ID via POST /bugs/{id}/resolve. REQUIREs non-empty solutionModules {rootCause, fixApproach, logicChange, impact} — without it the resolve call will REJECT with an error. Plain comment/solution is no longer accepted. Many instances require resolvedBuild (解决版本); pass it or set ZENTAO_DEFAULT_RESOLVED_BUILD (e.g. trunk). Do NOT use raw HTTP PUT/edit as a resolve substitute — it only flips status without writing solution text.

batch_resolve_my_bugsA

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.

close_bugC

Close one bug by ID.

verify_bugA

Verify bug result: pass -> close, fail -> activate.

comment_bugA

Add a Bug comment without changing its fields or state. Accepts free text/HTML in comment or optional structured solutionModules. Uses the authenticated page action API and verifies the saved action.

upload_attachmentA

Upload a file (screenshot, log) and attach to a bug as visual evidence. Use after bug fix to provide screenshot proof.

download_attachmentA

Download a file/attachment from ZenTao by fileID and save to local disk. Uses API Token auth. Returns saved path and file size.

add_bug_commentA

Add an ordinary free-text/HTML Bug remark and verify it in action history. Does not resolve, reassign or edit Bug fields.

edit_bug_commentA

Edit an existing comment action belonging to this Bug. Get actionId from get_bug_actions first; cannot edit resolve/close/assign actions. Server permissions still apply.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.2/5.0

Scored across 14 tools

Disambiguation2/5

add_bug_comment and comment_bug are functionally near-identical (both add a plain comment without changing state), forcing the agent to guess; verify_bug also overlaps with close_bug since verify-pass closes the bug. get_bug_detail and get_bug_actions hit the same endpoint and require reading long descriptions to tell apart.

Naming Consistency4/5

Almost all tools follow verb_noun snake_case (get_bug_detail, resolve_bug, upload_attachment, batch_resolve_my_bugs). The lone deviation is comment_bug, which lacks a noun and breaks the pattern, contributing to its confusion with add_bug_comment.

Tool Count4/5

14 tools is a reasonable size for a bug-workflow server. However, a slot is wasted on a redundant comment tool, and the batch_resolve variant could arguably be a parameter rather than a separate tool.

Completeness2/5

The surface covers read, comment, resolve, verify, close and attachments, but there is no create_bug at all and no way to edit bug fields or reassign ownership, so an agent cannot originate or triage work. Scope is also limited to 'my' bugs/projects with no general search.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues