Skip to main content
Glama
iswalle

GetNote MCP Server

by iswalle

remove_note_from_topic

Remove notes from a knowledge base topic to maintain organization and relevance in your GetNote workspace.

Instructions

将笔记从知识库中移除。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
topic_idYes知识库 ID
note_idsYes笔记 ID 列表

Implementation Reference

  • The actual API client method that performs the network request to remove notes from a topic.
    async removeNoteFromTopic(body: { topic_id: string; note_ids: (number | string)[] }) {
      return this.request<RemoveNoteResp>(
        "POST",
        "/resource/knowledge/note/remove",
        undefined,
        body
      );
  • src/index.ts:310-327 (registration)
    Registration of the remove_note_from_topic tool in the MCP tool list.
      name: "remove_note_from_topic",
      description: "将笔记从知识库中移除。",
      inputSchema: {
        type: "object" as const,
        properties: {
          topic_id: {
            type: "string",
            description: "知识库 ID",
          },
          note_ids: {
            type: "array",
            items: { type: ["number", "string"] },
            description: "笔记 ID 列表",
          },
        },
        required: ["topic_id", "note_ids"],
      },
    },
  • Tool handler logic that delegates the remove_note_from_topic tool invocation to the client.
    case "remove_note_from_topic": {
      return client.removeNoteFromTopic({
        topic_id: input.topic_id as string,
        note_ids: input.note_ids as (number | string)[],
      });
    }

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