Skip to main content
Glama

list_notes

Retrieve notes from your Notion database with filters for note type, tags, or quantity to organize and access information efficiently.

Instructions

列出笔记库中的笔记。

Args: note_type: 按类型过滤,可选:会议记录 | 想法 | 参考 | 速记 tag: 按标签过滤,精确匹配单个标签名称 limit: 返回条数,默认 20,最大 100

Returns: 笔记列表(字典格式,不含 body 内容)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
note_typeNo
tagNo
limitNo

Implementation Reference

  • The handler function for the 'list_notes' tool, which retrieves notes from the Notion client based on optional type, tag, and limit filters.
    def list_notes(
        note_type: Optional[str] = None,
        tag: Optional[str] = None,
        limit: int = 20,
    ) -> list[dict]:
        """
        列出笔记库中的笔记。
    
        Args:
            note_type: 按类型过滤,可选:会议记录 | 想法 | 参考 | 速记
            tag:       按标签过滤,精确匹配单个标签名称
            limit:     返回条数,默认 20,最大 100
    
        Returns:
            笔记列表(字典格式,不含 body 内容)
        """
        client = get_client()
        notes = client.list_notes(
            note_type=NoteType(note_type) if note_type else None,
            tag=tag,
            limit=limit,
        )
        return [n.model_dump() for n in 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