[mcp-analysis] MCP Structural Analysis - 2026-08-12 #52292
Closed
Replies: 1 comment
|
This discussion has been marked as outdated by GitHub MCP Structural Analysis. A newer discussion is available at Discussion #52494. |
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 10 representative GitHub MCP tool calls across 9 toolsets (plus the injected workflow-context block). Average usefulness: 3.3/5. Best:
github_context(5/5, zero MCP overhead). Worst:get_teams(1/5 — blocked by a permission gate, returned no data at all). Two structural issues stood out: every MCP response repeats ~2-4 KB of identical base64 server-info icons in_meta, and thelist_workflowswrapper'sper_page: 1was silently ignored (30 full workflow objects came back instead of 1).Full Structural Analysis Report
Executive Summary
github_context: 5/5get_teams: 1/5Usefulness Ratings for Agentic Work
github_contextlist_pull_requestslist_code_scanning_alertslist_discussionssearch_codeget_file_contentslist_issueslist_labellist_workflowsget_teamsSchema Analysis
github_contextget_file_contentslist_issueslist_pull_requestslist_workflowslist_code_scanning_alertslist_discussionslist_labelsearch_codeResponse Size Analysis
Tool-by-Tool Analysis
github_contextget_teamsget_file_contentslist_issueslist_pull_requestslist_workflowslist_code_scanning_alertslist_discussionslist_labelsearch_code30-Day Trend Summary
This is the first entry in the rolling 30-day dataset at
/tmp/gh-aw/cache-memory/mcp_analysis.jsonl(cache-memory persists it across future runs).Recommendations
github_context,list_pull_requests,list_code_scanning_alerts,list_discussions,search_code— prefer these when their data suffices, especially the free context block over any team/user lookup.get_teams(permission-gated, unusable without prior approval),list_workflowsvia the mcp-scripts wrapper (pagination not respected — verifyper_pagevsperPagebehavior before relying on it for large workflow lists),list_label(no pagination primitive at all despite an 868-label repo).github_context(90 tokens, 5/5),list_pull_requests(25 tokens, 4/5),list_code_scanning_alerts(10 tokens, 4/5).get_file_contents(4,500 tokens, driven by embedded icon metadata and an unrelated README contributor list, not the file content itself),list_workflows(3,300 tokens due to ignored pagination),list_label(3,250 tokens, all labels returned every call)._meta.serverInfo. Since this is identical across calls, a client-side or gateway-side strip/cache of_metawould meaningfully cut real-world token overhead across all toolsets.Visualizations
Response Size by Toolset
Usefulness Ratings
Daily Token Trend
Size vs Usefulness
All reactions