Skip to main content
Glama

上传图片并追加到 TAPD 缺陷描述

tapd_append_bug_description_image

Append an image to a TAPD bug description by uploading it and merging with existing text, preventing overwrites. Supports common image formats under 5MB.

Instructions

一步完成:上传图片 → 读取缺陷当前描述 → 把图片追加到描述末尾后整体回写。先读后写避免覆盖原有正文。仅支持 png/gif/jpg/jpeg/bmp、单张 ≤5MB。图片上传成功但描述写入失败时会明确提示(此时图片已上传,可改用 tapd_writeback 手动写回)。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bug_idYesTAPD 缺陷 ID
filenameYes文件名,后缀须为 png/gif/jpg/jpeg/bmp
confirmedYes必须为 true,表示用户已明确确认上传图片并修改缺陷描述
file_base64Yes图片内容的 base64 编码,可带或不带 data:URI 前缀
content_typeNo可选,图片 MIME 类型,如 image/png
workspace_idYesTAPD 项目 ID(必填)。可先用 tapd_list_bugs / tapd_list_stories 跨项目查询,或 tapd_list_workspaces 获取目标项目 ID
Behavior4/5

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

No annotations provided, so description bears full burden. Discloses read-then-write strategy to avoid overwrite, file type/size limits, and error handling for write failure. Could mention idempotency or concurrency, but sufficient for safe use.

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?

Concise paragraph: first sentence summarizes action, then details constraints and error behavior. No filler, every sentence adds value.

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?

No output schema, but description explains partial failure. Lacks return value details (e.g., what is returned on success). For a mutation tool with error handling, this is adequate but not exhaustive.

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%, baseline 3. Description adds minor context: file_base64 can include data URI, workspace_id can be obtained via other tools. Does not significantly enhance schema info.

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 explicitly states the multi-step action: upload image, read current description, append image, and write back. It distinguishes from siblings like tapd_upload_bug_image (upload only) and tapd_writeback (manual write).

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?

Clear context: used for appending images to bug descriptions without overwriting. Mentions fallback to tapd_writeback on write failure. However, lacks explicit when-not-to-use or comparison to all siblings (e.g., tapd_upload_bug_attachment).

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sun-jingtao/tapd-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server