Skip to main content
Glama

EasyTerritory MCP

tasks_get

[Tier 2 — MCP Tasks mirror] Tool-only client equivalent of native tasks/get. Use only when this mirror appears in tools/list; Tasks-capable clients use tasks/get. Prerequisite: task_id from the immediately preceding async submission. Polling never starts work. next_action and sleep_ms sit on this document (the same fields as the submit result) and are repeated under _meta. Follow next_action exactly: sleep_and_poll means sleep the single authoritative sleep_ms value, call tasks_get once, then re-read both fields; consume_result means call tasks_result once now; stop_error means stop. status=cancelled is a user stop — do not resubmit the same tool unless asked. Never sleep on estimated_remaining_ms and never poll HTTP /result for status. While a task is still queued, _meta also carries queue_position (1-based within its worker lane), queue_depth, queue_lane (io|compute), and estimated_start_ms — report these to explain a wait; estimated_start_ms is advisory and never a sleep duration. The result is the same Task status document returned by native tasks/get. Scenarios: OP-002, tool-only MCP clients.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
task_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and discharges it: it discloses that polling never starts work, that sleep_ms is the single authoritative sleep value, that estimated_remaining_ms must never be used as a sleep duration, that status=cancelled is a user stop not to be resubmitted, and that _meta carries queue_position/queue_depth/queue_lane/estimated_start_ms for explaining waits.

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?

Dense and long, but the length is largely earned by the state-machine semantics (next_action vocabulary, queue metadata, anti-patterns) that an agent must follow. The mirror-vs-native constraint and prerequisite are front-loaded, though a couple of clauses (e.g., re-stating that next_action/sleep_ms are mirrored under _meta) are mildly redundant.

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?

An output schema exists, so return values needn't be enumerated, and the description even confirms 'The result is the same Task status document returned by native tasks/get.' Combined with the routing rules, prerequisites, and discouraged behaviors, an agent has everything needed to invoke and sequence this tool correctly.

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?

One required param with 0% schema description coverage, so the description must compensate, and it does: 'Prerequisite: task_id from the immediately preceding async submission' tells the agent exactly where the identifier comes from. It stops short of format specifics (e.g., string shape/length), so not a full 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?

The description names a specific verb+resource (retrieve the Task status document for a submitted async task) and explicitly frames itself as the 'tool-only client equivalent of native tasks/get.' It distinguishes itself from siblings tasks_result and tasks_cancel, telling the agent it is the polling/status read, not the result fetch or cancel.

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

Usage Guidelines5/5

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

It states when to use it ('Use only when this mirror appears in tools/list'), when not to (Tasks-capable clients use tasks/get), the prerequisite (task_id from the immediately preceding async submission), and routes each next_action value to the correct follow-up call (sleep_and_poll, consume_result, stop_error). Exclusions and alternatives are explicit.

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