Skip to main content
Glama
RossH121

Perplexity MCP Server

list_filters

Display current filter configuration for web searches, showing allowed domains, blocked domains, and recency settings to debug search behavior.

Instructions

Display current filter configuration including allowed domains, blocked domains, and active recency setting. Useful for debugging search behavior.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The core handler function for the 'list_filters' tool. It retrieves the current filter status from FilterState and returns it as a standardized MCP text content response.
    async handleListFilters() { const statusMessage = this.filterState.getFilterStatus(); return { content: [ { type: "text", text: statusMessage, }, ], }; }
  • The JSON schema definition for the 'list_filters' tool, including name, description, and empty input schema (no parameters required). This is part of the TOOL_SCHEMAS array used for tool listing.
    { name: "list_filters", description: "Display current filter configuration including allowed domains, blocked domains, and active recency setting. Useful for debugging search behavior.", inputSchema: { type: "object", properties: {}, }, },
  • Registration of the 'list_filters' tool in the MCP server's call_tool request handler switch statement, dispatching to the FilterManagementHandler.
    case "list_filters": return this.filterManagementHandler.handleListFilters();

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

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