Skip to main content
Glama

get_task_status

Read-only

Read only tasks created by this agent connection, including durable creation and expansion partial outcomes even when execution fails. While a creation runs, progress gives the last completed step and its step_index of step_count; null before the first step finishes. wait_seconds holds the call until the task changes or ends, up to that many seconds; use it instead of sleeping between polls.

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_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
task_idYes
wait_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Adds substantial behavior beyond the annotations: the read is scoped to tasks owned by this agent connection, partial outcomes are surfaced even when execution fails, progress is null until the first step completes, and wait_seconds holds the call up to a bounded time. With readOnlyHint/openWorldHint already declared, the remaining gap is minor—it never characterizes terminal states or the shape of a completed task.

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 compact sentences, each doing distinct work: ownership scope, outcome coverage, progress semantics, and polling behavior. The scope constraint is front-loaded and there is no filler.

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?

With no output schema, the description correctly compensates by documenting the return fields an agent needs (progress, step_index, step_count, partial outcomes on failure) plus the polling contract. An agent can call this correctly and interpret the response without further documentation.

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 coverage is 0%, so the description carries the load, and it explains wait_seconds thoroughly (long-poll semantics, bound, and rationale versus sleeping). task_id is only defined indirectly via the ownership scoping sentence, so one of two parameters remains implicit—hence not a 5.

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?

States a specific verb and resource ('Read ... tasks created by this agent connection') and scopes it precisely to creation and expansion tasks, including partial outcomes on failure. This distinguishes it cleanly from campaign-level siblings like get_campaign or get_campaign_performance without needing to name them.

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 guidance for the polling pattern: use wait_seconds 'instead of sleeping between polls,' and implies use while a creation/expansion runs. It does not state when-not to use this tool or point to an alternative for other task types, so the routing picture is clear but not exhaustive.

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