Skip to main content
Glama
Comet MCP Server

Comet MCP Server

by AdilShaikh1

comet_type

Types text into a CSS-selected input field on the current Comet page, clearing the field first and optionally pressing Enter after entry.

Instructions

Type text into an input field in the current Comet page.

For Perplexity searches, prefer comet_search (URL-based, no selectors needed). Use this for form inputs on other sites. Clears the field by default before typing.

Args: selector: CSS selector of the input field. text: Text to type into the field. press_enter: Whether to press Enter after typing. clear_first: Whether to clear the field before typing (default true).

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": {
      "selector": "<selector>",
      "text": "<text>"
    },
    "name": "comet_type"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes
selectorYes
clear_firstNo
press_enterNo

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 and does disclose the important mutation trait that the field is cleared by default before typing, plus the optional Enter press. It says nothing about failure behavior (missing selector), whether it waits for the element, or that it acts only on the current page's active tab.

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?

The core behavior and the alternative-tool routing are front-loaded in two sentences, followed by a compact Args block. Every line carries information not repeated elsewhere.

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

Completeness3/5

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

An output schema exists, so return values need not be explained, and the parameter list is well covered. But for an unannotated browser-mutation tool, the definition leaves out prerequisites and failure modes an agent would want before calling it.

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%, so the description must compensate, and it does: all four parameters are explained, including that clear_first defaults to true and press_enter controls Enter after typing. It does not add format constraints (selector syntax, multi-line text, special keys), leaving some ambiguity.

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 description opens with a specific verb+resource ("Type text into an input field in the current Comet page") and scopes it to the active page, which cleanly separates it from sibling tools like comet_search and comet_click. An agent can identify the operation 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 explicitly routes Perplexity searches to comet_search and declares this tool the choice for "form inputs on other sites," giving a clear use/when-not-to-use split. It stops short of guidance on edge cases such as submitting a form versus typing into non-input fields.

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