Skip to main content
Glama

create_work_package

Destructive

Create a work package in OpenProject with payload validation and a preview mode that requires user approval before applying.

Instructions

Create a work package.

The tool validates the payload first. assignee: 'me' or numeric user id (e.g., 42). Call list_users to find ids. parent: internal id (e.g., 952) or display_id (e.g., "PROJ-51"), not UI display number to nest the new work package under a parent. estimated_time, remaining_time, duration accept ISO8601 duration strings (e.g., 'PT8H' for 8 hours, 'PT1H30M' for 1.5 hours, 'P1D' for 1 day, 'P2W' for 2 weeks). target_versions accepts a list of version names/ids to assign multiple target versions at once (OpenProject's multi-version feature); omit it, or pass [], to create with no target version assigned. target_versions and version write the same underlying data and cannot be used together in one call. due_date falling on a non-working day (e.g. a weekend) can be silently moved forward to the next working day by OpenProject; compare the request and the returned result.due_date if the exact calendar date matters. This server does not expose a way to opt out of that shift (OpenProject's own ignoreNonWorkingDays flag is not a write parameter here). A rejected validation preview is not a tool error; inspect ready and validation_errors in the result rather than the MCP error envelope. If you issue multiple create_work_package/create_subtask calls concurrently, OpenProject assigns IDs in server completion order, not call order; use bulk_create_work_packages instead when relative ID/creation order across a batch matters.

Input Schema

NameRequiredDescriptionDefault
typeYes
parentNo
confirmNofalse: preview only, nothing changes. true: applies it; get the user's approval of the preview first.
projectYesProject identifier, id, or name; a unique part of a name or identifier also matches.
subjectYes
versionNo
assigneeNo
categoryNo
due_dateNo
durationNo
priorityNo
start_dateNo
descriptionNo
responsibleNo
custom_fieldsNo
project_phaseNo
estimated_timeNo
remaining_timeNo
target_versionsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.4.4

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the destructive/openWorld/non-idempotent annotations, it discloses non-obvious behaviors: validation is previewed before applying, built-in due-date shifting on non-working days with no opt-out, non-tool-error validation rejections that surface in `ready`/`validation_errors`, and server-completion-order ID assignment. These are exactly the behavioral traits an agent could not infer from annotations or schema.

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?

Front-loaded with purpose, then a dense sequence of parameter and behavior notes; nearly every sentence carries unique information (duration examples, due-date shift, concurrency ordering). Some sentences are long and wrapped awkwardly, but nothing is filler.

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 exists, and the description compensates by telling the agent to inspect `ready`, `validation_errors`, and `result.due_date` in the result. For a 19-parameter mutation tool this is close to complete, with the main residual gap being coverage of structural fields (type, project, custom_fields) whose id/name resolution rules are unstated.

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?

With only 11% schema description coverage across 19 parameters, the description carries most of the burden and does well for the trickiest ones: parent id vs display_id, assignee 'me'/numeric with list_users lookup, ISO8601 duration syntax with examples, and the target_versions/version mutual exclusivity with an explicit empty-list semantic. Unexplained remain project, type, subject, priority, responsible, category, custom_fields, project_phase, and the preview/confirm workflow (though the schema documents confirm).

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?

The first line names the verb and resource directly ('Create a work package'), and later sentences distinguish it from create_subtask and bulk_create_work_packages in the concurrency/id-ordering context. It does not explain when to prefer create_subtask (child creation) over this tool, so differentiation from siblings is partial rather than complete.

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?

It gives concrete routing advice: call list_users to resolve assignee ids, and use bulk_create_work_packages when relative ID creation order across a batch matters. There is still no explicit guidance on create_subtask vs this tool for nested creation beyond the parent-parameter note, and no prerequisites/permission guidance.

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

Deploy Server

Other Tools