Skip to main content
Glama

search_notes

Search your Notion notes using keywords to find relevant information quickly within your knowledge system.

Instructions

在笔记库中全文搜索笔记。

Args: query: 搜索关键词

Returns: 匹配的笔记列表

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYes

Implementation Reference

  • The handler function for the `search_notes` tool, which delegates to the Notion client's `search_notes` method.
    def search_notes(query: str) -> list[dict]:
        """
        在笔记库中全文搜索笔记。
    
        Args:
            query: 搜索关键词
    
        Returns:
            匹配的笔记列表
        """
        return [n.model_dump() for n in get_client().search_notes(query)]
  • server.py:52-52 (registration)
    Registration of the `search_notes` tool with the MCP server using the `mcp.tool` decorator.
    mcp.tool(search_notes)

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/wauwaya/notion-workflow-mcp'

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