Skip to main content
Glama
Comet MCP Server

Comet MCP Server

by AdilShaikh1

comet_tabs

Manage Comet browser tabs by listing, switching, or closing them to free memory and maintain clean search context. Opens new tabs for searches and auto-closes the oldest beyond five.

Instructions

Manage tabs in the Comet browser. Each comet_search opens a new tab (tagged [search] in list output). Use 'list' to see all tabs, 'switch' to go back to a previous search result, 'close' to free memory.

Tab hygiene: list tabs periodically and close old ones. Max 5 search tabs are kept (oldest auto-closed). Closing a tab removes it from search tracking.

Args: action: 'list' (show all), 'new' (open tab), 'switch' (by index), 'close' (by index). tab_index: Tab index for 'switch' or 'close' (0-based, from 'list' output). url: URL for 'new' tab action (opens blank if omitted).

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

Input Schema

NameRequiredDescriptionDefault
urlNo
actionNolist
tab_indexNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and discloses real behavioral traits: a max of 5 search tabs with oldest auto-closed, the fact that closing a tab removes it from search tracking, and that 'new' opens blank when url is omitted. It does not clarify side effects of 'switch' on page state or whether tab state survives across sessions.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded, followed by usage, hygiene, and parameters in a logical order. Slight redundancy exists between the prose usage sentence and the Args block restating action semantics, but no sentence is wasted.

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 3-parameter tool with an output schema, the description covers purpose, per-action usage, lifecycle rules (5-tab cap, auto-close), and all parameter semantics. Remaining gaps such as return format are handled by the output schema, so nothing critical to correct invocation is missing.

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?

Schema description coverage is 0%, but the Args block fully compensates: it enumerates the action values, explains tab_index is 0-based and sourced from 'list' output, and states url is optional with a defined default behavior (blank tab). Every parameter's meaning is covered beyond the bare schema types.

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?

States a specific verb and resource ('Manage tabs in the Comet browser') and then enumerates the concrete operations (list, new, switch, close). It also explains the relationship to the sibling tool comet_search by noting each search opens a tab tagged [search], so an agent can distinguish tab management from searching.

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?

Gives clear per-action usage ('list' to see all tabs, 'switch' to return to a prior search result, 'close' to free memory) plus a hygiene recommendation to list periodically and close old tabs. It stops short of explicit when-not guidance or naming alternatives other than comet_search, so it falls just below the top mark.

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