Skip to main content
Glama
iswalle

GetNote MCP Server

by iswalle

recall

Search all notes using semantic matching to find relevant content based on keywords or descriptions. Returns ranked results for efficient information retrieval.

Instructions

全局语义搜索:在所有笔记中进行语义召回。适用场景:「搜一下」「找找我哪些笔记提到了 XX」。返回结果按相关度从高到低排序。需要 note.recall.read scope。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYes搜索关键词或语义描述(必填)
top_kNo返回数量,默认 3,最大 10

Implementation Reference

  • The actual handler method for the "recall" tool.
    async recall(body: { query: string; top_k?: number }) {
      return this.request<RecallResp>("POST", "/resource/recall", undefined, body);
    }
  • src/index.ts:502-521 (registration)
    The MCP tool definition for "recall".
    {
      name: "recall",
      description:
        "全局语义搜索:在所有笔记中进行语义召回。适用场景:「搜一下」「找找我哪些笔记提到了 XX」。返回结果按相关度从高到低排序。需要 note.recall.read scope。",
      inputSchema: {
        type: "object" as const,
        properties: {
          query: {
            type: "string",
            description: "搜索关键词或语义描述(必填)",
          },
          top_k: {
            type: "number",
            description: "返回数量,默认 3,最大 10",
            default: 3,
          },
        },
        required: ["query"],
      },
    },
  • The handler logic in index.ts that calls the client method for the "recall" tool.
    case "recall": {
      return client.recall({
        query: input.query as string,
        top_k: input.top_k as number | undefined,
      });
    }

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