Skip to main content
Glama

arcwright_wait

Blocks until a dispatched task finishes and returns its result, so you can resume work when a prior dispatch or follow-up reports status "running".

Instructions

Wait for a running task to finish, then return its result. Use when dispatch/followup returned status "running".

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

Input Schema

NameRequiredDescriptionDefault
task_idYes
project_dirNoAbsolute path of the project folder the agents work in. Defaults to the current working directory.
wait_secondsNoHow long this call blocks waiting for the result (0-1800, default 300). If it is still running afterwards, call arcwright_wait.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.5.0

TDQS

A3.7/5.0
Behavior3/5

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

No annotations exist, so the description carries the full load. It does disclose the key behavioral trait that the call blocks until the task finishes and then returns the result, but it says nothing about timeout handling, what happens if the task fails or is cancelled, or whether the call has any side effects — the retry-on-still-running detail lives only in the schema parameter text.

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?

Two short sentences with the action first and the trigger condition second; nothing is redundant or padded.

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

Completeness3/5

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

There is no output schema, so the description is the only place the return value could be characterized, and 'return its result' is vague for a tool whose whole purpose is delivering that result. The blocking/timeout contract is only partially covered and only via the wait_seconds schema text.

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 coverage is 67%: wait_seconds and project_dir are documented in the schema, while task_id is bare. The description only implies that task_id is the task referenced by a dispatch/followup result, adding no format or source details beyond that.

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 (wait) and resource (a running task) plus the outcome ('then return its result'), which differentiates it from non-blocking siblings like arcwright_get_task. It does not explicitly name any sibling, so the differentiator depends on the reader inferring 'wait' vs 'get'.

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 an explicit entry condition: use when dispatch/followup returned status "running". It does not say when NOT to use it (e.g. preferring arcwright_get_task for a non-blocking poll, or arcwright_cancel to abort), so the guidance is clear but not complete.

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