Skip to main content
Glama
lv042

Perplexity Web-Search MCP

by lv042

web_search_academic

Search academic sources for scholarly information. Query Perplexity Sonar API to retrieve relevant results.

Instructions

Search academic sources using Perplexity Sonar API for scholarly information.

Args:
    query: The search query or question to ask Perplexity
    model: The Perplexity model to use. Options: "sonar", "sonar-pro", 
           "sonar-deep-research", "sonar-reasoning", "sonar-reasoning-pro"
           (default: "sonar")
    recency_filter: Time filter for results (e.g., 'week', 'day')
    city: City name for location-based search
    country: Two letter ISO country code

Returns:
    str: The search results from academic sources via Perplexity API

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYes
modelNosonar
recency_filterNo
cityNo
countryNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

With no annotations, the description must disclose behavioral traits but only states it uses an external API. It omits critical details such as rate limits, authentication requirements, cost implications, or what happens if the API fails. The mention of models is present but lacks context on how they differ behaviorally.

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 follows a clean docstring format with Args and Returns sections. It is well-organized and reasonably concise, though the Args list partially duplicates schema information. Every sentence adds value, but the structure could be slightly tighter.

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?

Given the presence of an output schema (avoiding need to detail returns), the description covers core purpose and parameters. However, it lacks guidance on usage context versus the sibling tool and omits behavioral transparency, leaving gaps for a tool that invokes an external API.

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?

Despite 0% schema description coverage, the description meaningfully explains each parameter. It lists query, model with options, recency_filter with examples, and city/country with their purpose. However, 'recency_filter' only gives examples without specifying exact accepted values, and the role of city/country in search could be clearer.

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 it searches academic sources using the Perplexity Sonar API for scholarly information. The verb 'search' and specific resource 'academic sources' provide a concrete purpose, and the explicit mention of the API distinguishes it from the sibling tool 'web_search'.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus the sibling 'web_search'. It does not mention alternative tools, prerequisites, or scenarios where this tool is preferred over a general web search.

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

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