Skip to main content
Glama

get_task

Idempotent

Retrieve a task by ID to inspect its status, priority, blockers, and optional details such as description, version, project, or subtasks; limit long fields with max_field_chars.

Instructions

Brief default: id,title,status,priority,blocked_by. More via fields — description, version, project, subtasks (epic roll-up); null fields are omitted. max_field_chars truncates long strings with a …(+N chars) marker. By-id: no project argument.

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

Input Schema

NameRequiredDescriptionDefault
idYes
fieldsNo
max_field_charsNotruncate each string field to N code points, marker …(+N chars); omitted = full text

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

The description adds real behavioral knowledge beyond the annotations: the default field projection, that null fields are omitted, that subtasks represent an epic roll-up, and how truncation is marked. However, annotations declare readOnlyHint=false on what appears to be a read operation, and the description offers no explanation of any side effect or permission requirement, which is a notable gap for a tool whose safety profile is non-obvious.

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?

Four terse clauses, each carrying distinct information: default projection, expanded projection, truncation behavior, and the id-scoping note. Nothing is redundant and the most important fact — the cheap default field set — is front-loaded.

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?

With no output schema, the description must explain return values and largely does: it enumerates the default fields, the optional extras, null omission, and truncation. It falls short only on error behavior for an unknown id and on why the tool is not flagged read-only.

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

Parameters4/5

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

Schema description coverage is only 33% (only max_field_chars is documented in the schema), and the description compensates well by naming the additional fields available and restating the truncation marker in user-facing terms. The id parameter is covered only indirectly via 'By-id', leaving its semantics slightly implicit.

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?

The description makes clear this retrieves a single task by id and focuses on the returned field set ('Brief default: id,title,status,priority,blocked_by'), with 'By-id: no project argument' implicitly contrasting it with list-style siblings. The verb itself is never stated outright — an agent relies on the name 'get_task' to know this is a fetch — but the resource and scope are unambiguous.

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 reader infers this is for fetching one task when you know its id, and 'More via fields' hints at when to request extra data. There is no explicit when-to-use versus alternatives such as list_tasks or get_timeline, and no mention of what happens if the id does not exist.

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