Skip to main content
Glama
Comet MCP Server

Comet MCP Server

by AdilShaikh1

comet_search

Starts an asynchronous Perplexity search in a new tab and returns immediately, letting you retrieve streamed answers later without MCP timeouts.

Instructions

Start a Perplexity search in a new tab and return immediately.

Opens a NEW TAB, navigates to the search URL, and returns as soon as the page begins loading. Perplexity streams the answer in the background tab. Call comet_read_page after ~30-45s to retrieve the full answer.

This async-split design avoids MCP timeout issues on Cowork/cloud sessions. Each search gets its own tab (max 5, oldest auto-closed via FIFO).

Workflow: comet_connect → comet_search → (wait 30-45s) → comet_read_page → comet_security_scan (if suspicious).

Args: query: The search query. mode: 'search' (quick answers, wait ~15s) or 'research' (deep analysis with Gemini thinking, wait ~30-45s before calling comet_read_page).

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": {
      "query": "<query>"
    },
    "name": "comet_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNosearch
queryYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.2.0
    • removedInput schema / properties / wait_seconds
      Removed value: -{
      -  "default": 10,
      -  "title": "Wait Seconds",
      -  "type": "integer"
      -}
  2. First observedv0.1.0

TDQS

A4.1/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 burden and does notable work: it discloses the tab lifecycle (new tab, max 5, FIFO auto-close), the asynchronous streaming behavior, and why the split exists (avoiding MCP timeouts on cloud sessions). It does not mention permission or authentication requirements, and the retry/partial-answer failure mode (what if the page hasn't finished streaming at 30s) is left unspecified.

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?

Front-loaded with the key behavior and then organized into workflow, rationale, and args sections. A few lines are redundant with each other (the timeout rationale restates the async design already described in the first paragraph), and the Args block duplicates structured schema fields, but nothing is genuinely wasteful.

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?

Output schema exists, so return values needn't be explained, and the description covers timing, tab limits, and pipeline position for a two-parameter tool. It stops short on failure handling and on how the 5-tab FIFO limit affects concurrent searches, which matters for an agent planning multiple queries.

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?

Schema description coverage is 0% and the mode parameter has no enum, yet the description supplies both values, their semantics, and the wait time each implies, and clarifies query as the search query. That fully compensates for the bare schema, though it doesn't say what mode is used when omitted or whether the default is 'search'.

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 ("Start a Perplexity search in a new tab") plus the crucial scoping detail "and return immediately," which separates it from the blocking alternatives. It also names the downstream siblings (comet_read_page, comet_connect, comet_security_scan) so the agent can place it in a pipeline without opening other schemas.

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 an explicit ordered workflow with concrete timing: wait ~30-45s, use ~15s for 'search' mode, and call comet_security_scan if suspicious. What's missing is any guidance versus the sibling comet_search_finance, so an agent choosing between the two search entry points gets no routing rule.

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