Skip to main content
Glama

browser_agent

Run a task in a real browser on a public website: it searches, clicks, filters and reads, then answers. Returns a job_id at once; call browser_agent_status until the run is done. Costs 0.05 XNO per run in Nano via x402 and has no free trial: the first call returns the payment challenge, the second carries payment_block. A run that fails on our side is retried free with retry_of.

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": {
      "task": "<task>",
      "website": "<website>"
    },
    "name": "browser_agent"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskYesWhat to do, in plain language (8-500 characters).
websiteYesThe public website to do it on, e.g. arxiv.org.
retry_ofNojob_id of a paid run that failed on our side: starts a new run, no new payment.
payment_blockNo64-character Nano block hash of your payment. Leave empty to get the payment challenge.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / payment_block
      Added value: +{
      +  "default": "",
      +  "description": "64-character Nano block hash of your payment. Leave empty to get the payment challenge.",
      +  "title": "Payment Block",
      +  "type": "string"
      +}
    • addedInput schema / properties / retry_of
      Added value: +{
      +  "default": "",
      +  "description": "job_id of a paid run that failed on our side: starts a new run, no new payment.",
      +  "title": "Retry Of",
      +  "type": "string"
      +}
    • changedInput schema / properties / task / description
      Previous value: -"What the agent should do, in plain language (8-500 characters)."New value: +"What to do, in plain language (8-500 characters)."
    • changedInput schema / properties / website / description
      Previous value: -"The website to do it on, e.g. arxiv.org or https://www.allrecipes.com"New value: +"The public website to do it on, e.g. arxiv.org."
  2. Added

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations, it discloses the asynchronous job_id return, the required polling via browser_agent_status, the 0.05 XNO cost with no free trial, the x402 payment challenge flow, and the free retry policy. These are exactly the behavioral details an agent needs before invoking a paid, non-idempotent, open-world tool.

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 dense but well structured: purpose first, then async behavior, then payment flow, then retry policy. Every sentence carries operational information, with no filler or repeated schema text.

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 complexity, the definition covers the essential call sequence, payment requirements, failure retry path, and polling requirement. Since an output schema exists, it does not need to explain return values in detail.

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 already 100%, so the schema documents task, website, retry_of, and payment_block. The description still adds useful meaning by explaining that the first call returns a payment challenge, the second carries payment_block, and retry_of avoids a new payment for a failed run.

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 states a specific verb and resource: it runs a task in a real browser on a public website, with concrete actions (searches, clicks, filters, reads, answers). It clearly distinguishes the tool from simpler siblings such as web_search by emphasizing real browser interaction and an asynchronous job model.

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 operational guidance: call browser_agent_status until the run is done, use retry_of for a failed paid run, and expect a two-step payment flow. It does not explicitly compare when to choose this over web_search or check_url_status, but the real-browser task context is clear enough.

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.