Skip to main content
Glama

BrightLocal MCP Server and API by Cotlet

Download a file

cotlet_browser_download
Destructive

Gets the file that clicking element (a download link or button), clicking point x, y of the screenshot (a menu item the element list does not number) or opening url starts, also an image or PDF it only opens: answers its name, type, size and a link valid 15 minutes; CSV, JSON and other text files also as text. Use it instead of click for anything that downloads, or the file stays in the browser.

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_download"
  }
}

Input Schema

NameRequiredDescriptionDefault
xNoInstead of `element`: pixels from the left of the screenshot.
yNoWith `x`: pixels from the top of the screenshot.
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.
urlNoA public http or https address, e.g. https://example.com.
elementNoThe element's number from the last read or step answer.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / x
      Added value: +{
      +  "description": "Instead of `element`: pixels from the left of the screenshot.",
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / y
      Added value: +{
      +  "description": "With `x`: pixels from the top of the screenshot.",
      +  "minimum": 0,
      +  "type": "number"
      +}
  2. 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"
      +}
  3. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, so safety framing is covered; the description adds non-obvious behavior instead — returns name, type, size and a link valid only 15 minutes, and returns text content for CSV/JSON/text files. It does not say where the file lands on disk or whether repeated calls yield fresh links, which is the remaining gap for a mutation-flagged tool.

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?

The core routing instruction ('instead of click') is front-loaded and the second sentence is tight. The first sentence is a long run-on with a parenthetical aside ('a menu item the element list does not number') that takes a re-read, so it is dense rather than wasteful.

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?

No output schema exists, yet the description covers the return payload (name, type, size, 15-minute link, text for text formats) and each input mode, which is most of what an agent needs. Missing only persistence details — where the saved file lives and whether the 15-minute link is re-fetchable — for a tool whose annotations flag it as destructive and non-idempotent.

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 per-parameter text is already supplied; the description still adds the meaningful relationship — that `element`, `x`/`y` and `url` are alternative ways to start the same action rather than combinable inputs. Minor deduction for not clarifying precedence if both element and x/y are passed.

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 resource ('Gets the file that clicking `element` ... or opening `url` starts') and explicitly covers the awkward cases (images/PDFs that only open, menu items not numbered in the element list). An agent can distinguish this from cotlet_browser_click without reading either schema.

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?

Names the alternative directly: 'Use it instead of click for anything that downloads, or the file stays in the browser' — an explicit when-to-use plus the failure consequence of choosing wrong. It also spells out the three mutually exclusive selectors (element, x/y, url) that trigger the download.

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