Skip to main content
Glama

wait_for_deploy

Read-only

Block until a mock deploy reaches active or failed status, or until a timeout. Provides live and dashboard URLs to verify deployment readiness.

Instructions

Block until a sim's deploy reaches a terminal status (active or failed) or until timeout_s seconds elapse (default 25, max 30). Returns {sim_id, status, urls: {live, dashboard}}urls.live is set once the deploy is ACTIVE. On timeout the response carries the current non-terminal status (typically deploying); the agent can call wait_for_deploy again with the same sim_id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sim_idYes
timeout_sNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.20

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the readOnlyHint annotation, the description discloses that the call blocks, how long it may block, what the return payload contains, which statuses are terminal, and what happens on timeout. It also tells the agent it can retry with the same sim_id, which is important behavioral context.

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?

Three sentences with no filler: core blocking behavior first, then return shape, then timeout behavior and retry guidance. Every sentence earns its place and the most decision-relevant information is front-loaded.

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?

Given no output schema and minimal annotations, the description provides the return shape, terminal statuses, timeout behavior, and a retry strategy. An agent has what it needs to invoke the tool correctly and interpret the result.

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

Parameters5/5

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

Schema coverage is 0%, so the description carries the full burden. It explains `timeout_s` with default and max values and its effect on blocking behavior, and it clarifies `sim_id` as the identifier of the sim whose deploy is being waited on, including reuse on retry.

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 ('Block until') and names the exact resource and condition: a sim's deploy reaching `active` or `failed`. This unambiguously distinguishes it from deployment-creation and serving siblings like `deploy_mock_from_spec` and `serve_locally`.

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?

The description makes the operational context clear: call it to wait for a deploy to finish, and call it again on timeout. It does not explicitly state when not to use it or name alternative polling strategies, but the blocking behavior and retry guidance provide solid usage direction.

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