Skip to main content
Glama

Add File to Note

bear-add-file
Destructive

Attach any file to a Bear note using file path or base64 data. Provide the note ID from note search, or specify a title. The server reads and encodes local files automatically.

Instructions

Attach a file to an existing Bear note. Preferred: provide file_path for files on disk — the server reads and encodes them automatically. Alternative: provide base64_content with pre-encoded data. Use bear-search-notes first to get the note ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathNoPath to a file on disk. Preferred over base64_content when the file already exists locally.
base64_contentNoBase64-encoded file content. Use file_path instead when the file exists on disk.
filenameNoFilename with extension (e.g., budget.xlsx, report.pdf). Required when using base64_content. Auto-inferred from file_path when omitted.
idNoExact note identifier (ID) obtained from bear-search-notes
titleNoNote title if ID is not available
Behavior4/5

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

The description explains that the server reads and encodes the file automatically when file_path is provided. However, it does not detail whether the attachment appends or replaces existing attachments. Annotations already indicate destructiveHint true, so the bar is lowered; the description adds value but could be more explicit.

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 is concise with two sentences and a prerequisite hint. It is front-loaded with the main action and immediately follows with usage guidance. No unnecessary words.

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?

The description covers the main usage patterns, prerequisites, and parameter interactions. It does not mention file size limits or supported file types, but these are not essential for a straightforward file-attachment tool. The information is sufficient for correct invocation.

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

Parameters5/5

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

Schema coverage is 100% with descriptions for all parameters. The description adds significant value by explaining the preferred vs alternative usage of file_path and base64_content, the requirement of filename when using base64_content, and auto-inference from file_path. This clarifies the parameter relationships beyond the schema.

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 clearly states the action (Attach/Add a file to an existing Bear note) and the resource (file to note). It distinguishes itself from sibling tools like bear-add-tag or bear-add-text by specifying the operation on files.

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?

The description provides explicit guidance: prefer file_path for files on disk, use base64_content as alternative, and instructs to use bear-search-notes first to obtain the note ID. This tells the agent when and how to use the tool effectively.

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/vasylenko/bear-notes-mcp'

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