[mcp-analysis] MCP Structural Analysis - 2026-05-06 #30611
Closed
Replies: 1 comment
-
|
This discussion has been marked as outdated by GitHub MCP Structural Analysis. A newer discussion is available at Discussion #30824. |
Beta Was this translation helpful? Give feedback.
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.
-
Today's analysis examined 9 GitHub MCP tools across 9 toolsets, measuring response sizes and rating their usefulness for agentic workflows. Total token cost: 14,200 tokens for one call per tool. Average usefulness rating: 3.3/5. Standout finding:
list_code_scanning_alertsis severely bloated (6,000 tokens for 4 alerts) due to repeating full CWE documentation in every response.Full Structural Analysis Report
Executive Summary
list_discussions: 5/5list_code_scanning_alerts: 6,000 tokens / rating 2/5get_mereturned 403 with integration tokenUsefulness Ratings for Agentic Work
list_discussionslist_issueslist_pull_requestsget_labelsearch_issuesget_file_contentslist_workflowsper_pageparam ignored, returns 29 workflows instead of 1; no trigger infolist_code_scanning_alertsrule.helpfield embeds full CWE docs (~1,500 tokens) repeated per identical alertget_meSchema Analysis
get_meget_file_contentslist_issueslist_pull_requestslist_workflowslist_code_scanning_alertsrule.helpis extreme bloatlist_discussionsget_labelsearch_issuesResponse Size Analysis
list_code_scanning_alertsget_file_contentslist_workflowslist_pull_requestslist_issuessearch_issueslist_discussionsget_labelget_meTool-by-Tool Analysis
get_meget_file_contentslist_issueslist_pull_requestslist_workflowslist_code_scanning_alertslist_discussionsget_labelsearch_issues30-Day Trend Summary
Recommendations
High-value tools (rating 4–5) — prefer for agentic workflows:
list_discussions,list_issues,list_pull_requests,get_label,search_issuesTools needing improvement:
list_code_scanning_alerts— striprule.helpfrom the default response; surface it only onget_code_scanning_alert. This alone would reduce alert list responses by ~80%.list_workflows— honourper_pageparameter to prevent context overflow when a repo has hundreds of workflows.get_me— expose a minimal profile endpoint accessible with the standard Actions integration token.Context-efficient tools (low tokens, high rating):
get_label(50 tokens, 4/5),list_discussions(200 tokens, 5/5)Context-heavy tools — use with caution or cache results:
list_code_scanning_alerts(6,000 tokens),get_file_contents(3,750 tokens for large files)Visualizations
Response Size by Toolset
Usefulness Ratings
Daily Token Trend
Size vs Usefulness
References:
Beta Was this translation helpful? Give feedback.
All reactions