Skip to main content
Glama
browser-bot
by bahira

Do anything on a website

browser_do
Destructive

Runs a browser task from a URL and plain-language instruction, reusing or creating a site integration, then returns the result; read-only by default, with approval required for writes.

Instructions

The one call for a browser task. Give it a URL and the task in plain language; it reuses the integration already built for that site, or mints one first, then runs it and returns the result. A mint takes minutes and costs model tokens; later calls for the same site are deterministic and fast. Authority "read" only looks at the site. Authority "write" changes something, and needs approved_by_user. If the site needs a login, the job stops and asks for the credentials through provide_input; the bot saves none of them.

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": {
      "url": "<url>",
      "task": "<task>"
    },
    "name": "browser_do"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe page to start from, http or https.
taskYesWhat to do, in plain language, names included: "Read the price of the first search result for X", "Book a table for two on Friday".
freshNoRe-mint even when an integration already matches. The old folder is archived, not deleted.
inputNoThe operation's input, matching the integration's input schema. A mint uses it as the example the build starts from; a run uses it as the actual values.
authorityNoread
integrationNoIntegration folder name: lowercase letters, digits and underscores. Omit it to let the bot derive one from the site's host.
wait_secondsNoSeconds to wait for the job before answering with its current state. Default 20.
sign_in_originsNoExtra https origins the sign-in may use, as origins ("https://accounts.example.com"). Needed only when the site signs in on another domain.
approved_by_userNoRequired to be true for authority "write". Set it only after your user has explicitly approved changing something on the site in this conversation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: mint latency and token cost versus the speed of subsequent runs, the sign-in interception that stops the job and requests credentials through provide_input, the guarantee that credentials are not saved, and the approval requirement before writes. The annotations already flag destructive/openWorld, but the description supplies the operational consequences an agent needs.

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 core action, then progressively discloses cost, authority rules, and sign-in handling. Five dense sentences with no filler, though the sign-in and credential sentence could be slightly more compact.

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 9-parameter tool with a nested object and no output schema, the description covers cost, safety, and the async wait behavior. It stops short of saying what the result looks like when wait_seconds elapses without a final state, which is the remaining gap.

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?

Coverage is 89% so the schema already defines most parameters, but the description adds real meaning: 'input' serves as the build example during a mint and the actual values during a run, 'fresh' archives rather than deletes the old folder, and approved_by_user is gated on in-conversation approval. That is genuine semantic value on top of 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?

States a specific action (run a task on a URL) and the mechanism: reuse an existing site integration or mint one first, then run it. That successfully separates it from the lower-level sibling names like browser_mint and browser_run. It does not explicitly say 'prefer this over calling mint then run yourself', which keeps it at 4 rather than 5.

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?

Gives concrete when-to-use guidance: 'read' authority only inspects, 'write' mutates and requires approved_by_user set only after explicit user approval; 'fresh' forces a re-mint at the cost of minutes and tokens; later calls for the same site are fast deterministically. No explicit statement about when an agent should skip this tool in favor of its siblings.

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