Skip to main content
Glama
seleniumbase

SeleniumBase MCP

Official

assert_title

Verify the page title matches the expected title exactly, ignoring whitespace, within a 7-second timeout, raising an exception on mismatch.

Instructions

Assert that the title matches the page title exactly, with leading and trailing whitespace ignored. Raises an exception if the expected title doesn't match the actual title within 7 seconds.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It usefully explains the exact match requirement, that leading/trailing whitespace is ignored, the 7-second timeout, and that an exception is raised on mismatch. It could go further by noting whether it waits/polls versus performs a single check, but the provided details already add meaningful behavioral clarity.

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?

The description is two sentences with no filler. The core action is front-loaded, and the timeout, whitespace handling, and failure behavior are stated compactly.

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 simple one-parameter assertion tool, the description covers the key behaviors: expected input, comparison semantics, timeout, and failure mode. Because an output schema exists, return-value documentation is not required. It could be slightly more complete with an explicit reference to the current page or an example, but nothing essential is missing for calling it 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 0%, so the description must compensate. It only implicitly identifies the single 'title' parameter as the expected title; the parameter name is self-descriptive and the whitespace behavior clarifies how the value is compared, but no explicit parameter semantics are provided beyond what can be inferred.

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 action ('Assert') and the resource ('the page title'), with a precise caveat about whitespace. It is distinguishable from siblings like assert_text or get_title by focusing on the page title specifically, but it does not explicitly name or distinguish itself from those alternatives.

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?

There is no guidance about when to use this tool versus related assertion or title-related tools such as get_title, assert_text, or assert_url_contains. The intended context is implied by the name and description, but the description does not provide any when-to-use or when-not-to-use guidance.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/seleniumbase/SeleniumBase'

If you have feedback or need assistance with the MCP directory API, please join our Discord server