Skip to main content
Glama
JustasMonkev

MCP Accessibility Scanner

browser_navigate

Destructive

Direct the browser to a specified URL to initiate automated web accessibility scans, enabling WCAG compliance checks with visual and JSON reports for remediation.

Instructions

Navigate to a URL

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesThe URL to navigate to

Implementation Reference

  • Handler function that executes the browser_navigate tool: ensures an active tab, navigates to the specified URL, includes a snapshot in the response, and adds the equivalent Playwright code.
    handle: async (context, params, response) => {
      const tab = await context.ensureTab();
      await tab.navigate(params.url);
    
      response.setIncludeSnapshot();
      response.addCode(`await page.goto('${params.url}');`);
    },
  • Input schema definition for the browser_navigate tool, specifying the required 'url' parameter.
    schema: {
      name: 'browser_navigate',
      title: 'Navigate to a URL',
      description: 'Navigate to a URL',
      inputSchema: z.object({
        url: z.string().describe('The URL to navigate to'),
      }),
      type: 'destructive',
    },
  • src/tools.ts:38-56 (registration)
    Registration of all tools, including browser_navigate from the navigate module, into the allTools array used by the backend.
    export const allTools: Tool<any>[] = [
      ...common,
      ...console,
      ...dialogs,
      ...evaluate,
      ...files,
      ...form,
      ...install,
      ...keyboard,
      ...navigate,
      ...network,
      ...mouse,
      ...pdf,
      ...screenshot,
      ...snapshot,
      ...tabs,
      ...wait,
      ...verify,
    ];
  • MCP backend callTool method that dispatches to the specific tool handler by name, including browser_navigate.
    async callTool(name: string, rawArguments: mcpServer.CallToolRequest['params']['arguments']) {
      const tool = this._tools.find(tool => tool.schema.name === name)!;
      if (!tool)
        throw new Error(`Tool "${name}" not found`);
      const parsedArguments = tool.schema.inputSchema.parse(rawArguments || {});
      const context = this._context!;
      const response = new Response(context, name, parsedArguments);
      context.setRunningTool(name);
      try {
        await tool.handle(context, parsedArguments, response);
        await response.finish();
        this._sessionLog?.logResponse(response);
      } catch (error: any) {
        response.addError(String(error));
      } finally {
        context.setRunningTool(undefined);
      }
      return response.serialize();
    }
  • BrowserServerBackend constructor initializes _tools using filteredTools, which includes browser_navigate.
    constructor(config: FullConfig, factory: BrowserContextFactory) {
      this._config = config;
      this._browserContextFactory = factory;
      this._tools = filteredTools(config);
Behavior3/5

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

The description doesn't add behavioral information beyond what annotations provide. Annotations already indicate this is a destructive operation (destructiveHint: true) and not read-only (readOnlyHint: false), which covers the core safety profile. The description doesn't disclose additional traits like navigation behavior (e.g., page loading, timeouts, or error handling).

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 extremely concise with just three words, front-loading the essential information without any wasted text. It's appropriately sized for a simple tool with one parameter and clear annotations.

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?

Given the tool's complexity (simple navigation with one parameter), rich annotations covering safety aspects, and no output schema, the description is minimally adequate. However, it lacks context about what navigation entails (e.g., loading a webpage, potential side effects) that would help an agent understand the tool's behavior more fully.

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 100% schema description coverage, the input schema already documents the single 'url' parameter thoroughly. The description doesn't add any meaningful parameter semantics beyond what's in the schema, such as URL format requirements or validation rules, so it meets the baseline.

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 'Navigate to a URL' clearly states the action (navigate) and target resource (URL), making the tool's purpose immediately understandable. However, it doesn't differentiate from sibling tools like 'browser_navigate_back' or 'browser_navigate_forward' which are related navigation operations, so it doesn't reach the highest score.

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 provides no guidance on when to use this tool versus alternatives. It doesn't mention when navigation is appropriate compared to other browser actions like 'browser_click' or 'browser_type', nor does it specify any prerequisites or context for navigation operations.

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

Related 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/JustasMonkev/mcp-accessibility-scanner'

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