Skip to main content
Glama

Crexi 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
xNoScreenshot x, instead of element.
yNoScreenshot y.
appNoLeave out. Only an app slug cotlet_app_guide names.
tabNoTab id of the last answer.
urlNoA public http or https address, e.g. https://example.com.
elementNoElement number from the last answer.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedInput schema / properties / app / description
      Previous value: -"Leave it out: the step runs in the user's web browser. Only when cotlet_app_guide names an app's own Cloud Browser, that app's slug, e.g. milanote."New value: +"Leave out. Only an app slug cotlet_app_guide names."
    • changedInput schema / properties / element / description
      Previous value: -"The element's number from the last read or step answer."New value: +"Element number from the last answer."
    • changedInput schema / properties / tab / description
      Previous value: -"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."New value: +"Tab id of the last answer."
    • changedInput schema / properties / x / description
      Previous value: -"Instead of `element`: pixels from the left of the screenshot."New value: +"Screenshot x, instead of element."
    • changedInput schema / properties / y / description
      Previous value: -"With `x`: pixels from the top of the screenshot."New value: +"Screenshot y."
  2. 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"
      +}
  3. 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"
      +}
  4. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Adds substantial context beyond the annotations: the response carries name, type, size and a link valid 15 minutes, text formats also come back as text, and the failure mode of not using it (file stays in the browser) is spelled out. It does not explain why destructiveHint is true or what side effect on the local machine justifies it, which is the main remaining behavioral gap.

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?

Front-loaded with the action and its three trigger modes, then the return payload, then the routing rule; every clause carries information. The long parentheticals make it a single run-on sentence that is denser than it needs to be.

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, the description correctly takes on the return-value burden (name, type, size, 15-minute link, inline text) and explains the download side effect. All six parameters are optional and covered either here or in the schema; only the app/tab parameters and error conditions are unaddressed.

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 3 is the baseline, and the description genuinely adds selection semantics beyond the schema: element means a download link/button, x/y is for a screenshot menu item the element list does not number, url is for what opening an address triggers. The app and tab parameters are left to the schema alone.

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?

Specific verb and resource: "Gets the file that clicking `element`... clicking point `x`, `y` ... or opening `url` starts," and it names its main competitor, click. It stops short of distinguishing itself from sibling cotlet_export_file, which an agent could plausibly confuse with a download-to-disk tool.

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?

Explicit routing: "Use it instead of click for anything that downloads, or the file stays in the browser," plus a clear rule for choosing among the three trigger modes (element for a numbered download link/button, x/y for an unnumbered menu item, url for a direct address). When-to-use, when-not, and the alternative are all stated.

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.