Skip to main content
Glama

validate_page

Navigate to a URL, wait for a selector, capture console errors, and return a structured health summary including page title, errors, interactive element count, and a body text sample.

Instructions

Composite health check: navigate, wait, capture console errors, return structured summary (title, errors, interactive count, body sample).

When to use: Verifying a page renders correctly without errors in a single call instead of chaining navigate + wait_for + console_capture + read_page. When NOT to use: Use navigate + read_page when you need full DOM content, not just a health summary.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesURL to validate. http:// and https:// schemes only.
tabIdNoReuse an existing tab. Omit to create a new tab.
waitForSelectorNoOptional CSS selector that must appear before the page is considered ready.
captureConsoleMsNoHow long to listen for console errors after navigation completes. Default: 1500, max: 10000.
bodyTextSampleCharsNoHow much visible body text to include in the summary. Default: 500, max: 2000.
include_metricsNoWhen true, include approximate output size/token metrics for the returned summary and body sample. Default: false.
Behavior4/5

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

The description discloses key behavioral traits: it performs navigation (mutation), waits for a selector, captures console errors, and returns a summary. Annotations are not very informative (openWorldHint=true), but the description adds valuable context beyond them. No contradiction.

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 concise: one sentence for purpose, two for usage guidance. Every sentence adds value, no redundancy.

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?

Given no output schema, the description mentions return fields (title, errors, interactive count, body sample). It covers the core use case well. Minor gap: no mention of error handling on navigation failure, but overall sufficient for the complexity.

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?

Input schema has 100% description coverage for all 6 parameters. The description does not add significant meaning beyond the schema, but it contextualizes the parameters within the composite action. Baseline 3 is appropriate.

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?

The description clearly states it is a composite health check combining navigation, waiting, console error capture, and returning a structured summary. It distinguishes itself from sibling tools like navigate and read_page by emphasizing its composite nature.

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

Usage Guidelines5/5

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

Explicitly provides 'When to use' and 'When NOT to use' guidelines, directing the agent to use this tool for a single-call health check instead of chaining multiple tools, and to use navigate + read_page when full DOM content is needed.

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/shaun0927/openchrome'

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