feat(mcp): list_collection_places pages a long list compactly (#2647)

A read tool that answers one list a page at a time (100 by default, up to
500) as compact one-line JSON rows, filtered by status, label or "no label",
with the list's labels, the matching total and a cursor. The cursor is the
last place's position (sort_order, created_at, id), so labelling a page
while paging through unlabelled places skips none. getCollection orders by
the same keys, id last, so both tools agree on ties.
This commit is contained in:
Maurice
2026-11-13 09:43:42 +01:00
parent cae04e83dd
commit 7283b75cac
15 changed files with 713 additions and 8 deletions
@@ -37,6 +37,7 @@ export const COLLECTION_LOOK = {
steps: {
get_collection: { stepKey: 'assistant.step.readingList' },
get_collection_items: { stepKey: 'assistant.step.readingList' },
list_collection_places: { stepKey: 'assistant.step.readingList' },
list_collections: { stepKey: 'assistant.step.lookingAtLists' },
available_collection_users: { stepKey: 'assistant.step.lookingAtLists' },
find_place_in_collections: { stepKey: 'assistant.step.checkingLists' },