Skip to main content
Glama

Verify Browser State

browser_verify
Read-only

Verifies expected URL, title, element visibility, text, input, checkbox, or select state against live Chromium, so you can confirm automated browser sessions match required conditions.

Instructions

Verify expected URL, title, element visibility, text, input value, checkbox, or select state against live Chromium.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "browser_verify"
  }
}

Input Schema

NameRequiredDescriptionDefault
task_idNoOptional task ID for execution tracking and cancellation
inputCheckNo
session_idNoOptional target browser session ID (defaults to active default session)
selectCheckNo
checkboxCheckNo
expectedUrlEqualsNo
expectedTextAbsentNo
expectedTextPresentNo
expectedUrlContainsNo
expectedTitleContainsNo
expectedSelectorHiddenNo
expectedSelectorVisibleNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.1

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered; the description's useful addition is that checks run against live Chromium rather than cached data. It is silent on important behavior: what happens when a check fails (throw vs. return false), whether checks retry/wait, and whether multiple assertions must all hold.

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?

A single dense sentence with the verb and full capability list up front and no filler. It could be tightened only by spending the same words on failure semantics instead of listing every check type.

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

Completeness2/5

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

For a 12-parameter assertion tool with no output schema, the description should say what a verification returns and how failures are reported, and whether multiple checks compose. None of that is present, leaving the agent unable to predict result shape or error behavior.

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?

With 12 parameters and only 17% schema description coverage, the description does compensate somewhat by naming the checkable categories, which map onto expectedUrlEquals/Contains, expectedTitleContains, expectedSelectorVisible/Hidden, expectedTextPresent/Absent, inputCheck, checkboxCheck and selectCheck. It adds no meaning for the distinctions that matter most: equals vs. contains, present vs. absent, and whether multiple checks are conjunctive.

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?

Specific verb ("verify") plus an enumerated set of assertable resources (URL, title, visibility, text, input, checkbox, select) makes the tool's job obvious. It does not, however, distinguish itself from the sibling native_chrome_verify, which appears to address the same purpose.

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

Usage Guidelines2/5

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

The description never states when to use this versus browser_observe, browser_extract, or native_chrome_verify, nor mentions preconditions such as an open session or page load state. Usage is only inferable from the fact that it checks 'live Chromium' state.

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