Skip to main content
Glama

Duplicate a tab

tab_duplicate

Duplicate a specified tab so the copy joins the caller's MCP group, then return the new tab summary for continued AI-agent browser control.

Instructions

Duplicate a tab; the copy joins the CALLER's MCP group. Returns the new tab summary.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "tabId": "<tabId>"
    },
    "name": "tab_duplicate"
  }
}

Input Schema

NameRequiredDescriptionDefault
tabIdYesTab ID to duplicate (must be in the MCP group)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.24.1

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations present, the description carries the full burden, and it does disclose two genuinely useful traits: the copy lands in the CALLER's MCP group (non-obvious multi-agent scoping) and the return value is the new tab summary. It still omits what state is duplicated, whether the source tab is unaffected, and whether the call can fail if the tab lives outside the caller's group.

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 clauses, no filler, and the behavioral constraint and return value are packed into a single sentence. Nothing could be removed without losing 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 one-parameter tool with full schema coverage, the description covers the action, the non-obvious grouping side effect, and the return shape, which partially compensates for the absent output schema. A brief note on failure conditions or source-tab state would make it fully complete.

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?

There is one parameter with 100% schema description coverage, so the schema already documents tabId and its requirement that the tab be in the MCP group. The description adds no format or constraint detail beyond that, so the baseline of 3 applies.

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?

"Duplicate a tab" gives a specific verb plus resource, and the follow-on clause clarifies the scope of the copy (it joins the CALLER's MCP group). It is easy to distinguish from tab_reload and tab_switch by name alone, but the description never explicitly contrasts itself with those siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied by the verb: an agent infers 'use this when you want a second copy of an existing tab.' There is no stated when-not-to-use case, no mention of when a new-tab navigation would be preferable, and no prerequisite about needing the tab already open.

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