Skip to main content
Glama
GetNote MCP Server

GetNote MCP Server

by iswalle

batch_get_notes

Retrieve up to 20 personal notes by ID in one ordered batch, preserving order and per-item status with configurable fields and content budget.

Instructions

单次后端批量读取最多20个去重个人笔记ID,保持顺序。默认content/ref_content/reference,original需显式选择;引用原文ref_content,content是评论。默认32000/最多64000Unicode码点及1MiB。逐条保留ok/unavailable/failed/deferred_budget、content_state、pending_ids和partial,成功调用不代表每条读完;整条超预算按需改用get_note_outline和read_note_section,不自动并发20次。不批量开放知识库共享权限。需note.batch_detail.v1。

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": {
      "ids": "<ids>"
    },
    "name": "batch_get_notes"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsYes
fieldsNo
max_total_charsNo正文Unicode码点预算,默认32000;不会截断成功项

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.12.3

TDQS

A4.7/5.0
Behavior5/5

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

No annotations are supplied, so the description carries the full burden, and it does: it discloses the default field set, the varying required scopes (original must be explicitly selected), the 32000/64000 code point and 1MiB budget defaults and caps, the per-item status vocabulary (ok/unavailable/failed/deferred_budget, content_state, pending_ids, partial), and the fact that a successful call does not mean every item was fully read. It also states the required permission, note.batch_detail.v1. This is far more than a mutation/read label would give.

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 content is front-loaded with the batch/scope statement, and almost every clause carries new information (defaults, budgets, statuses, fallbacks, permissions). However, it is a single long semicolon-chained run-on, so it is dense rather than cleanly structured.

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, but the description still sketches the return shape via per-item states, content_state, pending_ids, and partial, which is what an agent needs for this complexity. The one real gap is the unresolved 20-vs-200 ID limit, which conflicts with the input schema and could mislead call sizing.

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

Parameters4/5

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

Schema coverage is only 33%, and the fields parameter has no schema description, so the description compensates by defining the default set (content/ref_content/reference), the requirement to select original explicitly, and the distinction that ref_content is quoted original while content is the comment. It also gives meaning to max_total_chars as a code point budget that does not truncate successful items. It loses a point because the description caps batches at 20 IDs, while the schema allows maxItems 200, leaving the caller unsure which limit applies.

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

Purpose5/5

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

The description names a specific verb and resource ('单次后端批量读取...个人笔记ID'), and it specifies the scope: deduplicated IDs, order-preserving, and a per-call cap. It is clearly different from single-note siblings like get_note because it operates on ID batches and returns per-item states.

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

Usage Guidelines5/5

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

It explicitly names fallbacks for whole items that exceed the budget (get_note_outline and read_note_section), and it says not to fan out into 20 concurrent calls. It also states a clear exclusion: it does not batch-open knowledge-base sharing permissions.

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