Skip to main content
Glama

Wait for a background job

dmi_wait
Read-onlyIdempotent

Continue waiting for a running point-cloud processing job and return its final result, or status "running" if it has not finished.

Instructions

Continue waiting for a job that returned status="running". Returns the final result, or "running" again.

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_id": "<job_id>"
    },
    "name": "dmi_wait"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYes
wait_sNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds the return contract (final result or "running" again), but says nothing about whether the call blocks, how long it blocks, or what happens on timeout — key behavior for a polling tool that the annotations cannot convey.

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?

Two short sentences, front-loaded with the entry condition and followed by the return contract; nothing is wasted. It is arguably too terse rather than padded, but it reads cleanly with no filler.

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?

With an output schema present, return values need not be spelled out, and the description does gesture at them. Still, for a polling/wait tool the critical semantics — blocking behavior, wait_s meaning, and terminal vs. non-terminal outcomes — are left unaddressed, leaving the agent to guess at the retry loop.

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 the description must carry the load, yet it mentions neither parameter. In particular wait_s (default null) is completely unexplained — whether it is a timeout, a maximum block duration, or a server-side long-poll window determines how the agent should call this tool.

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 and resource ('Continue waiting for a job') plus the precondition that the job previously returned status="running", which makes the polling intent unambiguous. It is clearly distinct from the sibling list/inspect tools like dmi_jobs, but it never names an alternative explicitly.

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 gating condition ('a job that returned status="running"') is a useful entry criterion, implying this is a follow-up to dmi_run rather than a first call. However, there is no guidance on when to stop polling, how many times to call it, or what to do when it keeps returning "running".

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