Skip to main content
Glama

create_subtask

Destructive

Creates a subtask under an existing work package, previewing changes first and applying them only after confirmation.

Instructions

Create a subtask under an existing work package.

The tool validates the payload first. Concurrent calls to this tool (or create_work_package) do not preserve call order in the resulting IDs; use bulk_create_work_packages when order across several new items matters. target_versions accepts a list of version names/ids to assign multiple target versions at once (OpenProject's multi-version feature). target_versions and version write the same underlying data and cannot be used together in one call.

Input Schema

NameRequiredDescriptionDefault
typeYes
confirmNofalse: preview only, nothing changes. true: applies it; get the user's approval of the preview first.
subjectYes
versionNo
assigneeNo
categoryNo
due_dateNo
priorityNo
start_dateNo
descriptionNo
responsibleNo
custom_fieldsNo
project_phaseNo
target_versionsNo
parent_work_package_idYesWork package id (e.g. 952) or display id (e.g. "PROJ-51"), not the bare number 51.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.4.4

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare a destructive, non-idempotent, open-world write, so the bar is lower; the description still adds real behavior beyond them — payload validation before writing, the non-deterministic ID ordering under concurrency, and the mutually exclusive version fields. It omits the preview/confirm workflow (only documented in the confirm parameter) and says nothing about permissions or what a validation failure looks like.

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?

Purpose is front-loaded in the first sentence and each following sentence adds a distinct constraint (validation, ordering, version exclusivity) with no filler. The mid-sentence line breaks make it slightly harder to scan, but nothing is redundant.

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?

For a 15-parameter mutation with no output schema, the description covers the tricky interactions but leaves the agent without guidance on the preview-then-confirm flow at the top level, on which of the many optional fields are typically required, or on failure behavior. Adequate but clearly incomplete for this schema size.

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

Parameters2/5

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

With 15 parameters and only 13% schema description coverage, the description must compensate and largely does not. It explains target_versions (multi-version assignment) and its exclusivity with version, but the other thirteen parameters — type, subject, assignee, category, priority, dates, responsible, custom_fields, project_phase, confirm — get no semantics at all.

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?

States a specific verb and resource ('Create a subtask') and pins it to a required parent ('under an existing work package'), which distinguishes it from the generic create_work_package sibling. It does not explicitly say 'use create_work_package for top-level items', so the sibling boundary is implied by the parent requirement rather than spelled out.

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?

Gives concrete routing guidance: use bulk_create_work_packages when ordering across several new items matters, and target_versions vs version cannot be combined. It does not state prerequisites such as required permissions or when a subtask should be created versus a child work package via create_work_package.

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