You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why These Excel: Minimal token usage for maximum value. Clean schemas with low nesting. Complete data for decision-making. Efficient for agentic workflows.
⭐⭐⭐⭐ Good (Rating 4) - Use with Awareness
Tool
Toolset
Tokens
Schema
Assessment
get_repository_tree
repos
2,700
oversized
Clean structure but context-heavy for large repos.
search_code
search
950
object
Good code discovery, some redundancy in repo context.
pull_request_read
pull_requests
2,600
object
Detailed PR data with nested repo objects. Heavy but complete.
list_pull_requests (2026-02-06)
pull_requests
2,800
array
Comprehensive PR list, some metadata redundancy.
list_workflows (2026-02-06)
actions
3,200
object
Complete workflow list but context-heavy.
search_issues (with bodies)
search
2,600
object
Full issue bodies included, some redundant user fields.
Trade-offs: Higher token usage but provide comprehensive data. Useful when detailed context is needed.
⭐⭐⭐ Adequate (Rating 3) - Use Sparingly
Tool
Toolset
Tokens
Schema
Assessment
list_releases
releases
7,215
oversized
28KB for single release. Full body + all assets. Inefficient.
list_pull_requests (2026-02-10)
pull_requests
4,650
oversized
18KB response, duplicate repo objects for head/base.
list_workflows (2026-02-10)
actions
3,900
oversized
15KB for perPage=1. Pagination broken.
Issues: Oversized payloads requiring file system reads. Broken pagination. Heavy redundancy. Usable but inefficient.
⭐⭐ Limited (Rating 2) - Avoid Unless Necessary
Tool
Toolset
Tokens
Schema
Assessment
list_code_scanning_alerts
security
23,800
oversized
95KB payload. Full rule descriptions, no filtering. Context nightmare.
Critical Issues: Massive context usage. No pagination respect. Hard to process. Needs major improvements.
⭐ Poor (Rating 1) - Unusable
Tool
Toolset
Tokens
Schema
Assessment
list_workflow_runs
actions
90,096
oversized
360KB for perPage=1. Pagination completely broken. Unusable.
get_me
context
0
error
403 forbidden in GitHub Actions. Not accessible by integration.
list_notifications
notifications
0
error
403 forbidden in GitHub Actions. Cannot be used in CI.
projects_list
projects
0
error
404 not found. Poor error handling, unusable in many contexts.
Critical Issues: Completely unusable for agents. Either forbidden access or broken functionality.
Schema Analysis
Understanding response structures for optimal agent usage.
Tool
Schema Type
Nesting Depth
Key Fields
Structure Quality
get_file_contents
string
1
content
⭐⭐⭐⭐⭐ Flat, minimal
list_branches
array
2
name, sha, protected
⭐⭐⭐⭐⭐ Simple array
get_label
object
1
id, name, color, description
⭐⭐⭐⭐⭐ Flat object
list_issues
object
4
issues[], pageInfo, totalCount
⭐⭐⭐⭐⭐ GraphQL paginated
search_repositories
object
3
total_count, items[]
⭐⭐⭐⭐ Standard search
list_pull_requests
array
5
number, title, state, user, head.repo, base.repo
⭐⭐⭐ Deeply nested
list_code_scanning_alerts
oversized
5
number, rule, tool, locations[]
⭐⭐ Too deep, complex
Schema Patterns:
Best: Flat or shallow (depth 1-2) with clear field names
Good: GraphQL with cursor pagination (depth 3-4)
Adequate: REST arrays with moderate nesting (depth 3-4)
Poor: Deep nesting (5+) with duplicate data
Response Size Analysis
Token usage efficiency across toolsets.
Toolset
Avg Tokens
Tool Count
Efficiency Rating
repos
648
11
⭐⭐⭐⭐⭐ Excellent
labels
50
1
⭐⭐⭐⭐⭐ Excellent
discussions
275
2
⭐⭐⭐⭐⭐ Excellent
search
950
5
⭐⭐⭐⭐ Good
issues
950
3
⭐⭐⭐⭐ Good
pull_requests
3,350
3
⭐⭐⭐ Adequate
releases
7,215
1
⭐⭐ Limited
security
23,800
1
⭐ Poor
actions
49,098
3
⭐ Poor
Context Efficiency Champions:
get_file_contents (25 tokens) - Just the data you need
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Comprehensive analysis of GitHub MCP tool response structures and usefulness for agentic workflows. Evaluated 32 tool responses across 14 unique toolsets, measuring response sizes, schema structures, and practical utility for autonomous agents.
Key Findings
🎯 Overall Assessment
⭐ Top Performers (Rating 5/5)
repostoolset: Efficient file operations, commit metadatasearchtoolset: Excellent discovery tools with rich metadataissues/discussions: Well-structured GraphQL responseslabels: Minimal overhead, complete dataactionstoolset: Broken pagination, massive responses (90K+ tokens)security: Oversized payloads without proper filtering (24K tokens)context/notifications: Inaccessible in GitHub Actions (403 errors)projects: Poor error handling, unusable in many contextsFull Structural Analysis Report
Executive Summary
list_workflow_runs: 90,096 tokensget_file_contents: 25 tokensUsefulness Ratings for Agentic Work
Tools rated on 1-5 scale based on completeness, actionability, clarity, efficiency, and structural quality.
⭐⭐⭐⭐⭐ Excellent (Rating 5) - Recommended for All Agents
get_file_contentslist_branchesget_labelget_commit(no diff)list_commitslist_tagslist_issuesissue_readlist_discussionssearch_repositoriessearch_issuesWhy These Excel: Minimal token usage for maximum value. Clean schemas with low nesting. Complete data for decision-making. Efficient for agentic workflows.
⭐⭐⭐⭐ Good (Rating 4) - Use with Awareness
get_repository_treesearch_codepull_request_readlist_pull_requests(2026-02-06)list_workflows(2026-02-06)search_issues(with bodies)Trade-offs: Higher token usage but provide comprehensive data. Useful when detailed context is needed.
⭐⭐⭐ Adequate (Rating 3) - Use Sparingly
list_releaseslist_pull_requests(2026-02-10)list_workflows(2026-02-10)Issues: Oversized payloads requiring file system reads. Broken pagination. Heavy redundancy. Usable but inefficient.
⭐⭐ Limited (Rating 2) - Avoid Unless Necessary
list_code_scanning_alertsCritical Issues: Massive context usage. No pagination respect. Hard to process. Needs major improvements.
⭐ Poor (Rating 1) - Unusable
list_workflow_runsget_melist_notificationsprojects_listCritical Issues: Completely unusable for agents. Either forbidden access or broken functionality.
Schema Analysis
Understanding response structures for optimal agent usage.
get_file_contentslist_branchesget_labellist_issuessearch_repositorieslist_pull_requestslist_code_scanning_alertsSchema Patterns:
Response Size Analysis
Token usage efficiency across toolsets.
Context Efficiency Champions:
get_file_contents(25 tokens) - Just the data you needget_label(50 tokens) - Minimal complete responselist_branches(100 tokens) - Essential git metadataContext Hogs:
list_workflow_runs(90,096 tokens) - 360KB response, broken paginationlist_code_scanning_alerts(23,800 tokens) - 95KB with no filteringlist_releases(7,215 tokens) - 28KB for single releaseStructural Patterns
Pattern 1: GraphQL Responses (⭐⭐⭐⭐⭐)
Tools:
list_issues,list_discussionsStructure:
{ "items": [...], "pageInfo": { "hasNextPage": true, "endCursor": "..." }, "totalCount": 123 }Strengths: Clear pagination, total counts, cursor-based navigation
Agent Benefits: Easy to implement pagination logic, know total results upfront
Pattern 2: REST Arrays (⭐⭐⭐⭐)
Tools:
list_branches,list_commits,list_tagsStructure:
[ {"name": "main", "sha": "abc123", "protected": true}, {"name": "dev", "sha": "def456", "protected": false} ]Strengths: Simple, lightweight, easy to iterate
Agent Benefits: Minimal parsing overhead, direct array access
Pattern 3: Search Results (⭐⭐⭐⭐)
Tools:
search_repositories,search_issues,search_codeStructure:
{ "total_count": 100, "incomplete_results": false, "items": [...] }Strengths: Total count, result completeness indicator
Agent Benefits: Can decide whether to refine search based on total_count
Pattern 4: Oversized Payloads (⭐⭐ or lower)
Tools:
list_releases,list_pull_requests,list_workflows,list_workflow_runsStructure: File system redirect due to MCP size limits
Issues: Requires file read, breaks MCP flow, excessive redundancy
Agent Impact: Extra I/O, interrupted workflow, difficult to process
30-Day Trend Summary
Analysis covers 3 days of testing (Feb 6, 10, 11, 2026):
Trend: Token usage spiking as we test more complex tools. Usefulness declining as we uncover broken features.
Key Discovery:
list_workflow_runsalone accounts for 90K tokens, exposing critical pagination failure in actions toolset.Recommendations
For Agent Developers
✅ Prioritize These Tools (High value, low cost):
get_file_contents- File readinglist_branches- Git operationsget_label- Label managementlist_commits- Commit historysearch_repositories- Repo discoverylist_issues- Issue queryinglist_discussions- Discussion accessget_repository_tree- Use path_filter to reduce sizesearch_code- Acceptable for targeted searchespull_request_read- Get specific PR only when needed❌ Avoid Unless Critical:
list_releases- Useget_latest_releaseorget_release_by_taginsteadlist_code_scanning_alerts- Needs filtering options not yet availablelist_workflows- Pagination broken, use sparingly🚫 Do Not Use (Broken or inaccessible):
list_workflow_runs- Completely broken pagination (360KB for 1 item)get_me- Not accessible in GitHub Actionslist_notifications- Not accessible in GitHub Actionsprojects_list- Poor error handling, unreliableFor Tool Maintainers
Critical Fixes Needed:
list_workflow_runspagination (P0 - Critical)list_code_scanning_alertsfiltering (P0 - Critical)list_releasesefficiency (P1 - High)Error context improvements (P1 - High)
get_me,list_notifications: Return helpful message about integration limitationsprojects_list: Better error detection and user guidancelist_workflowspagination (P2 - Medium)Optimization Opportunities:
Reduce nested duplicates in
list_pull_requestsAdd field selection to large endpoints
Pagination consistency
Visualizations
Response Size by Toolset
Average token usage varies widely. Actions toolset has extreme outliers.
Usefulness Ratings
Most toolsets rate highly (4+). Actions and error-prone tools need attention.
Daily Token Trend
Token usage spiking as we discover broken pagination in complex tools.
Size vs Usefulness
Best tools cluster in low tokens, high rating. Actions outliers unusable.
Schema Distribution
Most responses are well-structured objects. Oversized payloads and errors are problematic.
Next Steps
list_workflow_runspagination bug and notify maintainersReferences:
Beta Was this translation helpful? Give feedback.
All reactions