Skip to main content
Glama

awaitTest

Read-only

Blocks and waits for completion (or failure or 5-minute timeout) of a requested job. Call this tool if you requested a new test or retest with immediate review and you want to block the workflow until the test is complete. Requires a reportID from requestNewTest or requestRetest. If you choose not to wait or the wait times out, call listIssues with the reportID later to check whether the results are available.

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": {
      "reportID": "<reportID>"
    },
    "name": "awaitTest"
  }
}

Input Schema

NameRequiredDescriptionDefault
reportIDYesReport identifier returned by an immediately reviewed test or retest submission for a job pending or in progress (example: 260503T0432-x9z); on completion it remains usable with listIssues and getReport

Output Schema

NameRequiredDescriptionDefault
tool nameYes
this requestYes
tool collectionYes
response contentYes
response metadataYes
URLs of similar requests for web usersYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / reportID / description
      Previous value: -"Report identifier returned by orderNewTest or orderRetest (example: 260503T0432-x9z)"New value: +"Report identifier returned by an immediately reviewed test or retest submission for a job pending or in progress (example: 260503T0432-x9z); on completion it remains usable with listIssues and getReport"
    • addedInput schema / properties / reportID / pattern
      Added value: +"^\\d{2}(?:(?:0[13578]|1[02])(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)(?:0[1-9]|[12]\\d|30)|02(?:0[1-9]|1\\d|2[0-9]))T(?:[01]\\d|2[0-3])[0-5]\\d-[a-z0-9]{3}$"
  2. Changed5 schema fields changed
    • addedOutput schema / definitions / ToolsFacts / properties / description / properties / how to generate more findings / properties / approval
      Added value: +{
      +  "type": "string"
      +}
    • removedOutput schema / definitions / ToolsFacts / properties / description / properties / how to generate more findings / properties / confirmation
      Removed value: -{
      -  "type": "string"
      -}
    • addedOutput schema / definitions / ToolsFacts / properties / description / properties / how to generate more findings / properties / order confirmation
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / definitions / ToolsFacts / properties / description / properties / how to generate more findings / properties / request confirmation
      Added value: +{
      +  "type": "string"
      +}
    • changedOutput schema / definitions / ToolsFacts / properties / description / properties / how to generate more findings / required
      Previous value: -[
      -  "new testing",
      -  "retesting",
      -  "latency",
      -  "confirmation"
      -]New value: +[
      +  "new testing",
      +  "retesting",
      +  "approval",
      +  "latency",
      +  "request confirmation",
      +  "order confirmation"
      +]
  3. Changed6 schema fields changed
    • removedInput schema / properties / jobID
      Removed value: -{
      -  "description": "Job identifier of the ordered job, from the report identifier returned by orderNewTest (example: x9z)",
      -  "type": "string"
      -}
    • addedInput schema / properties / reportID
      Added value: +{
      +  "description": "Report identifier returned by orderNewTest or orderRetest (example: 260503T0432-x9z)",
      +  "type": "string"
      +}
    • removedInput schema / properties / timeStamp
      Removed value: -{
      -  "description": "Timestamp of the ordered job, from the report identifier returned by orderNewTest, in YYMMDDTHHmm format (example: 260503T0432)",
      -  "type": "string"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "timeStamp",
      -  "jobID"
      -]New value: +[
      +  "reportID"
      +]
    • removedOutput schema / definitions / ReportIdentifier
      Removed value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "jobID": {
      -      "description": "Job identifier to pass to listIssues once the report is ready.",
      -      "type": "string"
      -    },
      -    "timeStamp": {
      -      "description": "Timestamp to pass to listIssues once the report is ready.",
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "timeStamp",
      -    "jobID"
      -  ],
      -  "type": "object"
      -}
    • changedOutput schema / properties / response content / properties / details about your wait / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "error": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "error"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "report identifier": {
      -        "$ref": "#/definitions/ReportIdentifier"
      -      }
      -    },
      -    "required": [
      -      "report identifier"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "error"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "report identifier": {
      +        "description": "Identifier of the report, to pass to listIssues once the report is ready (example: 260503T0432-x9z).",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "report identifier"
      +    ],
      +    "type": "object"
      +  }
      +]
  4. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the bar is lower, yet the description still adds real behavioral context: the blocking/waited nature, a concrete 5-minute timeout, failure as a possible terminal state, and the fallback polling route. It does not state what a timed-out call returns versus a failed one, which keeps it from 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?

Three sentences, front-loaded with the blocking behavior and followed by the call condition and the fallback. Slight redundancy between the purpose sentence and the 'If you choose not to wait' sentence, but nothing is wasted overall.

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 single-parameter, blocking wait tool with full schema coverage, rich annotations, and an output schema that need not be explained, the description covers everything an agent needs: the blocking semantics, the timeout bound, the prerequisite, and what to do instead of waiting.

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 one parameter at 100% schema description coverage, the schema already explains the reportID format, its origin from an immediately reviewed submission, and its continued usability with listIssues/getReport. The description's 'Requires a reportID from requestNewTest or requestRetest' largely restates that, adding little beyond 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?

States a specific verb and behavior — 'Blocks and waits for completion (or failure or 5-minute timeout) of a requested job' — plus the exact prerequisite (a reportID from requestNewTest or requestRetest). This clearly distinguishes it from non-blocking siblings like listIssues or getReport.

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?

Explicitly names the triggering condition ('if you requested a new test or retest with immediate review and you want to block the workflow') and the alternative path ('If you choose not to wait or the wait times out, call listIssues with the reportID later'). Both when-to-use and when-not-to-use are covered.

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.