Skip to main content
Glama
iswalle

GetNote MCP Server

by iswalle

list_topic_notes

Retrieve notes from a knowledge base with paginated results, enabling organized access to content collections.

Instructions

获取指定知识库内的笔记列表(每页 20 条)。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
topic_idYes知识库 ID
pageNo页码,从 1 开始(默认 1)

Implementation Reference

  • The handler function that executes the API request for listing topic notes.
    async listTopicNotes(params: { topic_id: string; page?: number }) {
      return this.request<ListTopicNotesResp>(
        "GET",
        "/resource/knowledge/notes",
        { topic_id: params.topic_id, page: params.page }
      );
    }
  • src/index.ts:271-280 (registration)
    Registration of the list_topic_notes tool within the MCP server setup.
    {
      name: "list_topic_notes",
      description: "获取指定知识库内的笔记列表(每页 20 条)。",
      inputSchema: {
        type: "object" as const,
        properties: {
          topic_id: {
            type: "string",
            description: "知识库 ID",
          },
  • Response interface definition for listTopicNotes.
    export interface ListTopicNotesResp {
      notes: TopicNoteItem[];
      has_more: boolean;
      total: number;

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/iswalle/getnote-mcp'

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