Skip to main content
Glama

Wait for event

wait_for_event
Read-onlyIdempotent

Poll an asynchronous VPSnet action every 3 seconds until it completes, errors, or a timeout passes. Returns the last state and waited seconds, so you can track progress without repeated manual checks.

Instructions

Poll an asynchronous action until it is completed or error, or until timeout_seconds pass (default 120, max 600), every 3 seconds. Same ids as get_event. Returns the last state and waited_seconds; timed_out=true means the action is still running, not that it failed. Read-only.

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": {
      "id": "<id>"
    },
    "name": "wait_for_event"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesNumeric `event` id or `noty` UUID returned by the action
timeout_secondsNoHow long to wait (default 120)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.3.16

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent, and the description layers on genuinely new behavioral detail: a 3-second poll interval, default 120s and max 600s timeout, the returned fields, and the crucial semantics of timed_out=true (still running, not failed). That is exactly the extra context annotations cannot provide.

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 tight sentences with zero filler, front-loaded with the core action and scope. Every clause (timeout bounds, poll cadence, return fields, timed_out meaning, read-only) carries information.

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?

With no output schema, the description steps up to explain the return values (last state, waited_seconds) and resolves the most likely agent misinterpretation of timeout behavior. Nothing needed to call this two-parameter polling tool correctly is missing.

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 100%, and the schema already documents both parameters including the timeout default. The description restates the default/max values and clarifies that ids match get_event, adding marginal value over structured fields, so the baseline 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?

States a precise verb and resource: polling an asynchronous action until completion, error, or timeout. The purpose is unambiguous and the cross-reference to get_event implies the relationship, but the description never explicitly contrasts waiting here versus a single check with get_event.

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

Usage Guidelines3/5

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

Usage is implied by the polling semantics and the 'Same ids as get_event' note, so an agent can infer this is the blocking counterpart to get_event. However there is no explicit when-to-use/when-not statement or routing rule naming the alternative.

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

Deploy Server

Other Tools