Skip to main content
Glama

Wait for project

wait_for_project
Read-only

Blocks until a project finishes or fails, or the timeout expires, returning status, stage progress, and clip summaries. Call it again if the timeout returns a still-running hint.

Instructions

Block until the project is done or failed, or timeoutSeconds pass. Returns { id, status, stage, stageProgress, stageDetail ({ done, total, etaSec } while a stage works in parts, else null), error, clips: [{ id, title, status }] }; on timeout the same with hint "Still running": call it again. Use get_project instead for a non-blocking look with full clip details.

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": {
      "id": "<id>"
    },
    "name": "wait_for_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesProject id (from create_project or list_projects)
timeoutSecondsNoLongest to wait, seconds (1-120, default 60)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.51.1
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Changed2 schema fields changedv0.7.0
    • addedInput schema / properties / id / description
      Added value: +"Project id (from create_project or list_projects)"
    • addedInput schema / properties / timeoutSeconds / description
      Added value: +"Longest to wait, seconds (1-120, default 60)"
  3. First observedv0.1.0

TDQS

A4.8/5.0
Behavior5/5

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

With only readOnlyHint=true provided, the description carries the real behavioral burden and does: it discloses that the call blocks, the timeout escape hatch, and that a timeout returns the same payload with a 'Still running' hint. It then spells out the returned fields (status, stage, stageProgress, stageDetail with done/total/etaSec, error, clips) that annotations cannot express, which matters because there is no output schema.

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?

It is dense and front-loaded: blocking behavior first, return shape second, timeout handling third, sibling alternative last. The inline object literal for the return payload is slightly heavy but each clause carries information an agent needs, so nothing is genuinely wasted.

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

Completeness5/5

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

For a two-parameter blocking tool with no output schema and minimal annotations, the description covers everything the agent needs: blocking semantics, timeout behavior and retry, the full return shape including the nested stageDetail, and the sibling alternative. Nothing material is left to inference.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description earns extra by tying timeoutSeconds to observable consequences — the wait expires and the call returns a 'Still running' hint that should be retried. That connects the parameter value to behavior rather than just restating the range already in the schema.

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

Purpose5/5

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

The description opens with a specific verb and resource ('Block until the project is done or failed, or timeoutSeconds pass'), making the blocking-wait semantics unmistakable. It also explicitly contrasts itself with the sibling get_project ('non-blocking look with full clip details'), so an agent can select between them without opening either schema.

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

Usage Guidelines5/5

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

It gives both a when-to-use rule and an explicit alternative: use this to block until completion, use get_project for a non-blocking look. It also states the re-entry condition on timeout ('call it again'), removing any ambiguity about what to do when the wait expires.

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

Deploy Server

Other Tools