Skip to main content
Glama

Web Act

web_act
Read-onlyIdempotent

Drive a real Chromium browser on one public page: click, type, press keys, scroll, wait for selectors, then return the resulting text (and optionally a screenshot and JSON XHR responses). When to use: the page needs interaction before its content appears (cookie banners, tabs, 'load more', form submit) and web_fetch/web_crawl cannot see it. Do not use: for plain reading (web_fetch) or bulk crawling (web_crawl); no login/paywall bypass. Returns: {ok, url, final_url, title, markdown, chars, elapsed_ms, screenshot?, xhr?, took_ms, _metering}. Max 10 actions; screenshot returns MCP image content. Metered: uses the same shared free pool (10 free calls/day per IP shared by all web tools), then 3 credits per call over x402.

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>",
      "actions": "<actions>"
    },
    "name": "web_act"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe http(s) page URL.
actionsYesActions: {type: click|type|press|scroll|wait_for|wait_ms, ...}
full_pageNoFull-page screenshot. Default false.
max_charsNoText cap 1000-20000. Default 20000.
screenshotNoReturn a JPEG screenshot. Default false.
include_xhrNoReturn JSON XHR responses captured while acting. Default false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Goes well beyond the annotations: discloses the 10-action cap, that a screenshot is returned as MCP image content, and the metering model (10 free calls/day shared per IP, then 3 credits/call over x402) — cost and rate limits are exactly the kind of context annotations cannot express. It does not say what happens on action failure, timeout, or a blocked page, and 'idempotentHint: true' sits slightly awkwardly with click/type/submit semantics, leaving a small residual 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 core verb, then clearly labeled 'When to use', 'Do not use', 'Returns' and 'Metered' segments — easy to scan. The enumerated return-key list is a little dense but each item (final_url, elapsed_ms, screenshot?, xhr?) carries real information, so waste is minimal.

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?

With no output schema, the description carries the return contract itself and does so by listing the result object keys and the MCP image content behavior. Combined with the action limit, cost model, and use/don't-use routing, an agent has everything needed to call this correctly.

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% and the schema already documents url, actions types, full_page, max_chars, screenshot and include_xhr. The description only restates that a screenshot and JSON XHR responses are optional, adding no format, syntax, or default detail beyond the schema, so baseline 3 applies.

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?

Names a specific verb and resource ('Drive a real Chromium browser on one public page') and enumerates the concrete interaction primitives (click, type, press keys, scroll, wait for selectors) plus what is returned. An agent can immediately distinguish it from web_fetch/web_crawl without opening any 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?

Explicit 'When to use' condition (page requires interaction before content appears: cookie banners, tabs, load more, form submit) and an explicit 'Do not use' with named siblings (web_fetch for plain reading, web_crawl for bulk), plus an exclusion for login/paywall bypass. This is about as complete as routing guidance gets.

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.