[mcp-analysis] GitHub MCP Structural Analysis — 2026-06-04 #36907
Replies: 1 comment 1 reply
-
|
/q optimize this agentic workflow |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
Today's sampling tested 9 GitHub MCP tools across 9 toolsets (1 representative tool each, minimal params). Eight returned data;
get_me(context) was again blocked with a 403 "Resource not accessible by integration" andactions_list(actions) was blocked by an ungranted permission this run — both environmental limits, not tool-design regressions.Key findings:
get_file_contentsandsearch_repositoriesremain the standouts (5/5 — complete, immediately actionable, context-efficient). The biggest context cost continues to be per-item envelope bloat: a singlelist_code_scanning_alertsresult spends ~1,100 tokens because it embeds the full CodeQL rule help text + two Go code examples for one alert. Average usefulness today is 3.33/5; the 11-day trend is stable (slope ≈ 0).Snapshot
get_file_contents,search_repositories— 5/5get_me,actions_list— 1/5 (both unavailable this run)Recommendations
search_repositories(minimal_outputdefault),get_file_contents(returns SHA for follow-up edits),list_discussions(lean list view +totalCount+ cursor pagination).list_code_scanning_alerts— request specific alert numbers or a summary view rather than listing; the embedded rule help dominates cost.list_pull_requestsandlist_issuesare content-driven — the body inflates cost, so prefer narrowperPageand field-light queries for triage.get_labelis tiny but needs the exact name first — preferlist_labelto discover.get_meandactions_listwere not testable in this run. No action required; tracked as unavailable so trend averages aren't skewed (excluded from token charts).Full Structural Analysis Report
Executive Summary
get_file_contents: 5/5get_me: 1/5 (unavailable — 403)Usefulness Ratings for Agentic Work
get_file_contentssearch_repositoriesminimal_outputflat fields, all discovery signals, no URL bloatlist_issueslist_pull_requestslist_discussionstotalCount; minor JSON-string envelopelist_code_scanning_alertsget_labelget_meactions_listSchema Analysis
get_file_contentssearch_repositorieslist_issueslist_pull_requestslist_discussionslist_code_scanning_alertsget_labelget_meactions_listResponse Size Analysis (this run)
list_pull_requestslist_code_scanning_alertsget_file_contentslist_issueslist_discussionssearch_repositoriesget_labelget_meactions_listAverage Tokens by Toolset (30-day history, evaluated calls)
(History averages include heavier tool variants sampled on prior days — e.g.
list_labelvsget_label, full-output search — so they run higher than today's specific picks.)30-Day Trend Summary
Recommendations (detail)
get_file_contents,search_repositories,list_issues,list_pull_requests,list_discussions.list_code_scanning_alerts— the verbose per-alert help text should be opt-in for list/triage views.search_repositories(~123 tok, 5/5),list_discussions(~155 tok, 4/5).list_pull_requestsandlist_code_scanning_alerts— body / embedded help dominate cost.Visualizations
Response Size by Toolset
Usefulness Ratings
Daily Token Trend
Size vs Usefulness
References: §26952805714
Beta Was this translation helpful? Give feedback.
All reactions