Skip to main content
Glama

create_task_with_subtasks

Create a parent task and multiple subtasks in one operation, with partial-failure details returned if any subtask fails.

Instructions

Create a task with multiple subtasks in one operation.

If a subtask fails, the parent and any already-created subtasks are returned with "partial": true and an "error" message so the caller knows the real state and can clean up if needed.

Args: list_id: The list ID to create the task in. name: Parent task name. subtasks: List of subtask names to create. description: Plain-text parent task description. Markdown syntax is shown literally; use markdown_content for rich formatting instead. markdown_content: Markdown-formatted parent description rendered as ClickUp rich text. Takes precedence over description. status: Status for the parent task. priority: Priority for the parent task (1=urgent, 2=high, 3=normal, 4=low). tags: Tags for the parent task.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "list_id": "<list_id>",
      "name": "<name>",
      "subtasks": "<subtasks>"
    },
    "name": "create_task_with_subtasks"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
tagsNo
statusNo
list_idYes
priorityNo
subtasksYes
descriptionNo
markdown_contentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does real work here: it discloses that the operation is not atomic, that the parent and already-created subtasks survive a failure, and that the response carries "partial": true plus an "error" message. That is genuinely useful state information a caller could not get from the schema. It omits auth requirements, side effects like notifications, and what a fully successful response contains.

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 the purpose sentence, followed by the failure-mode caveat, then a compact Args block. Every element earns its place, though the docstring formatting (double backticks, multi-line wrapped prose) is a raw code-doc artifact rather than clean agent-facing text.

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?

For an eight-parameter mutation tool with no annotations and no output schema, the description covers the parameter set fully and describes the failure return shape, which matters most since no output schema exists. The remaining gap is the success return shape and any permission or rate-limit context.

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

Parameters5/5

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

Schema description coverage is 0%, so the description must compensate, and it does: all eight parameters are explained, including the non-obvious priority mapping (1=urgent through 4=low) and the precedence rule that markdown_content overrides description. It also clarifies that subtasks are plain names rather than objects. This adds meaning well beyond the bare schema titles.

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?

Opens with a specific verb and resource plus a differentiator: 'Create a task with multiple subtasks in one operation.' This distinguishes it from the single-task sibling create_task by making the batch-of-subtasks scope explicit. It stops short of naming the sibling it replaces, so the differentiation is inferred rather than stated.

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

Usage Guidelines3/5

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

Usage is implied by 'in one operation' and by the partial-failure paragraph, which signals this is for callers who want task plus subtasks together. However, there is no explicit guidance on when to prefer this over calling create_task repeatedly, and no prerequisites such as required permissions or whether the list must already exist.

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