Skip to main content
Glama
YogevKr

Wraith MCP Server

by YogevKr

wait_for

Wait until text shows on the page (up to seconds, at most 60), or wait seconds when text is empty. Use it after an action that loads content slowly. Returns the resulting snapshot.

Instructions

Wait until text shows on the page (up to seconds, at most 60), or wait seconds when text is empty. Use it after an action that loads content slowly. Returns the resulting snapshot.

Input Schema

NameRequiredDescriptionDefault
textNo
secondsNo
include_snapshotNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.16.1

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full disclosure burden. It usefully states the max wait, the empty-text branch, and that a snapshot is returned, but it omits timeout failure behavior and how include_snapshot affects the result.

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, front-loaded with the core behavior and usage condition. Every sentence earns its place.

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?

The output schema covers return values and the core wait behavior is described. However, an agent still lacks guidance on include_snapshot and on what happens if the text never appears, which are relevant for correct invocation.

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 0%, so the description must compensate. It explains text and seconds semantics well, including the empty-text case and 60-second cap, but does not explain the include_snapshot parameter.

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 specific action: waiting for text to appear or waiting a fixed number of seconds, with a 60-second cap. Clear verb and scenario, but it does not explicitly distinguish itself from siblings such as snapshot or read.

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?

Provides clear usage context: use it after an action that loads content slowly. It does not state when not to use it or name alternative tools.

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