Skip to main content
Glama
GetNote MCP Server

GetNote MCP Server

by iswalle

search_account_content

Searches all notes semantically to find content related to a query and returns matches ranked by relevance. Use it to locate notes that mention a topic or phrase.

Instructions

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

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": {
      "query": "<query>"
    },
    "name": "search_account_content"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYes搜索关键词或语义描述(必填)
top_kNo返回数量,默认 3,最大 10
response_modeNo显式摘要模式;不传保持旧正文。需search.snippet.v1,不支持课程内语义筛选
max_snippet_charsNo每个命中的Unicode码点上限,默认400;需response_mode=snippet,full只表示完整片段

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.12.3

TDQS

A3.6/5.0
Behavior3/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. It does add two genuinely useful disclosures beyond structured data: a required OAuth-style scope ('note.search_account_content.read') and the result ordering ('按相关度从高到低排序'). It does not describe what a result contains, whether results are truncated, or any rate/limit behavior, leaving real gaps for a search tool with no output schema.

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?

Four short clauses, front-loaded with the core action and scope, then scenarios, then ordering, then the permission requirement. Nothing is padded, though the scope sentence could be tighter and the scenario examples overlap with each other.

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

Completeness3/5

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

For a 4-parameter semantic search with no annotations and no output schema, the description covers purpose, triggers, ordering, and auth scope but omits what a hit actually contains and how snippet mode changes the payload — details an agent would need to interpret results. Adequate, not complete.

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 coverage is 100%, with per-parameter descriptions, a default of 3, a max of 10, and an enum plus min/max constraints on the snippet fields — so the schema already does the heavy lifting. The description adds no parameter-level meaning beyond 'results are relevance-ranked', which is a return characteristic rather than an argument semantics clarification.

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?

States a specific verb and scope: '全局语义搜索:在所有笔记中进行语义召回' — semantic recall across ALL notes, which implicitly separates it from a knowledge-base-scoped search among the siblings. The resource (notes) and the retrieval mode (semantic, not keyword) are explicit, so an agent can distinguish it without opening the schema, though no sibling is named outright.

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

Usage Guidelines4/5

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

Gives concrete trigger phrasings ('搜一下', '找找我哪些笔记提到了 XX'), which is a clear usage context an agent can pattern-match against user intent. It stops short of exclusions — nothing says when to prefer search_knowledge_base or get_note instead — so it lands at 4 rather than 5.

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