Skip to main content
Glama
devdotbo

Perplexity Web MCP

by devdotbo

pplx_query

Retrieve answers from Perplexity AI by choosing a specific large language model, with optional extended thinking and focused sources, costing one PRO search query per call.

Instructions

Query Perplexity AI with explicit model selection. COSTS 1 PRO SEARCH QUERY per call.

Prefer pplx_smart_query for automatic quota-aware routing. Use this only when you need a specific model or thinking mode.

Args: query: The question to ask model: Model to use - auto, sonar, deep_research, gpt54, gpt55, claude_sonnet, claude_opus, gemini_pro, nemotron, kimi_k26 thinking: Enable extended thinking mode (available for gpt54, gpt55, claude_sonnet, claude_opus, kimi_k26; always on for gemini_pro and nemotron) source_focus: Source aliases, raw source IDs, or comma-separated source list

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelNoauto
queryYes
thinkingNo
source_focusNoweb

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Discloses cost: 'COSTS 1 PRO SEARCH QUERY per call.' Also notes which models support thinking mode. While it doesn't explicitly state read-only or idempotency, the description provides key behavioral context for a query tool, and annotations are absent, so the description carries the burden well.

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 efficient: a cost warning, usage guidance, and a parameter list with explanatory details. Every sentence serves a purpose, though the parameter list could be slightly more compact without losing clarity.

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?

Given the presence of many sibling tools, 4 parameters, and an output schema, the description covers all essential aspects: when to use, cost, model options, thinking constraints, source_focus flexibility. No gaps remain for the agent to make informed decisions.

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?

With 0% schema description coverage, the description fully compensates by explaining each parameter: query (the question), model (listing options), thinking (availability caveats), and source_focus (possible values). This adds substantial meaning beyond the schema's type/default definitions.

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?

Explicitly states 'Query Perplexity AI with explicit model selection', indicating a specific verb and resource. It distinguishes itself from siblings by emphasizing the need for explicit model choice, contrasting with pplx_smart_query's automatic routing.

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?

Provides clear guidance: 'Prefer pplx_smart_query for automatic quota-aware routing. Use this only when you need a specific model or thinking mode.' This explicitly states when to use and when not, naming an alternative.

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/devdotbo/perplexity-web-mcp'

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