Skip to main content
Glama

List open waits

list_waits
Read-only

Lists open waits of the workspace's runs: run, step, kind, title, deadlines, and coding-agent state. API keys see questions only when the step allows API replies, and never approval messages or answers. Signed-in OAuth admins also see approval messages/fields and coding-agent questions as in the console.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_waits"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoAt most this many waits (default 20).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered; the description goes further by disclosing auth-dependent visibility — API keys see questions only when the step allows API replies and never approval messages/answers, while OAuth admins see the console view. That is genuinely useful context an agent cannot get from structured fields. It does not state ordering or whether expired waits are excluded, so it stops short of a 5.

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 sentences, purpose first, then the auth-dependent visibility rules — no filler or repetition of the title. The second sentence is dense but every clause (API keys, approval messages, OAuth admins) conveys distinct filtering behavior.

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 read-only, zero-required-parameter, single-object tool with no output schema, the description is nearly self-sufficient: it names the returned fields and explains the permission-dependent view differences. The remaining omission is whether results are paginated beyond limit or how they are ordered.

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?

With a single optional parameter at 100% schema description coverage ("At most this many waits (default 20)"), the schema already carries the entire parameter contract. The description adds no ordering semantics or guidance on choosing a limit, so the baseline of 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?

The description opens with a specific verb+resource ("Lists open waits of the workspace's runs") and enumerates the returned fields — run, step, kind, title, deadlines, coding-agent state. No sibling in the catalog covers waits, so there is nothing to disambiguate against; the only small gap is that it never restates the scope boundary (e.g. open vs. resolved) beyond the word "open".

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance, no mention of how it relates to list_runs, get_task, or get_task_activity, and no stated prerequisites. Usage is only implied by the resource name, which leaves an agent to guess whether this is the right entry point for finding pending human input.

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