Skip to main content
Glama

antigravity_wait

Wait for a running task to finish and return its result. Use after dispatch or follow-up returns 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": "antigravity_wait"
  }
}

Input Schema

NameRequiredDescriptionDefault
task_idYes
project_dirNoAbsolute path of the project folder Antigravity works 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 antigravity_wait.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden. "Wait ... then return its result" does convey that the call blocks and yields an outcome, which is the essential behavior. However, it does not state the blocking ceiling, what happens on timeout, or whether the operation has any side effects — those details live only in the schema or not at all.

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 sentences, no filler: the first states what it does, the second states exactly when to reach for it. Front-loaded and every sentence earns its place.

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

Completeness4/5

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

For a three-parameter blocking tool with no output schema, the definition gives enough to invoke correctly: the required task_id, the trigger condition, and the promise of a returned result. The remaining gap is the shape of that result and the retry/timeout semantics, which are only partially covered by 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% with wait_seconds and project_dir documented inline, including the useful instruction to call antigravity_wait again if the task is still running. The description adds nothing about task_id or the path/timeout parameters, so it neither compensates for the coverage gap nor detracts; 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?

States a specific action and outcome: block until a running task finishes, then return its result. An agent can distinguish this from antigravity_get_task (which presumably polls once) because the description names a blocking wait. It stops short of explicitly contrasting itself with get_task or list_tasks, so it is clear but not fully differentiated from siblings.

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?

"Use when dispatch/followup returned status 'running'" gives a concrete trigger condition tied to named sibling tools, which is the key routing decision for this tool. It does not cover the inverse case (when a task is not running, or when polling get_task would be preferable) or what to do on repeated timeouts beyond the schema note.

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