Skip to main content
Glama
iswalle

GetNote MCP Server

by iswalle

get_note

Retrieve detailed note content including text, tags, attachments, audio transcripts, and web links from the GetNotes platform using note ID.

Instructions

获取指定笔记的详细内容,包括正文、标签、附件、音频转录、网页链接等。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes笔记 ID
image_qualityNo图片质量。传 'original' 返回正文中图片的原图链接(无压缩)

Implementation Reference

  • Implementation of the getNote method in the API client.
    async getNote(id: number | string, image_quality?: string) {
      return this.request<GetNoteResp>("GET", "/resource/note/detail", { id, image_quality });
    }
  • src/index.ts:74-92 (registration)
    Tool registration for get_note in the MCP server.
    {
      name: "get_note",
      description: "获取指定笔记的详细内容,包括正文、标签、附件、音频转录、网页链接等。",
      inputSchema: {
        type: "object" as const,
        properties: {
          id: {
            type: ["number", "string"],
            description: "笔记 ID",
          },
          image_quality: {
            type: "string",
            enum: ["original"],
            description: "图片质量。传 'original' 返回正文中图片的原图链接(无压缩)",
          },
        },
        required: ["id"],
      },
    },
  • Tool handler for get_note in the MCP server.
    case "get_note": {
      return client.getNote(input.id as number | string, input.image_quality as string | undefined);
    }
  • Response type definition for get_note.
    export interface GetNoteResp {
      note: NoteDetail;
    }

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