refactor!: trim mcp tools to core three - #5
Conversation
Drop summarize_video, extract_video_text, video_qa, compare_video_frames, and list_capabilities. The four video tools were prompt sugar over analyze_video; the model client can pass the same prompt directly. list_capabilities was static info the client does not need. BREAKING CHANGE: 5 tools removed. Clients referencing summarize_video, extract_video_text, video_qa, compare_video_frames, or list_capabilities will break. Migrate to analyze_video/analyze_image with an explicit prompt.
|
Warning Review limit reached
Next review available in: 27 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: QUIET Plan: Pro Plus Run ID: 📒 Files selected for processing (5)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
What
Trim MCP tool surface from 8 to 3: keep
analyze_video,analyze_image,check_endpoint_status.Remove:
summarize_video— prompt sugar overanalyze_videoextract_video_text— prompt sugar overanalyze_videovideo_qa— identical toanalyze_video+ questioncompare_video_frames— prompt sugar overanalyze_videolist_capabilities— static info the client model does not needWhy
Only
analyze_videoandanalyze_imageare used in practice. The four video tools were fixed-prompt wrappers; the model client can pass the same prompt directly. Fewer tools = less tool-list noise, less surface to maintain.check_endpoint_statuskept as a zero-token config/key diagnostic.src/prompts.tsdeleted — all exports served the removed tools, zero references remain.Breaking change
MCP clients referencing any of the 5 removed tool names will break. Migrate to
analyze_video/analyze_imagewith an explicit prompt.Verification
npm run typecheck✓npm run lint(--max-warnings 0) ✓npm run format:check✓npm test— 61 passed, 3 skipped (live) ✓npm run coverage— 98.42% (threshold 85%) ✓npm run build✓Files
src/server.ts— remove 5 tool registrations + clean importssrc/prompts.ts— deletedtest/tools.test.ts— tool count 8→3, drop 4 tests, URL passthrough test usesanalyze_videoREADME.md— tools table 8→3AGENTS.md— tool list 8→3Do not merge — awaiting review.