Skip to main content
Glama

Wait for updates

wait_for_updates
Read-onlyIdempotent

Wait up to wait_seconds (max 50) for something new: a reply to an offer, a new offer on your user's items, a quote, or an order waiting for approval. Use it while your user is in the conversation and waiting for the other side, e.g. right after make_offer or respond_offer. since: the cursor from the previous call (default: now); pass it back each time so nothing is missed. Returns changed=false when nothing came.

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": "wait_for_updates"
  }
}

Input Schema

NameRequiredDescriptionDefault
sinceNo
wait_secondsNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent, non-destructive behavior, so the description adds the operational detail an agent actually needs: a hard cap of 50 seconds, cursor semantics, and the changed=false outcome on timeout. It does not mention rate limits or what happens if the same cursor is reused after a timeout, but nothing conflicts with the annotations.

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 dense sentences with the purpose and timing constraint front-loaded, followed by the two parameter notes and the return signal. No filler, though the multi-clause first sentence is a bit long and the parameter notes read as an inline appendix.

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 an output schema present, the description needn't document return shapes, yet it still flags the key changed=false case. Combined with the time cap, cursor rule, and trigger conditions, everything an agent needs to invoke this polling tool correctly is present.

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

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the full burden and does: since is explained as the cursor from the previous call (default now) that must be passed back to avoid missing events, and wait_seconds is bounded at a max of 50. An agent can call this correctly without any other documentation.

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 names a specific verb+resource (wait for new events) and enumerates the scope: reply to an offer, new offer, quote, or order awaiting approval. That enumeration effectively tells an agent this is the deals/offers/orders flavor of waiting. It stops short of naming the closest sibling, wait_for_messages, so the agent has to infer which of the two waiting tools covers plain messages.

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?

Usage is stated concretely: use it while the user is in the conversation and waiting on the other side, e.g. right after make_offer or respond_offer. That ties the call to sibling tools and a situation. There is no explicit when-not guidance (e.g. don't poll in a loop without presenting results, or use wait_for_messages for plain messages).

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.