Skip to main content
Glama

browser_front

Idempotent

Brings a browser tab to the foreground so you can interact with it; specify by index, targetId, or URL/title substring, but prefer front=true on click/fill/press/scroll.

Instructions

Raise a tab to foreground. Prefer passing front=true directly on click/fill/press/scroll.

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_front"
  }
}

Input Schema

NameRequiredDescriptionDefault
tabNoTab index string (e.g. '0'), targetId, or URL/title substring.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.1

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true and destructiveHint=false, so the safety profile is covered. The description adds the visible effect (tab comes to foreground) but omits the likely consequential side effect — whether raising a tab changes the default target for subsequent commands — and says nothing about behavior when the tab argument is omitted or matches nothing.

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?

Two short sentences with zero filler; the core action leads and the alternative-call guidance follows immediately. Nothing is repeated from the schema or annotations and every clause carries information.

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, single optional-parameter focus tool with no output schema, this covers purpose and the preferred alternative adequately. The remaining gap is edge-case behavior — ambiguous or non-matching tab selectors and whether the foreground change persists as session state.

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 100% and the single optional 'tab' parameter already documents the accepted forms (index string, targetId, URL/title substring). The description adds no matching rules, precedence between those forms, or default behavior when the parameter is absent, so it sits at the schema-driven 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 uses a specific verb and resource — 'Raise a tab to foreground' — which unambiguously describes the state change. It does not explicitly distinguish itself from the similarly named sibling 'browser_use_tab', leaving a small ambiguity about which one to pick when the intent is to switch target tabs.

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?

It explicitly steers the agent away from a separate round-trip: 'Prefer passing front=true directly on click/fill/press/scroll.' That is a concrete alternative and a condition for using it. What's missing is the positive trigger — e.g., 'use when a tab is already open and you have no interaction call to piggyback on' — so the agent must infer the primary use case.

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