Improve MCP tools: update descriptions, add due-before and label filtering#254
Merged
Improve MCP tools: update descriptions, add due-before and label filtering#254
Conversation
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
Contributor
There was a problem hiding this comment.
Pull request overview
Improves the MCP task tooling by clarifying existing tool behavior and adding two new task-listing capabilities (due-before and label-filtered), backed by new Go API endpoints and repository/service queries.
Changes:
- Clarified MCP tool descriptions for listing tasks and updating tasks.
- Added MCP tools to list active tasks due before a timestamp and active tasks by label ID.
- Added API routes plus service/repository methods to support due-before and label filtering queries.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| mcpserver/Tools/TaskTools.cs | Updates tool descriptions; adds ListTasksDueBefore and ListTasksByLabel MCP tools. |
| mcpserver/Services/ApiProxyService.cs | Adds proxy methods calling the new backend routes. |
| apiserver/internal/apis/task.go | Adds GET /api/v1/tasks/due and GET /api/v1/tasks/label/:labelId handlers + route registration. |
| apiserver/internal/services/tasks/task.go | Adds service methods to return filtered task lists with consistent error handling. |
| apiserver/internal/repos/task/task.go | Adds GORM queries for due-before filtering and label join filtering. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
MCP tool description improvements
New MCP tools & API routes
Backend support