Skip to main content
Glama
ppl-ai

Perplexity API Platform MCP Server

by ppl-ai

perplexity_reason

Generate well-reasoned responses using AI by processing conversation messages with Perplexity's sonar-reasoning-pro model. Accepts message arrays with role/content pairs and optionally removes thinking tags to optimize token usage.

Instructions

Performs reasoning tasks using the Perplexity API. Accepts an array of messages (each with a role and content) and returns a well-reasoned response using the sonar-reasoning-pro model.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
messagesYesArray of conversation messages
strip_thinkingNoIf true, removes <think>...</think> tags and their content from the response to save context tokens. Default is false.

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/ppl-ai/modelcontextprotocol'

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