Skip to main content
Glama
GetNote MCP Server

GetNote MCP Server

by iswalle

get_note

Retrieve a specified note's full details by ID, including body text, tags, attachments, audio transcriptions, and web links, so you can read the original source or AI summary as needed.

Instructions

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

字段语义说明(AI Agent 重要参考): content 通常是 AI 总结,不一定是原文。不同类型笔记的原文字段如下:

  • 引用笔记(ref):原文 = note.ref_content,note.content 是个人评论

  • 普通文字笔记(plain_text):原文 = note.content

  • 链接/网页笔记(link):原文 = note.web_page.content,AI 总结 = note.content

  • 录音笔记(audio/local_audio/meeting/recorder_audio/recorder_flash_audio/class_audio/internal_record):转写原文 = note.audio.original,AI 总结 = note.content

用户要求'读原文'时,先看 note.note_type,再按上述对应关系取字段。

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": "<id>"
    },
    "name": "get_note"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes笔记 ID。必须优先传十进制字符串;仅为兼容旧调用接受 JavaScript 安全整数
image_qualityNo图片质量。传 'original' 返回正文中图片的原图链接(无压缩)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.10.1
    • changedInput schema / properties / id / description
      Previous value: -"笔记 ID"New value: +"笔记 ID。必须优先传十进制字符串;仅为兼容旧调用接受 JavaScript 安全整数"
    • changedInput schema / properties / id / type
      Previous value: -[
      -  "number",
      -  "string"
      -]New value: +[
      +  "string",
      +  "number"
      +]
  2. First observedv1.1.0

TDQS

A3.5/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations supplied, the description carries the full load; it does disclose the most important behavioral surprise, namely that `content` is usually an AI summary rather than source text, plus a per-type field map. It says nothing about read-only safety, size or rate limits, or what happens for an unknown `id`, so the disclosure is substantive but incomplete for an unannotated tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded in one sentence and the field map is scoped under a clear heading that flags itself as agent guidance. It is long, but every line of the mapping table encodes a distinct note-type rule, so the length is largely earned.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the note-type-to-field mapping is exactly the missing information an agent needs to read results correctly, and the description supplies it well. Gaps remain around how tags/attachments/transcript sections are structured and when a dedicated note sub-tool is the better call.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% and both parameters already have descriptions, including the string-vs-integer rule for `id` and the 'original' enum for `image_quality`. The prose adds no parameter-level meaning at all, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence gives a specific verb and resource ("获取指定笔记的详细内容") and enumerates what comes back: body, tags, attachments, audio transcript, web links. That is enough for an agent to distinguish it from narrower siblings, but no sibling is ever named, so differentiation relies on the reader's inference.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is one concrete routing rule: when the user asks for 原文, inspect `note.note_type` and pull from the mapped field. That is genuinely useful, but it only covers one scenario and never says when to prefer this tool over the note-specific siblings that appear alongside it in the catalog.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.