-
Notifications
You must be signed in to change notification settings - Fork 177
Open
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or request
Description
Bug: read_note pagination parameters have no effect
Description
The read_note MCP tool accepts page and page_size parameters, but they have no effect on the output. The tool always returns the full note content regardless of pagination settings.
This causes issues when:
- Large notes (>50KB) exceed Claude Code's inline display limit
- Users expect to chunk large notes into readable segments
- The tool help text suggests pagination should work
Reproduction
# Test with MEMORY.md (33,928 chars)
bm tool read-note "claw/memory" --page 1 --page-size 1
bm tool read-note "claw/memory" --page 1 --page-size 100
bm tool read-note "claw/memory" --page 1 --page-size 5000All three commands return identical output: 33,928 characters.
Expected Behavior
page-size 1should return a small chunk (e.g., first N lines or chars)page-size 100should return a larger chunk- Subsequent pages (
--page 2, etc.) should return different content
Actual Behavior
All pagination parameters are ignored. Full note content is always returned.
Impact
- Users with large notes (87KB reported in Discord) cannot read them via MCP
- Claude Code truncates to 2KB preview when tool output exceeds display limits
- Workarounds required: split notes, use search_notes, or filesystem access
Environment
- BM CLI version: (latest from uv)
- Tested via:
bm tool read-noteCLI command - Project: openclaw-basics-mbp-lan
CLI Help Text (shows pagination params)
--page INTEGER Page number for pagination [default: 1]
--page-size INTEGER Number of results per page [default: 10]
The help text implies pagination should work, but it doesn't.
Suggested Fix
Either:
- Implement chunked reading for
read_note(honorpage_sizeparam) - Remove pagination params from the tool schema if not supported
- Document that pagination only applies to
search_notes, notread_note
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or request