Skip to main content
Glama
Comet MCP Server

Comet MCP Server

by AdilShaikh1

comet_connect

Establishes a connection to the Comet browser via CDP, auto-launching it if needed. Call this first before any other Comet tool, and again to reconnect if the connection drops.

Instructions

Connect to the Comet browser via CDP. Auto-launches Comet if needed.

ALWAYS call this first before using any other comet tool. On success, returns connection info plus a workflow guide for optimal results.

If connection is lost mid-session, call this again to reconnect.

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_connect"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/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 a meaningful side effect (auto-launching Comet if needed), the return contents (connection info plus a workflow guide), and the idempotent reconnect case. It stops short of failure modes — what happens if Comet is absent, whether launch blocks, or expected latency — which is the only remaining behavioral gap.

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?

Four short sentences, front-loaded with the core action and the mandatory-call rule, then the success payload, then the reconnect edge case. Nothing is redundant and each sentence adds a distinct fact.

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 zero-parameter tool with an output schema (so return values need no explanation), this covers sequencing, side effects, and recovery. Slightly incomplete on error handling and launch preconditions, but an agent has everything needed to invoke it correctly.

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?

The tool takes no parameters, so there is no parameter meaning to add beyond the schema; the baseline for a zero-parameter tool applies. The description correctly avoids restating an empty input contract.

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 ('Connect to the Comet browser via CDP') and immediately distinguishes itself from all siblings by declaring it is the prerequisite step ('ALWAYS call this first before using any other comet tool'). An agent can identify the tool's role without opening the schema.

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?

Gives explicit when-to-use ('before using any other comet tool'), when-to-reuse ('if connection is lost mid-session, call this again'), and the natural sequencing constraint. There is no competing alternative tool, so the lack of named alternatives is not a gap.

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