Skip to main content
Glama

get_task

Read-onlyIdempotent

Retrieve the status of an async generation task, including progress, current and total steps, average step time, estimated remaining time, and a suggested poll interval.

Instructions

Get the current status of an async generation task. Returns progress info including current step, total steps, average step time, estimated remaining time, and a suggested poll interval based on generation speed.

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
taskIdYesThe task ID to get status for

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint=false, so the safety profile is covered. The description does earn credit by enumerating return contents (current step, total steps, avg step time, ETA, poll interval) since there is no output schema. However, it omits terminal-state behavior—whether a completed or failed task still returns progress fields, or where the actual result lives—which is the most important behavioral question for a polling tool.

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 purpose and then return payload. No filler or redundant restatement of the tool name.

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?

With no output schema, the description does the minimum by listing the progress fields, which is useful. But for a polling tool in a family containing get_task_result and cancel_task, it never states how an agent knows the task is finished or when to switch tools, leaving a real gap for correct multi-step invocation.

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 taskId parameter is fully documented in the schema, so the baseline is 3. The description adds no meaning about the parameter—no note on where task IDs come from or what happens with an unknown or expired ID.

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 the current status of an async generation task,' which clearly separates status polling from the sibling get_task_result that presumably fetches output. It stops short of naming that sibling explicitly, so the differentiation is implied 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 only implied by the mention of a 'suggested poll interval based on generation speed,' which hints this is meant to be polled during generation. There is no explicit when-to-use, no statement that get_task_result should be called instead once the task completes, and no guidance for cancel_task.

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