[mcp-analysis] MCP Structural Analysis - 2026-02-05 #13889
Closed
Replies: 1 comment
-
|
This discussion was automatically closed because it expired on 2026-02-12T11:20:35.998Z.
|
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.
-
Analyzed 10 GitHub MCP tools for response size (tokens), schema structure, and usefulness for autonomous agents. Key findings: Best tools average 4.2/5 rating with clean schemas (≤2 nesting depth). Worst:
list_pull_requests(3/5, 4800 tokens, depth 5). Most efficient:list_branches(5/5, 200 tokens). Critical issue:get_mereturns 403 error, blocking agent access to user context.Full Structural Analysis Report
Executive Summary
get_file_contents,search_repositories,list_branches: 5/5get_me: 1/5 (403 error)list_pull_requests: 4,800 tokenslist_branches: 200 tokensUsefulness Ratings for Agentic Work
get_file_contentssearch_repositorieslist_brancheslist_issueslist_workflowslist_discussionslist_commitslist_pull_requestslist_labelget_meSchema Analysis
get_file_contentslist_brancheslist_discussionslist_commitslist_issuessearch_repositorieslist_workflowslist_labellist_pull_requestsget_meResponse Size Analysis
Tool-by-Tool Analysis
⭐⭐⭐⭐⭐ Excellent Tools (Rating 5/5)
get_file_contents(repos)search_repositories(search)list_branches(branches)⭐⭐⭐⭐ Good Tools (Rating 4/5)
list_issues(issues)list_workflows(actions)list_discussions(discussions)list_commits(commits)⭐⭐⭐ Adequate Tools (Rating 3/5)
list_pull_requests(pull_requests)_linksobject. Heavy context usage for minimal query (perPage=1)._linksobject adds URLs already derivable from other fieldslist_label(labels)get_labelfor specific labels if possible. Avoid for large label sets.⭐ Poor Tools (Rating 1/5)
get_me(context)Recommendations
High-Value Tools (Rating 4-5, Context-Efficient)
These tools provide excellent data with minimal context usage:
get_file_contents- 50 tokens, rating 5/5list_branches- 200 tokens, rating 5/5list_discussions- 600 tokens, rating 4/5list_commits- 800 tokens, rating 4/5list_issues- 1,200 tokens, rating 4/5Tools Needing Improvement
get_me(critical): Fix 403 error to enable user contextlist_pull_requests: Reduce nesting, remove redundant repo objectslist_label: Add pagination and filtering optionsContext-Heavy Tools (Use Sparingly)
list_pull_requests- 4,800 tokenslist_label- 3,200 tokens (all 353 labels)list_workflows- 2,400 tokensAgent Selection Strategy
For autonomous agents optimizing context usage:
Tier 1 (Prefer): Ratings 5/5, <500 tokens
get_file_contents,list_branchesTier 2 (Good): Ratings 4/5, <1500 tokens
list_discussions,list_commits,list_issuesTier 3 (Use with caution): Ratings 3/5 or >2000 tokens
list_pull_requests,list_label,list_workflowsTier 4 (Avoid): Ratings 1-2/5 or errors
get_me(fix required)Visualizations
Response Size by Toolset
Shows average token usage across toolsets. Pull requests and labels are the most context-heavy.
Usefulness Ratings by Tool
Color-coded ratings: Green (5/5), Blue (4/5), Orange (3/5), Red (1/5). Three tools achieve perfect scores.
Token Size vs Usefulness
Ideal tools are in the bottom-left quadrant (small size, high usefulness).
list_pull_requestsis in the bottom-right (large size, moderate usefulness).Nesting Depth by Tool
Lower nesting is better for agent parsing.
list_pull_requestshas the deepest nesting at 5 levels.30-Day Trend Summary
Note: This is the first analysis run. Future runs will show trends over time (token size changes, rating improvements).
References:
Beta Was this translation helpful? Give feedback.
All reactions