Skip to content

rust(feat): add list_reports tool#603

Merged
wei-qlu merged 1 commit into
mainfrom
mcp/list-reports
Jun 2, 2026
Merged

rust(feat): add list_reports tool#603
wei-qlu merged 1 commit into
mainfrom
mcp/list-reports

Conversation

@wei-qlu

@wei-qlu wei-qlu commented May 31, 2026

Copy link
Copy Markdown
Contributor

Changes

Adds a list_reports tool to the Sift MCP, mirroring list_runs / list_assets / list_channels. A new ReportService wraps the ListReports API with the shared pagination and limit logic. The tool takes filter, order_by, limit, and an optional organization_id (multi-org users only). The skill files and the MCP docs table are updated to match.

Validation

  • Unit tests (cargo test -p sift_mcp) at the service and tool layers: single page, pagination, limit and truncation, empty-page break, gRPC error mapping, and organization_id forwarding.
  • Manual QA via the MCP: run sift-cli mcp with credentials, call list_reports, and confirm filter (e.g. run_id == "..."), limit, order_by, and organization_id behave, returning { "reports": [...] }.

@wei-qlu wei-qlu marked this pull request as ready for review June 1, 2026 21:20
@wei-qlu wei-qlu merged commit 792768d into main Jun 2, 2026
21 checks passed
@wei-qlu wei-qlu deleted the mcp/list-reports branch June 2, 2026 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants