Skip to main content
Glama

Get task details

get_task
Read-onlyIdempotent

Get one task in full: everything list_tasks gives plus the whole description (Markdown as written, including '- [ ]' lists, links and requirement numbers), the checklist (each step's id, text, done flag and position) and the latest 20 comments (author, text, time; comments_total is the full count). Use it before summarising a task, before extending its description with update_task, to find the checklist item ids that set_checklist_item needs, or to turn '- [ ]' lines of the description into a real checklist with add_checklist_items. Needs the numeric task id. A task the user follows as an observer comes marked access='observer' (read only). Read-only.

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_idYesNumeric task id (from `list_tasks`, `get_project`, `list_observed_tasks` or `create_task`).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover readOnly/idempotent/non-destructive, but the description adds real behavior: comments are capped at the latest 20 while comments_total carries the full count, and observer-followed tasks come marked access='observer' (read only). These are non-obvious traits not present in structured fields, though response shape/pagination beyond comments is only partially covered.

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 core verb phrase, then progressively narrower detail; nearly every clause carries routing or return-content information. Slightly dense enumeration ("'- [ ]' lists, links and requirement numbers") could be trimmed without loss.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, so the description carries the return-value burden and does it: it enumerates description, checklist fields (id, text, done, position), comment fields and totals, plus the observer access flag. For a one-parameter read tool this is fully sufficient.

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% and the single task_id parameter already documents its numeric type and valid sources. The description only restates "Needs the numeric task id", adding emphasis but no new meaning beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Get one task in full" states a specific verb and resource, then immediately differentiates it from sibling list_tasks by naming exactly what it adds (full description, checklist, latest 20 comments). An agent can distinguish it from list_tasks/get_project without opening a schema.

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

Usage Guidelines5/5

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

Names four concrete situations to use it (before summarising, before update_task, to find checklist item ids for set_checklist_item, to convert '- [ ]' lines via add_checklist_items), each tied to the sibling tool it pairs with. No exclusions are omitted that matter for a read-only fetch.

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