Skip to main content
Glama

Get PingCode Work Item

pingcode_get_work_item

Fetch complete details of a defect or requirement from PingCode by work item ID or identifier, including description, attributes, images, and optionally comments.

Instructions

按编号或工作项 ID 获取单个缺陷/需求的完整详情(描述、时间、父项、属性、图片),可选附带评论。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindNo工作项类型,默认 bug。bug
projectIdNoPingCode 项目 ID,提供后跳过项目标识查询。
identifierNo工作项编号,如 PROJ-455。
workItemIdNoPingCode 工作项内部 ID,提供后优先于 identifier。
includeImagesNo是否请求 public_image_token 并解析富文本图片,默认 true。
includeCommentsNo是否一并返回评论列表,默认 false。
projectIdentifierNoPingCode 项目标识,默认读取 PINGCODE_PROJECT_IDENTIFIER。
Behavior2/5

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

No annotations provided, so description carries full burden. It does not disclose authentication needs, error behavior, or what happens if identifier is invalid. It only mentions optional comments and image inclusion, but lacks other behavioral traits.

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?

Single sentence that front-loads the key action and optional features. No wasted words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 7 optional parameters and no output schema, the description should clarify usage context, such as how identifier and workItemId relate, or the role of projectId and projectIdentifier. The current description omits these, leaving gaps for a comprehensive understanding.

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% with detailed parameter descriptions. The description adds a summary of the tool's purpose (getting full details with optional comments) but does not provide additional meaning beyond what the schema already states.

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 specifies the exact action (get complete details of a single bug/requirement) and resource (work item), with optional comments. It contrasts with sibling tools like pingcode_list_bugs which list multiple items, and pingcode_search_work_items for search.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No explicit guidance on when to use this tool vs alternatives such as pingcode_list_work_item_comments for comments or pingcode_search_work_items. No when-not-to-use or prerequisite conditions.

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/frontendRicky/pingcode-mcp'

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