Skip to main content
Glama

Get Task Status

get_task_status
Read-onlyIdempotent

Read one of your long running Switch tasks by its id: where it stands, and what it made once it is finished. Use the task id an earlier answer gave you (from a batch, or from your Switch Agent, for example when it reverse engineers a video). Free. If it is still working, wait about a minute and ask again.

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_idYesThe task id from an earlier answer.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, so the safety profile is covered. The description still adds real context the annotations don't: the call is free, results are partial while running and complete when finished, and there is a recommended retry cadence. It says nothing about retention or what happens if the id is unknown or expired.

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?

Four short sentences, front-loaded with what is read and what is returned, then the id source, then the polling hint. Every sentence carries information; the fragment 'Free.' is terse but does convey a useful cost signal.

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 one parameter, no nested objects and no output schema, the description carries the burden of describing return values and does so at a useful level ('where it stands, and what it made once it is finished'). What is missing is failure handling and how to distinguish this generic reader from the specialized status siblings.

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?

There is a single parameter with 100% schema description coverage, so the schema already documents it. The description only restates the same provenance idea ('the task id an earlier answer gave you') with slightly more color about where such ids originate, adding marginal value. Baseline 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 ('read ... Switch tasks by its id') and describes both facets of the return: current state and final output. It does not tell the agent how it relates to the many specialized status siblings (get_video_status, get_audio_status, check_job_status), so the reader must infer that this is the generic task reader.

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 concrete entry conditions (use the task id from an earlier answer, whether from a batch or from the Switch Agent) and explicit polling advice ('if it is still working, wait about a minute and ask again'). It stops short of exclusions, e.g. when to prefer a domain-specific status tool over this one.

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