Skip to main content
Glama

oassis — web for agents

web_act

Runs actions against an open session and returns the resulting state. Actions: {navigate}, {click:{ref}}, {type:{ref,text,clear}}, {select:{ref,value}}, {press}, {scroll}, {wait}, {back}. The ref is the one controls gave you. It stops at the first failure and tells you where. $0.0005 per action.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNoPage to process.
jsonNoFor the `json` format: `prompt` and/or `schema`.
waitNoWhen to consider the page loaded: `until`, `selector`, `timeout`.
maxAgeNoAccept an answer up to this many milliseconds old. A cache hit costs $0.0002 instead of the format price. Leave it out to force a fresh render.
actionsYesActions, in order.
formatsNoOutputs you want in the same response. `controls` is the map of what can be clicked; `elements` needs `selectors`; `json` needs `json.prompt`.
selectorsNoCSS selectors for `elements`.
sessionIdYesThe one web_session_open returned.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses failure semantics ('stops at the first failure and tells you where'), that it returns resulting state, and pricing ('$0.0005 per action'). It omits session-expiry or permission behavior, but the core behavioral traits are covered.

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?

Extremely dense and front-loaded: purpose first, then the action grammar, then the ref provenance, then failure and pricing. Every clause earns its place with no 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 multi-action mutation tool with no annotations and no output schema, the description covers the essential invocation surface (action grammar, failure behavior, cost). It could say more about the shape of the returned 'resulting state', but that gap is modest given the tool's scope.

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 baseline is 3, but the description adds real meaning beyond the schema: the `actions` items are untyped objects in the schema, and the description supplies their shape ({click:{ref}}, {type:{ref,text,clear}}, etc.) and clarifies that `ref` comes from the `controls` output. This compensates for the schema's generic array items.

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?

States a specific verb ('runs actions') and resource ('an open session') and enumerates the exact action vocabulary (navigate, click, type, select, press, scroll, wait, back). This clearly separates it from siblings like web_scrape, web_crawl, and web_session_open, which don't operate on an already-open session.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase 'against an open session' implies the prerequisite that web_session_open must run first, and the action list implies interactive driving. However, it never explicitly states when to use this over web_scrape or web_batch, nor any when-not conditions.

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.

Resources