Skip to main content
Glama

BrightLocal MCP Server and API by Cotlet

Wait for the page

cotlet_browser_wait
Read-onlyIdempotent

Waits until text shows on the page (at most seconds, default 5, up to 20), or just seconds: for results that load slowly. Says whether the text appeared. Answers the page after it: the elements and text in view, with the same numbers.

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

Input Schema

NameRequiredDescriptionDefault
tabNoThe Tab id of the last answer. The step acts only while that tab is the shown one; if the user or another client showed another tab, it does nothing and answers tab_changed. Leave it out to act on the shown tab.
textNoText to wait for.
secondsNoAt most.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / tab
      Added value: +{
      +  "description": "The Tab id of the last answer. The step acts only while that tab is the shown one; if the user or another client showed another tab, it does nothing and answers tab_changed. Leave it out to act on the shown tab.",
      +  "maxLength": 64,
      +  "minLength": 1,
      +  "type": "string"
      +}
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, openWorld), and the description adds real behavior: a default of 5 seconds capped at 20, that it reports whether the text appeared, and that it returns the in-view elements and text afterward. That return-content disclosure matters because there is no output schema. It stops short of saying what happens on timeout beyond 'says whether the text appeared'.

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 short sentences, front-loaded with the core behavior and then the return content, with no wasted framing. Phrasing is slightly telegraphic ('Answers the page after it... with the same numbers'), which relies on the reader knowing the read tool's output format.

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

Completeness4/5

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

With no output schema and a mutation-free, three-parameter surface, the description covers the essentials: what it waits for, the timing defaults and bounds, the success signal, and what it returns. The only soft spot is the exact timeout semantics and the vague 'same numbers' reference to another tool's output.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3, but the description adds value the schema does not: the default value of 5 for `seconds` (the schema only sets maximum 20 and exclusiveMinimum 0) and the clarification that `text` is optional, since the tool can be called with just `seconds`.

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 states a specific verb and resource ('Waits until `text` shows on the page') and also reveals that it returns the page contents afterward, which implicitly separates it from the pure read tool. It never names a sibling explicitly, so an agent still has to infer the choice between this and cotlet_browser_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?

'For results that load slowly' gives a concrete condition for reaching for this tool, and the two usage modes (wait for text, or just wait `seconds`) are spelled out. There is no explicit statement of when not to use it or which sibling to prefer when nothing is slow.

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.

Resources