Skip to main content
Glama
Comet MCP Server

Comet MCP Server

by AdilShaikh1

comet_screenshot

Captures a base64 PNG screenshot of the current browser page, with optional full-page capture, for visual verification after navigation or to record charts and images missed by text extraction.

Instructions

Take a screenshot of the current Comet page. Returns base64 PNG.

Uses raw CDP (not Playwright) to avoid font-renderer hangs. Useful for visual verification after navigation or to capture charts/images that text extraction misses.

Args: full_page: Whether to capture the full scrollable page (not just viewport).

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

Input Schema

NameRequiredDescriptionDefault
full_pageNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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. It usefully discloses the return encoding and the implementation caveat (raw CDP to avoid font-renderer hangs), but omits prerequisites such as needing an active connection/tab (comet_connect) or page-load state, and says nothing about payload size or limits for a base64 image.

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 core action and return type, then the caveat, then the parameter. The Args block format is slightly heavyweight for one parameter but every sentence carries information; no filler.

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 simple single-parameter capture tool with an output schema, the description covers purpose, return encoding, and the one parameter's semantics adequately. The remaining gap is prerequisite context (active tab/connection), which matters for correct invocation in a browser-automation suite.

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 coverage is 0%, so the description must compensate, and it does: the Args block explains that full_page captures the full scrollable page rather than just the viewport, which is exactly the meaning the bare boolean lacks. The single parameter is fully covered.

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 ("Take a screenshot of the current Comet page") plus the return type (base64 PNG), and implicitly separates itself from text-extraction siblings by noting it captures "charts/images that text extraction misses." An agent can tell what this does and when it beats comet_read_page 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?

Gives concrete usage contexts: visual verification after navigation, or capturing visual content text extraction misses. It does not explicitly name an alternative tool or state when not to use it (e.g. prefer comet_read_page for text), so it stops short of full routing guidance.

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