Skip to main content
Glama

get_tabs

Read-onlyIdempotent

List all open tabs with their ID, URL, title, and active flag to find the correct tab_id; optionally include window bounds, state, and monitor info for placement.

Instructions

List every open tab with id, url, title and active flag. Read-only. Use it to find a tab_id when the implicit target (last navigated tab, else the active one) is not the tab you mean. include_windows adds the windows themselves with their position, size, state and type — what you need before moving or tiling anything, and the only way to tell which monitor a window is on.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
include_windowsNoAlso return the windows with bounds, state, type and tab count
Behavior5/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false; the description reinforces with 'Read-only' and adds behavioral detail about listing every open tab and the include_windows effect on window attributes. No contradictions.

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 that front-load the core function and then expand on usage and the optional parameter. Every sentence earns its place; no fluff.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's low complexity (one optional parameter, no output schema), the description provides all necessary return fields, usage guidance, and safety context, making it fully self-contained.

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

Parameters5/5

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

Though schema covers include_windows at 100%, the description adds meaning by explaining why you'd set it (before moving/tiling, to identify monitor) and what it returns (position, size, state, type), going beyond the schema's 'bounds, state, type and tab count'.

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 uses a specific verb 'List' with a clear resource 'every open tab' and enumerates the exact fields returned (id, url, title, active flag). This distinguishes it from sibling tools like get_frames or get_page_info.

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 states when to use: 'Use it to find a tab_id when the implicit target (last navigated tab, else the active one) is not the tab you mean.' Also guides the include_windows option for moving/tiling and determining monitor placement, giving practical context.

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/frsorrentino/chrome-bridge'

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