Repository navigation
[mcp-analysis] MCP Structural Analysis - 2026-02-20 #17121
Closed
Replies: 1 comment
|
This discussion was automatically closed because it expired on 2026-02-27T11:17:46.856Z.
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Analyzed 11 GitHub MCP tools across 9 toolsets on 2026-02-20. Response sizes range from 13 tokens (
get_meerror) to 24,713 tokens (list_code_scanning_alerts). Average usefulness rating: 3.27/5. Two tools scored 5/5 (list_discussions,search_repositories); the code security toolset is a major context concern at 98KB per response.Key Findings
list_code_scanning_alertsreturns 98KB including full rule descriptions and help text — far too large for routine agent uselist_discussionsandsearch_repositoriesare the most context-efficient paginated toolsget_*tools (e.g.get_label) are dramatically more efficient than theirlist_*counterpartsget_mereturns a 403 with the current integration token — context toolset unavailable hereFull Structural Analysis Report
Executive Summary
list_discussions,search_repositories— 5/5get_me— 1/5 (403 error)list_code_scanning_alerts— 24,713 tokensget_label— 23 tokens, rating 4/5Usefulness Ratings for Agentic Work
list_discussionssearch_repositorieslist_commitslist_issuesget_labellist_pull_requestslist_workflowslist_labellist_code_scanning_alertsget_file_contentsget_meSchema Analysis
get_meget_file_contentslist_commitslist_issueslist_pull_requestslist_workflowslist_code_scanning_alertslist_discussionslist_labelget_labelsearch_repositoriesResponse Size Analysis
Tool-by-Tool Analysis
get_meget_file_contentsget_labellist_discussionssearch_repositorieslist_commitslist_labellist_issueslist_workflowslist_pull_requestslist_code_scanning_alerts30-Day Trend Summary
Historical trending will begin accumulating from this run forward.
Recommendations
High-value tools (rating 4-5) — prefer these:
list_discussions— most efficient paginated list toolsearch_repositories— compact, rich metadata, excellent for discoveryget_label— use specific lookup overlist_labelwhenever possiblelist_commits— clean, predictable schemaTools needing improvement:
list_code_scanning_alerts— should striprule.helptext by default; truncate to id, severity, state, locationlist_pull_requests— should excludebodyfield by default or offer afieldsprojection paramlist_workflows— perPage parameter appears to have limited effect; response includes all metadataContext-efficient sweet spot (compact + useful):
get_label(23 tokens, rating 4),list_discussions(113 tokens, rating 5),search_repositories(138 tokens, rating 5)Avoid in context-sensitive workflows:
list_code_scanning_alerts— 24,713 tokens; useget_code_scanning_alertwith specific alert numbers insteadlist_pull_requests— even minimal requests exceed context threshold; prefer targetedpull_request_readwith known PR numberVisualizations
Response Size by Tool (colored by usefulness)
Usefulness Ratings by Toolset
Token Usage by Toolset
Token Size vs Usefulness Rating
References:
All reactions