Skip to main content
Glama

get_task

Retrieve a single ClickUp task by its ID to view its details, with the option to include or exclude subtasks.

Instructions

Get a single task by ID, optionally with subtasks.

Args: task_id: The task ID. include_subtasks: Whether to include subtasks.

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": {
      "task_id": "<task_id>"
    },
    "name": "get_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
task_idYes
include_subtasksNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; "Get" implies a safe read, and "optionally with subtasks" discloses a meaningful behavioral switch. However, it says nothing about permissions, behavior when the ID is invalid or missing, or how subtasks appear in the result, so it only partially covers the behavioral surface.

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?

One front-loaded sentence plus a compact args block; nothing is wasted. The docstring-style "Args:" formatting is slightly mechanical but does not impede scanning.

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 simple two-parameter read tool with no output schema, the definition is serviceable but leaves gaps: return shape (task fields, how subtasks are nested) and failure behavior are undefined. An agent could call it correctly but cannot predict the response.

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 description coverage is 0%, so the description must compensate, and it does so only thinly: "The task ID" restates the parameter name, while "Whether to include subtasks" adds a little meaning beyond the schema's default of true. Neither parameter gets format, example, or effect detail.

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?

"Get a single task by ID" states a specific verb and resource, and "single" distinguishes it from the sibling list tool get_tasks. It stops short of naming an alternative explicitly, but the purpose is unmistakable.

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 only implied: the phrase "by ID" signals you must already know the task identifier, and "optionally with subtasks" hints at when to set the flag. There is no explicit when-to-use/when-not guidance or reference to alternatives such as get_tasks for listing.

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