Get Issue Context
get_issue_contextBundles an issue’s body, notes, related and closing merge requests, and linked issues into one call, so you can investigate GitLab issues without fanning out across multiple queries.
Instructions
Bundle issue body, all notes (paginated up to maxNotes), related merge requests (mentioning), closing merge requests, linked issues (relates_to/blocks/is_blocked_by) into a single call. Use this instead of fanning out across get_issues + get_notes + search_merge_requests when investigating an issue.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| iid | Yes | Issue IID (the number shown in the GitLab UI) | |
| maxNotes | No | Cap on notes fetched. Default 100. | |
| projectPath | Yes | Full project path (e.g. "my-group/my-project") | |
| userCredentials | No | Your GitLab credentials (optional — falls back to the configured env token if not provided) | |
| includeSystemNotes | No | Include system-generated notes (label changes, assignment events). Default false. |