Skip to main content
Glama
Human Use

Human Use

Official

wait

Block on an already dispatched human job until it finishes or a specified duration elapses, letting agents pause and collect the result before continuing.

Instructions

[clock] Block on a job already dispatched.

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": {
      "job": "<job>"
    },
    "name": "wait"
  }
}

Input Schema

NameRequiredDescriptionDefault
forNoA duration, or done (default).
jobYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.6/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 burden. It does disclose the one critical trait — that the call blocks — plus the dispatched-job prerequisite, but says nothing about timeout behavior, whether it returns when the job finishes or errors, or whether it can be interrupted. For a blocking call with zero annotation coverage that is a significant gap.

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 short sentence with the clock tag up front and no filler; the key constraint (job already dispatched) is placed prominently. It is efficient, though its brevity contributes to the gaps in the other dimensions rather than reflecting tight editing of rich content.

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 place an agent can learn how this blocking call behaves on return, timeout, or failure. It covers the blocking fact and the prerequisite but omits the return value and termination conditions, leaving the agent unable to predict the call's outcome.

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 50%: the schema documents "for" (a duration or "done", default done) but leaves "job" bare. The description partially compensates by specifying that the job must already be dispatched, which clarifies what identifier "job" expects, but it adds nothing about accepted duration formats or what happens when "for" is a duration versus "done".

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Block on a job already dispatched" gives a recognizable action (block/wait) and object (a dispatched job), so the agent can infer this is a wait/poll tool. However the phrasing is terse and never states what blocking produces (job result, completion status, error), and it does not distinguish itself from siblings such as ps, status, or observe.

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?

The clause "already dispatched" hints at a prerequisite — the job must exist before waiting on it — which is the only usage signal present. There is no statement of when to prefer this over non-blocking checks (status, ps) or over cancel, and no guidance on when waiting is inappropriate.

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