Skip to main content
Glama

mcporch_wait_for_task

Wait for a task to reach target statuses using short polling intervals; returns live ChatGPT progress if the task is still running.

Instructions

Wait in a safe short slice (max 45s) until a task reaches target_statuses, returning live ChatGPT progress if still working.

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": "mcporch_wait_for_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
task_idYes
target_statusesNo
timeout_secondsNo
poll_interval_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.2

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations at all, the description does the heavy lifting by disclosing that the wait is capped at 45s and that live ChatGPT progress is returned if the task is still working — useful behavioral context. It omits what happens on timeout (error vs. returning current state) and whether the call is a long-poll or repeated polling, which matters for a blocking tool with zero annotation coverage.

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; the safety bound and the return behavior are both stated compactly. It is dense but every clause contributes information.

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?

For a blocking tool with four parameters, no annotations, and no output schema, the description is too thin: status values, timeout semantics, and the return shape on timeout are all left unspecified. An agent can call it, but cannot predict what it gets back in the timeout case.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so all four parameters rely on the description. It only clarifies target_statuses (implicitly) and a 45s ceiling that conflicts with the schema's 20s default and allows timeout_seconds to be set; task_id and poll_interval_seconds are entirely undocumented, and valid status values are never listed.

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?

The description uses a specific verb (wait) plus a resource (task) and a stopping condition (reaches target_statuses), and it discloses the bounded 45s slice. It does not name how it differs from siblings like mcporch_get_task or mcporch_task_status, so an agent must infer that this one blocks rather than returning immediately.

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

Usage Guidelines3/5

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

The 'wait ... until' phrasing implies the use case is blocking on a status transition rather than a one-shot status read, which is a reasonable implicit signal. However, there is no explicit statement of when to prefer this over mcporch_task_status or mcporch_get_task, and no guidance on when not to call it.

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