Phase 4: Add include_cold param to list_notes tool #43
Labels
No labels
domain:backend
domain:devops
domain:frontend
status:approved
status:in-progress
status:needs-fix
status:qa
type:bug
type:devops
type:feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo_admin/pal-e-mcp#43
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Lineage
plan-2026-03-16-knowledge-architecture→ Phase 4 (Knowledge Tiering) → MCP tool passthroughRepo
forgejo_admin/pal-e-docs-mcpUser Story
As a Claude agent calling the
list_notesMCP tool,I want an
include_coldparameter with a clear description,so that I can opt into seeing completed/historical notes when researching provenance.
Context
PR #191 on pal-e-docs added
include_coldboolean query param toGET /notes(default false). The SDK (separate PR on pal-e-docs-sdk) exposes it asinclude_cold: bool = False. The MCP tool needs to add the param with a descriptive Field so agents understand what cold notes are and when to include them.File Targets
Files to modify:
src/pal_e_docs_mcp/tools/notes.pyline 14-48 (list_notestool) — addinclude_cold: Annotated[bool, Field(...)]param with description explaining cold exclusion. Pass it toget_sdk().list_notes(include_cold=include_cold).Files NOT to touch:
Acceptance Criteria
list_notesMCP tool has aninclude_coldparam with defaultFalseinclude_coldis passed through toget_sdk().list_notes()ruff formatandruff checkcleanTest Expectations
pytest tests/ -x -qConstraints
include_coldparam afterparent_slug(before any future params)Checklist
Related
project-pal-e-docs— project this affectsplan-2026-03-16-knowledge-architecture— parent planinclude_coldAPI param