Skip to main content
Glama

wait

Read-only

Poll the screen until a yes/no condition is met or timeout expires; use it to monitor loading, popups, and state changes without repeated screenshots.

Instructions

【Jev】反复看屏幕,直到是非题成立或超时(默认 10 秒,最长 120 秒)。等加载、等弹窗时用,不用一遍遍截图。

Input Schema

NameRequiredDescriptionDefault
lookNo让 Jev 直接看截图,而不只是读文字:图标、游戏画面、图片、颜色这类没有文字的内容用它。截图只发给 Jev,不进你的上下文。目前只有 TypeSafe 官方密钥支持(status 里 jev_images=true),每次多 1~3 秒
sourceNoauto:先读界面树,读不到(游戏、自绘界面)再用文字识别
windowNo窗口标题或应用名的一部分,或 windows 返回的 hwnd;不填就是前台窗口
timeoutNo
intervalNo
questionYes
thresholdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/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 adds real behavioral context — polling loop, 10s default, 120s ceiling — but never says what happens on timeout (false result vs. error) or what the call returns, which matters for a blocking poll.

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?

Two tight sentences: the mechanism and its limits come first, the usage cue second. No filler, and the anti-pattern (repeated screenshots) is packed into the same clause rather than a separate sentence.

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

Completeness3/5

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

For a 7-parameter polling tool with no output schema and 43% coverage, the description leaves notable holes: return value on success vs. timeout, and the role of interval and threshold. The core loop and timeout bounds are covered, so it is adequate but not complete.

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 coverage is only 43%, and the description compensates partially: it explains that 'question' is a yes/no predicate and supplies the default and maximum for 'timeout', which the schema leaves undocumented. However, 'interval' and 'threshold' get no meaning from either source, so the gap is only half closed.

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 mechanism: repeatedly inspect the screen until a yes/no question holds or a timeout fires. Defaults (10s, max 120s) are included, and the closing clause distinguishes it from the screenshot sibling by saying it replaces repeated screenshots.

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?

Gives concrete usage conditions — waiting for loading, waiting for a popup — and implicitly routes the agent away from manual repeated screenshots. It does not name an explicit when-not case or name a sibling tool like observe or check, which keeps it short of a 5.

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