Skip to main content
Glama
Comet MCP Server

Comet MCP Server

by AdilShaikh1

comet_search_finance

Search Perplexity Finance for market dashboards, stock quotes, natural-language screeners, earnings calendars, and prediction markets, then read the loaded page to retrieve results.

Instructions

Search Perplexity Finance for market data, stock quotes, or screener results.

Navigates the active tab to the appropriate Perplexity Finance page and returns immediately. Call comet_read_page(selector="main") after ~3-5s to retrieve the full data. Screener mode returns after typing the query.

Modes:

  • "market": Dashboard — indices, sectors, movers, crypto, AI market summary

  • "quote": Stock/ETF/crypto detail — price, P/E, EPS, 52W range, AI analysis

  • "screener": Natural-language stock screener — type a query, get matches. The screener runs on Perplexity's Computer feature.

  • "earnings": Earnings calendar for the current week

  • "predictions": Prediction markets (Polymarket) — rates, oil, elections

Args: mode: One of 'market', 'quote', 'screener', 'earnings', 'predictions'. ticker: Ticker symbol for 'quote' mode (e.g., 'NVDA', 'BTCUSD', 'XLK'). query: Natural language query for 'screener' mode (e.g., 'semiconductor stocks with revenue growth > 20%').

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

Input Schema

NameRequiredDescriptionDefault
modeNomarket
queryNo
tickerNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.0

TDQS

A4.5/5.0
Behavior5/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 so: it discloses the side effect of navigating the active browser tab, that the call returns immediately without data, the required follow-up read, the ~3-5s delay, and that the screener runs on Perplexity's Computer feature. These are non-obvious behaviors an agent would otherwise get wrong.

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 purpose and the critical follow-up call, then organized into a scannable mode list plus an args section. The mode names are restated in the Args block, creating mild redundancy, but nearly every line adds operational 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 three-parameter navigation tool with an output schema (so return values needn't be described), the definition covers modes, parameters, timing, and the follow-up read. What's missing is any note on prerequisites (e.g., being connected/authenticated) or failure behavior if the page doesn't load.

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 there are no enums, so the description must supply all meaning — and it does, listing valid modes, explaining ticker is for 'quote' mode with examples (NVDA, BTCUSD, XLK), and giving a natural-language query example. It omits that mode defaults to 'market' and that ticker/query are mode-conditional, so it isn't fully exhaustive.

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?

The opening sentence names a specific verb and resource (Perplexity Finance) and the enumeration of five modes tells an agent exactly what data each returns (indices/sectors for market, price/P/E for quote, natural-language screener, etc.). This goes well beyond restating the name and lets an agent pick the right mode 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 Guidelines4/5

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

It gives explicit sequencing guidance: call this, wait ~3-5s, then call comet_read_page(selector="main") to retrieve data, and notes the screener returns right after typing. It also supplies concrete example queries per mode. It does not state when to prefer this over the generic comet_search sibling, which is the only gap.

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