GitHub Pull Request Data Provider for Model Context Protocol
Single tool with decent naming and schema structure, but significant gaps in descriptions, parameter documentation, output schema visibility, and error handling. The tool name 'get-pull-request-data' is clear and verb-prefixed, following naming conventions. However, parameter descriptions are minimal (owner: 'GitHub repository owner' is 27 chars, acceptable but bare), and the optional token parameter exposes a credential as a tool parameter, a critical security violation. No documented output schema, no pagination support despite potentially large result sets, and error handling merely returns error text without recovery guidance. The helper functions fetch reviews but don't include them in the return type (getAllPullRequestInfo returns {details, diff, comments} but not reviews), indicating incomplete implementation.
Get detailed information about a GitHub Pull Request including files, diff, comments, and reviews
GitHub token exposed as tool parameter instead of server-side secret injection
No documented output schema, LLM cannot predict response structure or plan downstream operations
No pagination support for potentially large PR comments/reviews; could exhaust context window
Error handling returns raw error messages without recovery guidance ('Error: ...' with isError=true); LLM cannot self-correct
Incomplete implementation: getAllPullRequestInfo fetches reviews but doesn't include them in return type
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | F | 49 | 2026-07-28+ | v2 |
| 2026-03-09 | F | 40 | - | v1 |
Parameter descriptions lack format/constraint guidance (e.g., pullNumber should document accepted range, owner/repo format expectations)
Tool description mentions 'files, diff, comments, and reviews' but reviews are not included in response, description and implementation mismatch
No type hints on error object; response structure is inconsistent (returns {content, isError} vs {content} with no schema definition)