Skip to main content
Glama
debugg-ai

Debugg AI MCP

Official
by debugg-ai

Run E2E Browser Test

check_app_in_browser

Verify a live website or localhost app by letting an AI agent browse, interact, and confirm whether a given task passes. For visual QA, flow validation, regression checks.

Instructions

Give an AI agent eyes on a live website or app. The agent browses it, interacts with it, and tells you whether a given task or check passed. Works on localhost or any URL. Use for visual QA, flow validation, regression checks, or anything that needs a real browser to verify.

LOCALHOST SUPPORT: Pass any localhost URL (e.g. http://localhost:3000) and it Just Works. A secure tunnel is automatically created so the remote browser can reach your local dev server — no manual tunnel setup, no port forwarding, no config.

SCOPE PER CALL: Keep each call to ONE focused check — a single page or a short interaction on a single screen (login, submit a form, verify a heading). For anything spanning multiple pages or long multi-step flows, split into SEPARATE calls — the remote browser agent has a ~25-step internal budget per call, and long single calls risk client-side timeouts. Example: instead of "log in, then go to settings, then update profile, then verify," make three calls: (1) log in & verify dashboard, (2) update settings, (3) verify profile change.

CREDENTIALS: pass them as PARAMETERS, not only in the description. Naming an account in description alone does not make the agent use it — it falls back to the environment's stored credential. Use username/password (or credentialId) for the run's identity, auth.username/auth.password to pin the precondition login, and loginCredentials for accounts the agent must use at a login form it hits PART-WAY through the task (e.g. set a password → bounced to sign-in → log in as the account you just created). Anything you specify beats the environment's default for every login in the run; the result reports the identity actually used under logins.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesURL to navigate to. Can be any public URL (https://example.com) OR a localhost/local dev server URL. For localhost URLs, a secure tunnel is automatically created — just make sure your dev server is running on that port.
authNoOptional auth-precondition for a 'log in THEN deep-navigate' check. Set precondition:'login' to authenticate first, then land on deepUrl. Use this instead of hoping the agent signs itself in at a login wall. Pass username/password here to pin WHICH account it authenticates as; omit them to use the environment's default credential. Cross-domain SSO (sign-in page on a different domain than the app): add that IdP host to the environment's authorizedCredentialHosts (environment tool), or the login there is refused as offscope_host.
passwordNoThe real password for the username above. Do NOT guess or use placeholder passwords — use credentials from the list above or ask the user.
repoNameNoGitHub repository name (e.g. 'my-org/my-repo'). Auto-detected from the current git repo — only provide this if you want to run against a different project than the one you're in.
usernameNoA real, existing account email for the target app. Do NOT invent or guess credentials — use one from the available credentials listed above, or ask the user. The browser agent will type this into the login form. Takes precedence over the environment's default credential for EVERY login in the run.
descriptionYesNatural language description of what to test or evaluate (e.g., 'Does the login form validate empty fields?' or 'Navigate to the homepage and verify the hero section loads')
credentialIdNoUUID of a specific credential to use for login. See available credentials in the tool description above.
freshSessionNoDefault false. Set true to force a REAL login instead of reusing the warm session the backend keeps per account. Use when the login flow itself is what you're checking, when you suspect the stored session is stale, or when the app's only route between personas is a logout. Costs one login; the run re-captures afterwards, so later runs stay fast.
environmentIdNoUUID of a specific environment to use for this test. See available environments in the tool description above.
credentialRoleNoPick a credential by role (e.g. 'admin', 'guest') from the resolved environment
loginCredentialsNoAccounts the agent may sign in as when it hits a login form DURING the task — not just the first login. Use this for flows that authenticate part-way through, e.g. set a password, get bounced to sign-in, then log in as the account you just provisioned. Stating credentials only in `description` is not enough: pass them here and the agent uses exactly these values. Overrides the environment's default credential.
useEnvironmentCredentialsNoDefault true. Set false to forbid the agent from ever auto-filling the environment's stored credentials — it signs in only as an account this call named (username/password, credentialId, credentialRole, loginCredentials, or auth.username), or not at all. Use when a run must prove a SPECIFIC account's experience and a silent fallback to the default test user would invalidate it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv4.3.0
    • changedInput schema / properties / auth / description
      Previous value: -"Optional auth-precondition for a 'log in THEN deep-navigate' check. Set precondition:'login' to authenticate first, then land on deepUrl. Use this instead of hoping the agent signs itself in at a login wall. Pass username/password here to pin WHICH account it authenticates as; omit them to use the environment's default credential."New value: +"Optional auth-precondition for a 'log in THEN deep-navigate' check. Set precondition:'login' to authenticate first, then land on deepUrl. Use this instead of hoping the agent signs itself in at a login wall. Pass username/password here to pin WHICH account it authenticates as; omit them to use the environment's default credential. Cross-domain SSO (sign-in page on a different domain than the app): add that IdP host to the environment's authorizedCredentialHosts (environment tool), or the login there is refused as offscope_host."
  2. Changed1 schema field changedv4.2.2
    • addedInput schema / properties / freshSession
      Added value: +{
      +  "description": "Default false. Set true to force a REAL login instead of reusing the warm session the backend keeps per account. Use when the login flow itself is what you're checking, when you suspect the stored session is stale, or when the app's only route between personas is a logout. Costs one login; the run re-captures afterwards, so later runs stay fast.",
      +  "type": "boolean"
      +}
  3. Changed6 schema fields changedv3.10.0
    • changedInput schema / properties / auth / description
      Previous value: -"Optional auth-precondition for a 'log in THEN deep-navigate' check. Set precondition:'login' to authenticate first (using the environment's credentials), then land on deepUrl. Use this instead of hoping the agent signs itself in at a login wall."New value: +"Optional auth-precondition for a 'log in THEN deep-navigate' check. Set precondition:'login' to authenticate first, then land on deepUrl. Use this instead of hoping the agent signs itself in at a login wall. Pass username/password here to pin WHICH account it authenticates as; omit them to use the environment's default credential."
    • addedInput schema / properties / auth / properties / password
      Added value: +{
      +  "description": "Password for auth.username.",
      +  "type": "string"
      +}
    • addedInput schema / properties / auth / properties / username
      Added value: +{
      +  "description": "Account to authenticate as for the precondition login. Overrides the environment's default credential.",
      +  "type": "string"
      +}
    • addedInput schema / properties / loginCredentials
      Added value: +{
      +  "description": "Accounts the agent may sign in as when it hits a login form DURING the task — not just the first login. Use this for flows that authenticate part-way through, e.g. set a password, get bounced to sign-in, then log in as the account you just provisioned. Stating credentials only in `description` is not enough: pass them here and the agent uses exactly these values. Overrides the environment's default credential.",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "label": {
      +        "description": "Optional human label (e.g. 'newly invited user') to disambiguate in the task text.",
      +        "type": "string"
      +      },
      +      "password": {
      +        "description": "That account's password.",
      +        "type": "string"
      +      },
      +      "username": {
      +        "description": "Account email/username to type into the login form.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "username",
      +      "password"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / useEnvironmentCredentials
      Added value: +{
      +  "description": "Default true. Set false to forbid the agent from ever auto-filling the environment's stored credentials — it signs in only as an account this call named (username/password, credentialId, credentialRole, loginCredentials, or auth.username), or not at all. Use when a run must prove a SPECIFIC account's experience and a silent fallback to the default test user would invalidate it.",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / username / description
      Previous value: -"A real, existing account email for the target app. Do NOT invent or guess credentials — use one from the available credentials listed above, or ask the user. The browser agent will type this into the login form."New value: +"A real, existing account email for the target app. Do NOT invent or guess credentials — use one from the available credentials listed above, or ask the user. The browser agent will type this into the login form. Takes precedence over the environment's default credential for EVERY login in the run."
  4. Addedv3.7.4
  5. Removedv3.7.2
  6. Changed1 schema field changedv3.7.0
    • addedInput schema / properties / auth
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Optional auth-precondition for a 'log in THEN deep-navigate' check. Set precondition:'login' to authenticate first (using the environment's credentials), then land on deepUrl. Use this instead of hoping the agent signs itself in at a login wall.",
      +  "properties": {
      +    "deepUrl": {
      +      "description": "Optional URL to navigate to and evaluate AFTER login (e.g. a deep settings page). Falls back to `url` if omitted.",
      +      "type": "string"
      +    },
      +    "entryUrl": {
      +      "description": "Optional URL of the login page to authenticate on.",
      +      "type": "string"
      +    },
      +    "environmentId": {
      +      "description": "UUID of the environment whose credentials to log in with. See available environments in the tool description above.",
      +      "type": "string"
      +    },
      +    "precondition": {
      +      "description": "'login' = authenticate before evaluating; 'none' (default) = no login precondition.",
      +      "enum": [
      +        "login",
      +        "none"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  7. Addedv2.6.1

TDQS

A4.3/5.0
Behavior5/5

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

The description goes well beyond the annotations by disclosing important runtime behaviors: automatic secure tunnel creation for localhost, the remote agent's internal step budget, risk of client-side timeouts on long calls, credential fallback behavior, and that the result reports the identity actually used under logins. This is rich, useful behavioral context that an agent needs, and it does not contradict any annotation.

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?

The description is long but well-organized with clear all-caps sections (LOCALHOST SUPPORT, SCOPE PER CALL, CREDENTIALS) and front-loads the core purpose. Each section earns its place given the tool's complexity and 12 parameters, but the credentials section is dense and somewhat repetitive with schema-level descriptions, preventing a 5.

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?

For a complex tool with 12 parameters, nested objects, and no output schema, the description covers the essential operational context: localhost tunneling, per-call scoping limits, authentication parameter selection, credential precedence, and what the result reports. An agent has enough information to invoke the tool correctly across the main scenarios described.

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 the baseline is 3, and the description adds genuine extra value by explaining cross-parameter relationships and precedence: how username/password, auth.username/password, and loginCredentials map to different login scenarios, and that 'Anything you specify beats the environment's default.' This meaningfully supplements the schema, though the schema already carries substantial documentation.

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?

The description clearly states the tool's function: an agent browses a live website or app, interacts with it, and reports whether a check passed. It also enumerates concrete use cases like visual QA, flow validation, and regression checks. However, it does not explicitly differentiate itself from the sibling tool probe_page, so it stops short of a 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?

The description gives clear guidance on when to use the tool ('Use for visual QA, flow validation, regression checks') and strong scoping instructions, including the ~25-step budget and the recommendation to split long flows into separate calls. It does not explicitly name alternative sibling tools or state when not to use this tool, so it earns a 4 rather than a 5.

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