Skip to main content
Glama

TheySaid

wait_for_results

Read-only

Waits server-side, for a bounded window, for a usability test to finish, and sends progress notifications meanwhile, so no polling is needed. Returns message (a user-facing summary), phase and, once finished, results (the same data as get_test_results, including resultsMarkdown). If the window elapses first, stillRunning is true; long runs are normal, and calling wait_for_results again continues waiting. For a "partial" or "failed" run, the partial findings and instant design scan are included. Optional maxWaitSeconds shortens a single wait.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
testIdYes
maxWaitSecondsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
phaseNo
statusNo
messageNoUser-facing framing the caller can relay verbatim.
resultsNoPopulated on a terminal phase; null while still running.
stillRunningNoTrue on timeout/abort while non-terminal — call again.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only cover the read-only/non-destructive safety profile; the description adds substantial traits beyond that: bounded server-side window, progress notifications emitted during the wait, `stillRunning` semantics on timeout, that re-invoking continues waiting, and how partial/failed runs are handled. This is exactly the operational context an annotations-only view lacks.

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?

Front-loaded with the core purpose before the return-shape and edge-case details. Dense but every sentence carries information (notifications, stillRunning, re-call continuation, partial runs). Slightly sprawling for a two-parameter tool, but nothing is filler.

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?

Covers the return contract (message, phase, results, resultsMarkdown), the timeout path, the continuation pattern, and degraded-run behavior, which is more than enough given an output schema already exists. An agent has everything needed to call and re-call it correctly.

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 description coverage is 0%, so the description must carry parameter meaning. It explains maxWaitSeconds ('shortens a single wait') but does not define testId beyond implication. One of two parameters gets real semantics added, leaving an unmet gap against the low coverage baseline.

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?

States a specific verb and resource (server-side wait for a usability test to finish) plus the mechanism (progress notifications, no polling). It implicitly distinguishes itself from get_test_results and get_test_status by being the blocking-wait variant. An agent can select it without opening a schema.

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?

Gives clear usage context: 'so no polling is needed', 'long runs are normal', and 'calling wait_for_results again continues waiting' — behaviorally important for an agent choosing between waiting and polling. However it never explicitly names get_test_status as the non-blocking alternative or states when NOT to wait (e.g. for a quick status check).

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources