Skip to main content
Glama
danieldoalto

Terminal Session Manager

by danieldoalto

Wait Job

wait_job

Block until an asynchronous terminal session job completes, fails, or times out, so you can monitor tasks without constant polling.

Instructions

Blocks until a job completes, fails, or exceeds the specified timeout.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
job_idYes
timeoutNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden. It clearly discloses the blocking nature and the three termination conditions (completion, failure, timeout), which is essential for a wait operation. It does not cover permissions, concurrency, or timeout side effects, but the core behavior is well conveyed.

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?

A single, well-structured sentence that is front-loaded with the key behavior and contains no wasted words. It is appropriately sized for the tool's simplicity.

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

Completeness2/5

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

Given 0% schema description coverage and no annotations, the description should provide more parameter context (especially for job_id) and usage guidance. While the output schema handles return values, the lack of parameter explanations and alternative references leaves the definition incomplete for reliable invocation.

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

Parameters2/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 compensate for both parameters. It only references the timeout parameter briefly ('specified timeout') without explaining its units or default, and it does not mention job_id at all, leaving significant gaps.

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 states a specific verb (blocks/waits) and resource (job), and its blocking behavior implicitly distinguishes it from non-blocking siblings like get_job. However, it does not explicitly name any alternative, so it falls short of full sibling differentiation.

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?

The description gives no explicit guidance on when to use this tool versus alternatives such as get_job or list_jobs. It only describes behavior, leaving the agent to infer usage context without any stated exclusions or conditions.

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