Skip to main content
Glama

browser_download_image

Destructive

Download an existing image through the tenant's hosted browser after an optional authenticated flow and store it as a document. Required: steps (same named actions as browser_run_flow, including at least one goto) and image with exactly one of url or selector. Secrets are resolved from the tenant vault exactly as for browser_run_flow. The bytes must have a recognised raster-image signature; an HTTP-200 login page is rejected before storage. Optional: stealth, title, entity/entity_id. Returns document_id; view it with get_document_link.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "steps": "<steps>",
      "image": "<image>"
    },
    "name": "browser_download_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
imageYesImage to download: exactly one of url or selector
stepsYesBrowser actions as in browser_run_flow, including at least one goto
titleNoTitle of the stored image document
entityNoRecord type to file the image against; use with entity_id
secretsNoName -> { provider, field } from the tenant vault.
stealthNoAsk the browser to reduce automation signals (does not bypass CAPTCHAs)
entity_idNoID of the record

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • addedInput schema / properties / entity / description
      Added value: +"Record type to file the image against; use with entity_id"
    • addedInput schema / properties / entity_id / description
      Added value: +"ID of the record"
    • addedInput schema / properties / image / description
      Added value: +"Image to download: exactly one of url or selector"
    • addedInput schema / properties / image / properties / selector / description
      Added value: +"CSS selector of the image element on the page"
    • addedInput schema / properties / image / properties / url / description
      Added value: +"Direct URL of the image"
    • addedInput schema / properties / stealth / description
      Added value: +"Ask the browser to reduce automation signals (does not bypass CAPTCHAs)"
    • addedInput schema / properties / steps / description
      Added value: +"Browser actions as in browser_run_flow, including at least one goto"
    • addedInput schema / properties / title / description
      Added value: +"Title of the stored image document"
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With destructiveHint=true and openWorldHint=true already declared, the description still adds real behavior: bytes must carry a recognised raster-image signature and an HTTP-200 login page is rejected before storage, which tells the agent about validation failures. It does not explain what the destructive hint implies (whether a new document record is created or an existing one replaced) or what happens if storage collides.

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 requirement/constraint information is front-loaded in the first two sentences and follows a Required-then-Optional-then-Returns structure. Sentences are dense and run long in places, but no sentence is wasted filler.

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?

For a seven-parameter, nested-object tool with no output schema, the description covers the mutation outcome (returns document_id, view via get_document_link) and the validation gate. The main residual gap is the side-effect profile implied by destructiveHint=true, which an agent would need to know before calling it against an existing entity.

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 description coverage is 100%, so the schema already documents all seven parameters, making 3 the baseline. The description adds modest value by tying 'steps' to browser_run_flow's action vocabulary and the goto requirement, and by clarifying that 'stealth' does not bypass CAPTCHAs, but most of its parameter prose restates the schema.

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 opens with a specific verb+resource: download an existing image through the tenant's hosted browser and store it as a document. It is much more precise than a name restatement, but it never contrasts itself with the sibling browser_download_file, so an agent must infer why one image tool exists alongside a generic file-download tool.

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?

It gives clear context for correct invocation: an optional authenticated flow in 'steps', at least one 'goto', secrets pulled from the tenant vault, and the follow-up call get_document_link to view the result. It stops short of explicit when-not guidance or naming the sibling alternative for non-image downloads.

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.