Skip to main content
Glama

get_task_status

Retrieve the execution status and progress of a Backstage scaffolder task, optionally with filtered logs, so you can monitor completion or debug failures after running a template.

Instructions

Get the execution status and progress of a Backstage scaffolder task. Poll this after run_template to monitor progress. Status will be 'processing', 'completed', 'failed', or 'cancelled'.

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>",
      "includeLogs": "<includeLogs>"
    },
    "name": "get_task_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskIdYesTask ID returned by run_template
includeLogsYesInclude filtered execution logs (errors, status changes, outputs). Useful for debugging failed tasks.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.8/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: it does disclose the polling pattern, the four terminal/intermediate statuses, and hints that includeLogs matters for failed tasks, which is real behavioral value. It does not say whether tasks or logs expire after some retention window, whether logs are truncated, or what else accompanies status besides logs, leaving the agent without guidance on failed polls or missing tasks.

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?

Three short sentences: purpose first, then the call-sequence guidance, then the value domain. Nothing is redundant and the most decision-relevant information 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?

For a simple two-parameter read tool with no output schema, the description covers what to do, when, and the possible status outcomes, which is close to sufficient. The only real shortfall is behavior on error or expired task IDs, which matters because the tool is meant to be polled.

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 coverage is 100%, so both parameters (taskId, includeLogs) are already documented in the schema, including that includeLogs targets errors and status changes for debugging. The description adds no parameter-level detail beyond that, 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 the execution status and progress of a Backstage scaffolder task') and names the enumerated status values, which pins down the returned domain. It relates itself to run_template but does not explicitly distinguish itself from list_tasks, which also deals with tasks.

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

Usage Guidelines4/5

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

Gives explicit timing guidance: 'Poll this after run_template to monitor progress,' which tells the agent this is a follow-up call on a known taskId rather than a discovery call. It offers no explicit when-not or a named alternative for enumerating tasks, so it stops short of full routing guidance.

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