-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
good first issueGood for newcomersGood for newcomers
Description
Summary
When using the MCP server, list_{plural} returns an array of entities but doesn't tell you the total count. Adding a wrapper response with count and entities fields would help agents understand the dataset size.
What to do
- In
lib/src/nb_pathway/server.py, update thelist_toolfunction - Change the return type from
list[dict]todictwith structure:{ "count": 5, "entities": [...] } - Do the same for
search_tool - Update tests in
lib/tests/test_server.py
Acceptance criteria
-
list_{plural}returns{"count": N, "entities": [...]} -
search_{plural}returns{"count": N, "entities": [...]} - Tests updated
-
make checkpasses - E2E tests still pass
Estimated time: ~1-2 hours
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers