Skip to main content
Glama

add_note_to_knowledge_base

Add an existing note to a knowledge base using its note ID. Specify a title and optional folder to organize the note.

Instructions

将已有的 IMA 笔记添加到知识库。需要先通过 create_note 创建笔记获取 note_id,或将 get_media_info 返回的 notebook_id 作为 note_id 传入。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleYes在知识库中显示的标题。
note_idYes笔记 ID(create_note 返回的 doc_id,或 notebook_id)。
folder_idNo目标文件夹 ID(folder_ 前缀)。省略则添加到根目录。
knowledge_base_idNo目标知识库 ID(可省略,自动解析)。
Behavior3/5

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

With no annotations, the description carries the burden of behavior disclosure. It mentions that the note must already exist and that a notebook_id can be repurposed as note_id, but it does not mention side effects, permissions, or error conditions. This is minimal but not fully transparent.

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

Conciseness5/5

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

The description consists of two sentences, with the purpose front-loaded and the prerequisite guidance in the second sentence. Every word contributes value.

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?

For a simple add operation with no output schema, the description is adequate: it states the purpose, explains how to obtain the key parameter, and references prerequisites. It could optionally mention failure behavior, but the tool is straightforward.

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?

The input schema covers all four parameters with descriptions, including the nuance that note_id can be a doc_id or notebook_id. The description repeats this information without adding new meaning beyond the schema, so the baseline of 3 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 states a clear action: '将已有的 IMA 笔记添加到知识库' (add an existing IMA note to the knowledge base). The word '已有的' (existing) distinguishes this tool from create_note, which creates new notes.

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?

It provides explicit prerequisites for obtaining note_id: either create_note to get a doc_id, or use get_media_info's notebook_id. This gives clear context for when to use the tool and how to prepare inputs, though it doesn't directly contrast with sibling tools.

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

Install Server

Other Tools

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/qqpp13465/ima-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server