Skip to main content
Glama

interact_and_test

Run multi-step browser actions—click, fill, navigate, wait—then validate visual, accessibility, SEO, or performance checks on live pages or an existing session.

Instructions

Execute a multi-step interaction workflow. Supports 26 actions: click, force_click, fill, force_fill, type, select, select_option, wait, wait_for, wait_for_text, screenshot, navigate, hover, press_key, check, uncheck, scroll_to, scroll_within, evaluate_js, drag, right_click, go_back, go_forward, upload_file, wait_for_network, consent. Can work on an existing session or create an ephemeral page.

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

Input Schema

NameRequiredDescriptionDefault
urlNoURL to open (creates ephemeral page if no session_id)
stepsYesSteps to execute. Each step has 'action' and action-specific fields.
projectNoProject name (optional). With a project: runs in its shared, authenticated context. Without: runs in an isolated context (no shared cookies/login).
run_checksNoChecks to run after steps complete (visual, accessibility, functionality, seo, performance, geo)
session_idNoExisting session ID (alternative to url)
capture_consoleNoCapture console output/errors emitted during the steps and include them in the result (default: false)
screenshot_afterNoTake a screenshot after all steps complete (default: true)
continue_on_errorNoContinue executing steps even if one fails (default: false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv0.12.0
    • changedInput schema / properties / steps / items / properties / action / enum
      Previous value: -[
      -  "click",
      -  "force_click",
      -  "fill",
      -  "force_fill",
      -  "type",
      -  "select",
      -  "select_option",
      -  "wait",
      -  "wait_for",
      -  "wait_for_text",
      -  "screenshot",
      -  "navigate",
      -  "hover",
      -  "press_key",
      -  "check",
      -  "uncheck",
      -  "scroll_to",
      -  "scroll_within",
      -  "evaluate_js",
      -  "drag",
      -  "right_click",
      -  "go_back",
      -  "go_forward",
      -  "upload_file",
      -  "wait_for_network"
      -]New value: +[
      +  "click",
      +  "force_click",
      +  "fill",
      +  "force_fill",
      +  "type",
      +  "select",
      +  "select_option",
      +  "wait",
      +  "wait_for",
      +  "wait_for_text",
      +  "screenshot",
      +  "navigate",
      +  "hover",
      +  "press_key",
      +  "check",
      +  "uncheck",
      +  "scroll_to",
      +  "scroll_within",
      +  "evaluate_js",
      +  "drag",
      +  "right_click",
      +  "go_back",
      +  "go_forward",
      +  "upload_file",
      +  "wait_for_network",
      +  "consent"
      +]
    • changedInput schema / properties / steps / items / properties / force / description
      Previous value: -"Bypass actionability checks on click (default: false)"New value: +"Trusted pointer click at coordinates, skipping actionability checks (for click; default: false)"
    • addedInput schema / properties / steps / items / properties / steps
      Added value: +{
      +  "description": "For hover: intermediate mousemove steps (default: 8 — realistic pointer path for hover-intent menus)",
      +  "type": "integer"
      +}
    • addedInput schema / properties / steps / items / properties / strategy
      Added value: +{
      +  "description": "For click: 'auto' escalates pointer → pointer_force → js_dispatch until the page changes (default: single)",
      +  "enum": [
      +    "single",
      +    "auto"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / steps / items / properties / value / description
      Previous value: -"Value (for fill, select)"New value: +"Value (for fill, select); for consent: accept|deny|dismiss"
  2. Changed2 schema fields changedv0.9.4
    • addedInput schema / properties / steps / items / properties / element_index
      Added value: +{
      +  "description": "Which match of 'selector' to target, 0-based (for select_option; default: 0)",
      +  "type": "integer"
      +}
    • changedInput schema / properties / steps / items / properties / url_pattern / description
      Previous value: -"URL substring to match (for wait_for_network)"New value: +"Required for wait_for_network: plain substring of the request URL (not a regex)"
  3. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations at all, the description carries the full disclosure burden. It does establish the two execution modes (existing session vs. ephemeral page) and the scope of the action vocabulary, but it says nothing about side effects on page state, what a partial failure under continue_on_error looks like, or what the result contains (screenshots, checks, console).

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?

Three front-loaded sentences with no filler, and the action inventory is scannable. The 26-item action list is somewhat redundant with the schema enum, but it is useful for quickly judging capability coverage.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 26-action orchestration tool with no output schema, the description should say what comes back (screenshots, check results, console capture) and how failures surface. The session/ephemeral distinction is covered, but an agent still can't tell what to expect from the response without inspecting the schema.

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 each field already documents its action applicability, defaults, and enum values. The description's action list merely restates the 'action' enum, adding no syntax, precedence, or semantics beyond the schema; baseline 3 applies.

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 verb+resource ('Execute a multi-step interaction workflow') and enumerates the 26 supported actions, which makes the tool's surface unambiguous. It does not, however, distinguish itself from single-action siblings such as click_element, select_option, or upload_file that appear to overlap with listed actions.

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 word 'multi-step' implies the tool is for chained interactions rather than single actions, and the closing sentence explains the session-vs-ephemeral choice. No explicit when-to-use/when-not or named alternative is given, so the agent must infer routing between this tool and the granular sibling actions.

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