Skip to main content
Glama
balakumardev

Perplexity MCP

by balakumardev

search

Perform web research with Perplexity AI by submitting a query, choosing search mode and sources, and receiving an answer with citations.

Instructions

Search Perplexity AI with the given query.

Args: query: The search query string mode: Search mode - 'auto', 'pro', 'reasoning', or 'deep_research' model: Specific model to use (depends on mode): - auto: None - pro: None, 'sonar', 'gpt-4.5', 'gpt-4o', 'claude 3.7 sonnet', 'gemini 2.0 flash', 'grok-2' - reasoning: None, 'r1', 'o3-mini', 'claude 3.7 sonnet' - deep_research: None sources: List of sources to use - 'web', 'scholar', 'social' answer_only: If True, return only answer and backend_uuid. If False, also include sources and related_queries. language: Language code (ISO 639, e.g., 'en-US') incognito: Whether to enable incognito mode

Returns: Dictionary with 'answer' and 'backend_uuid'. If answer_only=False, also includes 'sources' and 'related_queries'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYes
modeNoauto
modelNo
sourcesNo
answer_onlyNo
languageNoen-US
incognitoNo
Behavior2/5

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

With no annotations provided, the description bears full responsibility for behavioral disclosure. It details parameters and return values but does not mention side effects, idempotency, rate limits, or permissions. The tool likely performs a read-only search, but this is not stated.

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?

The description is well-organized into Args and Returns sections, with each parameter explained concisely. It could be slightly more terse, especially the model-per-mode lists, but it remains clear and front-loaded.

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?

Given the complexity of 7 parameters and no output schema or annotations, the description covers all parameters and describes the return structure. It lacks details about error handling or pagination, but it sufficiently informs usage for typical queries.

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 input schema has 0% description coverage, so the description must compensate. It does so by explaining modes, model dependencies, sources, answer_only behavior, language, and incognito mode, adding significant meaning beyond the bare schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool searches Perplexity AI with a given query. It lists all parameters but does not explicitly distinguish from sibling tools like follow_up or get_thread, which could cause ambiguity when deciding which tool to use.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

The description implies usage for performing searches but does not provide explicit guidance on when to use this tool versus alternatives, nor does it mention when not to use it. The sibling tools handle follow-ups and threads, so there is some implicit differentiation.

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/balakumardev/perplexity-web-wrapper'

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