Skip to main content
Glama

Wait for Download

browser_wait_for_download
Destructive

Wait for a download to complete after a browser action, verifying the saved file, filename, or timing.

Instructions

Use when a browser action should create a download and the saved file, filename, or timing must be verified. Preconditions: an active page is required; when triggerSelector is used it must identify the authorized download action, and raw capture requires acknowledgement. Next: inspect browser_get_downloads or the saved file through an appropriate local-file workflow. Sensitivity: downloaded files may contain sensitive application data and the optional trigger can cause external effects.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
outputDirNo
timeoutMsNo
triggerSelectorNo
suggestedFilenameNo
acknowledgeRawCaptureNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYes
errorNo
resultNo
Behavior4/5

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

Annotations already indicate destructiveHint=true and openWorldHint=true. Description adds context: downloaded files may contain sensitive data, and trigger can cause external effects. Does not contradict annotations.

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 sentences, each meaningful, front-loaded with purpose. No redundant information.

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?

Covers preconditions, next steps, sensitivity, and external effects. Output schema likely documents return values. Adequate for a download-waiting tool given the available structured data.

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

Parameters2/5

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

Schema description coverage is 0%. Description only vaguely references triggerSelector and acknowledgeRawCapture, leaving 5 parameters largely unexplained. Insufficient for parameter understanding.

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?

Explicitly states purpose: waiting for a download triggered by a browser action to verify file, filename, or timing. Clearly distinguishes from sibling tools like browser_wait_for_response.

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

Usage Guidelines5/5

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

Provides clear when-use guidance, preconditions (active page, authorized triggerSelector, acknowledgement for raw capture), and next steps (inspect browser_get_downloads or local-file workflow). Implicitly tells when not to use.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ss26367098/rawtrace-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server