Skip to main content
Glama
otaviosenne

chrome-agent-mcp

by otaviosenne

browser_tabs

Manage browser tabs by listing, creating, closing, or switching between them. Get tab IDs to target specific tabs directly, and use agent IDs to bind agents to tabs for parallel execution.

Instructions

List, create, close, or switch browser tabs. Returns tabId for each tab — pass tabId to other tools to target a specific tab without switching.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNoURL to open in new tab
indexNoTab index (0-based) as alternative to tabId for close/switch
tabIdNoTab ID for close/switch actions (from list output)
actionYesOperation to perform. Use 'done' when finished working with a tab to show a completion indicator on its favicon.
agentIdNoAgent identifier for parallel execution. When action=new, binds this agent to the created tab — all subsequent calls with the same agentId automatically target that tab. Use a unique ID per agent (e.g. 'C1', 'J2').

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior3/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 does state that tabId is returned and can be used to target a tab 'without switching', and it lists close as a supported operation, conveying that the tool can mutate state. However, it does not mention the effects of switching (active tab change), the finality of close, or the behavior of the 'done' action, which are meaningful behavioral traits for an agent to know.

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 sentences with no filler. The primary capabilities are front-loaded, and the most important cross-tool behavior — using tabId to target tabs without switching — is stated clearly and economically.

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?

The description covers the core purpose, the return value, and the key cross-tool usage pattern. The schema is rich and documents all parameters including agentId and the 'done' action, so the description does not need to repeat those details. It is slightly incomplete in not mentioning index as an alternative to tabId, but the schema already handles that.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds real semantic value by explaining that tabId returned from list output can be passed to other tools to target a specific tab without switching. This connects the parameter to its cross-tool usage, which is not fully conveyed by the schema alone.

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 names a specific resource ('browser tabs') and four concrete verbs ('List, create, close, or switch'), making the tool's purpose immediately clear. This distinguishes it from page-level navigation siblings like browser_navigate and browser_reload, which operate within a single tab rather than managing tabs themselves.

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?

The description clearly conveys that this tool is for tab-level operations and explains how the returned tabId can be used with other tools, which gives the agent practical routing guidance. It does not explicitly exclude alternatives or state when to prefer browser_tabs over chrome_windows or browser_navigate, but the operation list implies the appropriate context.

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

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/otaviosenne/chrome-agent-mcp'

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