Skip to main content
Glama
WebTrace MCP Server

WebTrace MCP Server

by kings0527

list_tabs

List all open browser tabs to choose the target page across multiple windows, tabs, or incognito windows, with an option to include browser-internal pages.

Instructions

列出当前浏览器所有标签页,用于在多窗口、多标签页或隐身窗口中选择目标页。

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": "list_tabs"
  }
}

Input Schema

NameRequiredDescriptionDefault
includeRestrictedNo是否包含 chrome://、edge:// 等浏览器内部页面。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. '列出' strongly implies a read-only operation, and the description adds multi-window/incognito scope, but it does not state permissions, side effects, or return format.

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 a single compact sentence with the main action front-loaded. Every phrase adds useful scope or usage context, with no redundant wording.

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 list tool with no required parameters and one schema-documented optional flag, the description is almost complete. It could mention what information each tab entry contains, but that is a minor gap for this low-complexity tool.

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?

The only parameter, includeRestricted, has full schema description coverage, so the schema already explains its meaning. The description does not add parameter-specific guidance beyond what the schema provides, making 3 the appropriate 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 states a specific verb and resource: listing all current browser tabs. It clearly distinguishes listing from tab activation by saying it is used to choose a target page, but it does not explicitly contrast with other sibling inspection tools.

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 gives a clear usage context: multi-window, multi-tab, or incognito scenarios where a target page must be selected. It does not state when not to use it or name specific alternative tools, but the intended scenario is clear.

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