Skip to main content
Glama

comet_mode

Switch Perplexity search modes to optimize web research: basic search, deep research, analytics/visualization, or educational exploration. Check current mode without switching.

Instructions

Switch Perplexity search mode. Modes: 'search' (basic), 'research' (deep research), 'labs' (analytics/visualization), 'learn' (educational). Call without mode to see current mode.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNoMode to switch to (optional - omit to see current mode)
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It effectively describes the tool's dual behavior: switching modes when a parameter is provided, and querying current mode when no parameter is given. However, it doesn't mention side effects, permissions needed, or rate limits.

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 description is perfectly concise with two sentences that each serve distinct purposes: the first explains the tool's purpose and mode options, the second explains the optional parameter behavior. Every word earns its place with zero redundancy.

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 single-parameter tool with good schema coverage but no output schema or annotations, the description provides excellent context about the tool's purpose, usage patterns, and parameter semantics. The only gap is lack of information about return values or error conditions.

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?

The schema has 100% description coverage, so the baseline is 3. The description adds value by explaining what each enum value represents ('search' = basic, 'research' = deep research, etc.), which provides semantic context beyond the schema's technical enum definition.

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 clearly states the verb ('Switch') and resource ('Perplexity search mode'), and specifies the four possible modes with brief explanations. It also distinguishes this tool from its siblings by focusing on mode switching rather than asking questions, connecting, polling, etc.

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?

The description explicitly states when to use the tool ('Switch Perplexity search mode') and provides clear alternatives for different scenarios: use with a mode parameter to switch modes, or call without mode to see current mode. This gives complete guidance on usage patterns.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hanzili/comet-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server