Skip to main content
Glama
Comet MCP Server

Comet MCP Server

by AdilShaikh1

comet_read_page

Retrieve the text content of the current Comet page or active tab after a search, with optional CSS selector targeting and link extraction. Use it to read streamed answers or re-read specific page sections.

Instructions

Read the text content of the current page (or active tab) in Comet.

PRIMARY USE: Call this after comet_search to retrieve the streamed answer. Wait ~30-45s (research mode) or ~15-20s (search mode) before calling. If the answer is still loading ("Searching the web" in output), wait longer and call again.

Also use to drill into specific page sections or re-read content. Content is auto-sanitized — if injections are detected, run comet_security_scan.

Args: selector: Optional CSS selector to read specific content (e.g. 'main'). include_links: Whether to include href URLs from links. max_length: Maximum characters to return (default 50000).

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

Input Schema

NameRequiredDescriptionDefault
selectorNo
max_lengthNo
include_linksNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.7/5.0
Behavior4/5

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

With no annotations, the description carries the burden well: it discloses auto-sanitization of content, injection detection with a routing action, and loading-state behavior that affects when results are usable. Gaps remain around failure modes (page not loaded, no active tab) and whether only visible text is captured, so it stops short of a 5.

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 primary use, then timing rules, then args — well ordered and mostly tight. A few lines (secondary use cases) are lower value than the timing guidance, but nothing is truly redundant given the tool's procedural nature.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-required-parameter read tool with an output schema already documenting return shape, this covers purpose, timing prerequisites, sanitization, and every argument. An agent has everything needed to invoke it correctly and interpret loading states.

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%, so the description must compensate, and it documents all three parameters: selector as an optional CSS selector with an example ('main'), include_links as including href URLs, and max_length as a character cap with its 50000 default. That fully covers the schema's blind spots.

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 ('Read the text content of the current page (or active tab) in Comet') with clear scope. The PRIMARY USE block and the mention of comet_search/comet_security_scan let an agent distinguish it from siblings without opening schemas.

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?

Explicit when-to-use: call after comet_search, with concrete wait windows (~30-45s research mode, ~15-20s search mode) and a retry rule if 'Searching the web' is still shown. It also names the fallback path for detected injections (comet_security_scan) and a secondary use (drilling into sections or re-reading).

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