Skip to main content
Glama

gateway.tasks_get

Get the current status of a downstream MCP task using its server name and task ID to monitor progress or completion.

Instructions

Get current status for one downstream MCP task.

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": {
      "server_name": "<server_name>",
      "task_id": "<task_id>"
    },
    "name": "gateway.tasks_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
task_idYesOpaque downstream task ID
server_nameYesServer that owns the task
requestor_contextNoOpaque requestor context forwarded downstream

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv3.0.1
    • addedInput schema / properties / requestor_context
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": true,
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Opaque requestor context forwarded downstream"
      +}
    • addedInput schema / properties / server_name / description
      Added value: +"Server that owns the task"
    • addedInput schema / properties / server_name / minLength
      Added value: +1
    • addedInput schema / properties / task_id / description
      Added value: +"Opaque downstream task ID"
    • addedInput schema / properties / task_id / minLength
      Added value: +1
  2. First observedv1.18.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it never confirms this is a read-only, non-mutating call, nor what happens when task_id or server_name is unknown or the task has expired. It also says nothing about how requestor_context is forwarded downstream or what "status" values can be returned, despite there being no output schema.

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?

A single front-loaded sentence with no filler, so nothing is wasted. It is arguably too terse for a tool with no annotations and no output schema, but the wording itself is clean.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no annotations and no output schema, the description is the only source of behavioral and return-value information, and it provides neither: an agent cannot tell what a status response contains, whether the call is safe to repeat, or how the result relates to gateway.tasks_result. It is underspecified for the tool's role in the task lifecycle.

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 all three parameters carry their own descriptions, so the schema already explains server_name, task_id, and requestor_context. The description adds no additional meaning such as whether task_id is scoped to the server or globally unique. 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?

"Get current status for one downstream MCP task" gives a specific verb (get) and resource (task status), and the word "one" implicitly contrasts with the list-shaped siblings gateway.tasks_list and gateway.tasks_result. It stops short of naming those siblings, so the boundary must be inferred from their names.

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

Usage Guidelines2/5

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

There is no statement of when to call this instead of gateway.tasks_result, gateway.tasks_list, or gateway.tasks_cancel, and no guidance on whether it is appropriate to poll for pending tasks. Usage is only implied by the tool name and the phrase "current status."

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