Skip to main content
Glama

browser_wait_for_download

Wait for a file download to finish and retrieve its saved path. Call before or after clicking a download button to capture the downloaded file's location.

Instructions

Wait for a file download to complete and return its saved path.

    Call this before (or immediately after) clicking a download button.
    The first download event is captured, saved to save_dir, and the
    absolute file path is returned. timeout_ms: max wait (default 30s).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idNo
save_dirNodata/downloads
timeout_msNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

With no annotations, the description bears full burden and thoroughly explains behavior: captures first download event, saves to save_dir, returns absolute path, and includes timeout. It discloses no hidden side effects or destructive actions.

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?

The description is concise: first sentence states purpose, subsequent sentences add behavioral details. No extraneous information. Each sentence serves a purpose.

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?

Given the tool's simplicity and presence of an output schema (implied by 'returns its saved path'), the description covers what the tool does, its parameters, and return value. It is complete for an agent to invoke correctly.

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 0%, so description must compensate. It explains 'save_dir' and 'timeout_ms' semantics clearly but omits 'session_id' entirely. While session_id may be inferred from context, the description should explicitly cover all parameters when schema lacks descriptions.

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?

The description clearly states the tool waits for a file download to complete and returns its saved path. The verb 'wait' and resource 'download' are specific. Among siblings, no other tool handles download waiting, so it distinguishes itself effectively.

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?

The description explicitly says 'Call this before (or immediately after) clicking a download button,' providing clear usage context. It does not mention when not to use or alternatives, but the guidance is sufficient for typical scenarios.

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/Evil-Bane/eyebrowse'

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