Skip to content

MCP tools report refusals inconsistently (isError false for read_content/read_note/move_note refusals) #1813

Closed

Description

@phernandez

Found during live testing of main at 0276799.

Refusals reach the client in different ways depending on the tool:

Tool / case MCP isError Payload
write_note path outside project true # Error ... not allowed
read_content unsupported image (GIF/TIFF/BMP/SVG) false {"type": "error", "error": "Unsupported image format ..."}
read_content path outside project false {"type": "error", ...}
read_content missing file true Resource not found: ...
read_note path outside project false # Error\n\nIdentifier ... not allowed
move_note security / extension mismatch / cross-project false # Move Failed - ...
move_note not found / destination exists true # Move Failed - ...

Clients that branch on isError treat half of these refusals as successes. Every refusal should set isError. move_note is inconsistent even within one tool.

Activity

  1. added
    bug
    on Oct 23, 2026
  2. claude commented on Oct 23, 2026

    @claude
    Contributor

    Claude finished @phernandez's task in 33s —— View job


    Triage

    • Type: Bug (label applied: bug)
    • Component: MCP tools (read_content, read_note, move_note). It isn't a Cloud issue.
    • Priority: Medium. Clients that branch on isError treat some refusals as successes. Nothing is corrupted or lost.
    • Complexity: Simple to medium. Each tool needs to raise or return an error result the same way write_note already does. move_note is inconsistent within a single tool. Each refusal path needs a regression test that asserts isError.
    • Duplicates: I searched and found none. Concurrent edit_note append reported as refused can still land in the note #1684 is related only in that it also concerns how refusals are reported.
    • Reproduction: The table in the issue is enough to reproduce each case.

    Per the triage scope, I haven't started any implementation.

  3. phernandez commented on Oct 23, 2026

    @phernandez
    MemberAuthor

    Folded into the 1.0 tool surface work: #1829 (tracking #1827). This issue stays open until that lands, with a regression test for the behavior described here.

  4. 6 remaining items

  5. added this to the v1.0 milestone on Oct 29, 2026
  6. phernandez commented on Oct 29, 2026

    @phernandez
    MemberAuthor

    Fixed in the 1.0 tool surface (#1829/#1830): every bm_* refusal is a tool error (isError true). The legacy read_content/read_note/move_note tools no longer register as MCP tools.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions