Skip to main content
Glama

Get task

get_task
Read-onlyIdempotent

Get one task by ID or identifier like PRO-42: title, description text, status, priority, dates, assignees, tags, project, subtask and checklist counts. Pass include to embed up to 20 subtasks or checklist items.

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

Input Schema

NameRequiredDescriptionDefault
taskIdYesTask ID or PRO-42 identifier.
includeNoParts to embed in the task: checklist (its items) or subtasks, up to 20 of each.
response_formatNoHow much to return. concise applies when omitted; detailed adds every field and the full text.

Output Schema

NameRequiredDescriptionDefault
idYesTask ID. Pass it as taskId.
tagsNoTags on the task, each with id, name and color.
titleYesTask title.
statusYesbacklog, todo, in_progress, perpetual, in_review, done or cancelled.
webUrlNoLink to the task in the app.
dueDateNoDue date in epoch ms. Absent when none is set.
projectNoThe task's project: id, name and color.
priorityYesnone, low, medium, high or urgent.
assigneesNoPeople assigned, each with id and name.
updatedAtNoWhen it last changed, in epoch ms.
identifierNoIdentifier such as PRO-42. Null or absent when the project has no prefix.
taskNumberNoThe task's number in the workspace.
commentCountNoNumber of comments. Null or absent when the count is not ready.
parentTaskIdNoParent task ID when this is a subtask.
descriptionTextNoDescription as plain text.
linkAttachmentsNoWeb links attached to the task, each with id, url, status and preview.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is fully covered. The description adds real behavioral context beyond them: the cap of 20 embedded subtasks or checklist items per include, and that response_format controls how much comes back.

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?

Two sentences, front-loaded with the lookup key and its accepted format, followed by the return shape and the embedding option. The long field list is informative rather than padding, and nothing is redundant.

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?

An output schema exists, so the description need not explain return values, and it still summarizes them usefully. Combined with full schema coverage and detailed annotations, the only remaining gap is routing guidance among sibling read tools.

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 100%, so all three parameters are already documented in the schema, including the PRO-42 format, the 20-item cap, and the concise default. The description restates these without adding new syntax or edge-case meaning, so the baseline of 3 applies.

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 ("Get one task by ID or identifier like PRO-42") and enumerates the fields returned, which signals it is a single-record fetch rather than a list or a specialized view like get_task_time. It does not explicitly name a sibling it competes with, so it falls just short of the top band.

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 identifier example and the "include" option suggest when to reach for it (single task, optional embedded children). There is no explicit when-to-use/when-not or pointer to alternatives such as list_task_comments or get_task_time for related data.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources