Skip to main content
Glama

Create PingCode Work Item

pingcode_create_work_item

Create a bug or requirement in PingCode with title, description, priority, assignee, parent, status, and custom properties. Use dryRun to preview before actual creation.

Instructions

创建单个缺陷/需求,必填标题,可选描述、优先级、负责人、父项、初始状态、属性。默认 dryRun=true,仅返回创建计划。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindNo工作项类型,默认 bug。bug
titleYes工作项标题(必填)。
dryRunNo默认 true,仅返回创建计划;传 false 才真正创建。
parentNo父工作项编号或内部 ID。
projectIdNoPingCode 项目 ID,提供后跳过项目标识查询。
propertiesNo自定义属性键值对。
statusNameNo初始状态名;不传则用类型默认初始态(推荐不传,避免流转校验失败)。
descriptionNo描述(支持 PingCode 富文本/文本)。
assigneeNameNo负责人姓名。
priorityNameNo优先级名称,如 普通、较高、最高。
projectIdentifierNoPingCode 项目标识,默认读取 PINGCODE_PROJECT_IDENTIFIER。
Behavior4/5

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

With no annotations provided, the description carries the full burden. It discloses the key behavioral trait: default dryRun=true only returns a creation plan, and false actually creates. It also warns about statusName causing validation failures. This is transparent but could be improved by noting permissions or irreversible actions when dryRun is false.

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?

The description is a single sentence, extremely concise, and front-loaded with the core purpose. Every phrase adds necessary information without redundancy.

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?

Given the tool's complexity (11 parameters, many siblings) and no output schema, the description covers the essential behavioral and parameter information. It mentions the dry run output ('仅返回创建计划'), which partially describes the return value, but a more explicit output structure would improve completeness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema provides full descriptions for all 11 parameters (100% coverage). The description adds value by summarizing the required/optional fields, the default dryRun, and the recommendation for statusName. This helps the agent prioritize the most important parameters.

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 clearly states that the tool creates a single bug or requirement ('创建单个缺陷/需求'), specifying the action and resource. It highlights the required title and optional fields, and the default dryRun behavior, making the purpose unmistakable.

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?

The description explains that by default dryRun=true returns only a plan, guiding users to use false for actual creation. It advises against passing statusName to avoid validation errors. However, it does not explicitly mention when to use this tool over siblings like pingcode_update_work_item_fields or pingcode_import_bugs.

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