Skip to main content
Glama

Read note

bm_read
Read-onlyIdempotent

Read a Basic Memory note or file by path, permalink, URL, or title, and slice long content by heading, line range, or token budget for targeted retrieval.

Instructions

Read a Basic Memory note or file by path, permalink, memory:// URL or exact title. Slice a long note with section (a heading), start_line/end_line or max_tokens; line numbers count the whole file, frontmatter included. include_content=false returns only the metadata and the checksum that bm_write and bm_edit take as expected_checksum. Images come back as images and other binary files as documents. A missing note is an error: find notes with bm_search.

Input Schema

NameRequiredDescriptionDefault
projectNoProject name, 'workspace/project', or project external id. Omit to use the default project.
sectionNoA heading to read: "Decisions", "Auth/Decisions" for a heading under "Auth", or "Decisions[1]" for the second "Decisions" heading.
end_lineNo
identifierYesThe note or file: a file path ('notes/plan.md'), permalink, memory:// URL, exact title, external id, or '<project>/path'.
max_tokensNoApproximate token budget. Longer content is cut at a section or paragraph boundary, and the result says which line to continue from.
start_lineNo
output_formatNotext
include_contentNoFalse returns only title, paths, checksum and updated_at.
include_frontmatterNoInclude the YAML frontmatter in a whole-note read.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.24.1

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive), yet the description still adds real behavioral facts: line numbers count the whole file including frontmatter, max_tokens cuts at a section/paragraph boundary and returns a continuation line, images return as images and binaries as documents, and a missing note raises an error.

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?

Front-loaded with the identity (what it reads, from what forms) before slicing options and the error/alternative note. Dense and largely waste-free, though the sentence about images/binaries sits slightly apart from the main reading flow.

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 9-parameter read tool with no output schema, the description covers input forms, slicing controls, truncation behavior, and metadata-only mode. Only the text/json output_format switch and include_frontmatter semantics are left unexplained.

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?

With 67% schema coverage, the description goes beyond it by explaining that line counts include frontmatter (a semantics the schema omits), how max_tokens truncation behaves, and that include_content=false yields the checksum expected by bm_write/bm_edit. Minor gap: output_format and include_frontmatter are left entirely to 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?

States a specific verb (Read) and resource (Basic Memory note or file) and enumerates the accepted identifier forms (path, permalink, memory:// URL, exact title), so an agent can match inputs to it immediately. It also distinguishes itself from the discovery sibling by routing missing notes to bm_search.

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 a clear condition for the alternative ('A missing note is an error: find notes with bm_search') and explains the include_content=false mode as the checksum-fetch path used by bm_write/bm_edit. It does not, however, disambiguate against lookalike siblings such as read_note, view_note, or read_content.

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