Skip to content

Reduce noisy MCP missing-capability reports - #174

Open
masnwilliams wants to merge 1 commit into
mainfrom
hypeship/reduce-mcp-gap-noise
Open

Reduce noisy MCP missing-capability reports#174
masnwilliams wants to merge 1 commit into
mainfrom
hypeship/reduce-mcp-gap-noise

Conversation

@masnwilliams

@masnwilliams masnwilliams commented Aug 31, 2026

Copy link
Copy Markdown
Collaborator

summary

  • tell agents to report only genuine server capability gaps after checking available tools
  • exclude existing fallbacks, transient failures, capacity limits, and client-side permission restrictions
  • cover the updated tool contract in the MCP analytics integration test

why

The previous description explicitly encouraged reports even when an existing tool could complete the task. That inflated missing-capability analytics with fallback, capacity, and client-policy issues.

testing

  • bun test
  • bun test src/lib/mcp/analytics.test.ts
  • bunx prettier --check src/lib/mcp/analytics.ts src/lib/mcp/analytics.test.ts

bun run format:check still reports the pre-existing AGENTS.md formatting warning.


Note

Low Risk
Copy-only change to an MCP tool description plus test assertions; no runtime logic or analytics pipeline changes.

Overview
Tightens agent guidance for the get_more_tools missing-capability MCP tool so $mcp_missing_capability analytics reflect real server gaps instead of fallback use, transient errors, capacity limits, or client permission blocks.

The tool description in registerMissingCapabilityTool no longer nudges agents to report when existing tools might work. It now requires checking listed tools first and directs agents to use those tools or submit_feedback for the excluded cases.

The MCP analytics integration test is renamed and extended to assert the published get_more_tools description includes the new contract language.

Reviewed by Cursor Bugbot for commit 63efe4c. Bugbot is set up for automated code reviews on this repo. Configure here.

@vercel

vercel Bot commented Aug 31, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
mcp Ready Ready Preview Aug 31, 2026 9:22pm

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.

1 participant