Gerrit OpenAPI MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GERRIT_COOKIE | No | Gerrit authentication cookie. | |
| GERRIT_HTTP_USER | No | Username for Gerrit HTTP authentication. | |
| GERRIT_HTTP_PASSWORD | No | Password for Gerrit HTTP authentication. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": true
} |
| resources | {
"subscribe": false,
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| getAccessB | Lists the access rights of one or more projects, named by the repeated project parameter. |
| getAccountsB | Queries accounts visible to the caller. The query is given by the query parameter; use limit and start to page and o to request extra fields. |
| getAccountsAccountIdC | Returns the details of one account as an AccountInfo entity. |
| getAccountsAccountIdActiveC | Checks if an account is active. |
| getAccountsAccountIdAgreementsC | Gets a list of the user's signed contributor agreements. |
| getAccountsAccountIdAvatarC | Retrieves the avatar image of the user. |
| getAccountsAccountIdAvatarChangeUrlC | Retrieves the URL where the user can change the avatar image. |
| getAccountsAccountIdCapabilitiesC | Returns the global capabilities that are enabled for the specified user. |
| getAccountsAccountIdCapabilitiesCapabilityIdC | Checks if a user has a certain global capability. |
| getAccountsAccountIdDetailC | Retrieves the details of an account as an AccountDetailInfo entity. |
| getAccountsAccountIdEmailsB | Returns the email addresses that are configured for the specified user. |
| getAccountsAccountIdEmailsEmailIdC | Retrieves an email address of a user. |
| getAccountsAccountIdExternalIdsC | Retrieves the external ids of a user account. |
| getAccountsAccountIdGpgkeysC | Returns the GPG keys of an account. |
| getAccountsAccountIdGpgkeysGpgKeyIdC | Retrieves a GPG key of a user. |
| getAccountsAccountIdGroupsC | Lists all groups that contain the specified user as a member. |
| getAccountsAccountIdNameB | Retrieves the full name of an account. |
| getAccountsAccountIdPreferencesC | Retrieves the user's preferences. |
| getAccountsAccountIdPreferencesDiffC | Retrieves the diff preferences of a user. |
| getAccountsAccountIdPreferencesEditC | Retrieves the edit preferences of a user. |
| getAccountsAccountIdSshkeysC | Returns the SSH keys of an account. |
| getAccountsAccountIdSshkeysSshKeyIdC | Retrieves an SSH key of a user. |
| getAccountsAccountIdStarredChangesC | Gets the changes that were starred with the default star by the identified user account. |
| getAccountsAccountIdStateB | Retrieves the superset of all information related to an account. This information is useful to inspect issues with the account and its permissions. The account state is returned as an AccountStateInfo entity. |
| getAccountsAccountIdStatusC | Retrieves the status of an account. |
| getAccountsAccountIdTokensB | Lists the token ids of an account as a list of AuthTokenInfos. The plain text token will never be returned. |
| getAccountsAccountIdUsernameC | Retrieves the username of an account. |
| getAccountsAccountIdWatchedProjectsC | Retrieves all projects a user is watching. |
| getChangesC | Queries changes visible to the caller. The query is given by the repeatable query parameter; use limit/start to page and o to request extra fields. |
| getChangesChangeIdB | Retrieves a single change as a ChangeInfo entity; request additional data with the o parameter. |
| getChangesChangeIdAttentionB | Returns all users that are currently in the attention set. As response a list of AttentionSetInfo entity is returned. |
| getChangesChangeIdCheckC | Performs consistency checks on the change, and returns a ChangeInfo entity with the problems field set to a list of ProblemInfo entities. |
| getChangesChangeIdCommentsB | Lists the published comments of all revisions of a change, grouped by file path. |
| getChangesChangeIdCustomKeyedValuesC | Gets the custom keyed values associated with a change. |
| getChangesChangeIdDetailC | Retrieves a change with labels, detailed labels, detailed accounts, reviewer updates, and messages. |
| getChangesChangeIdDraftsC | Lists the draft comments of all revisions of the change that belong to the calling user. |
| getChangesChangeIdEditC | Retrieves the change edit of the calling user, if one exists, as an EditInfo entity. |
| getChangesChangeIdEditChangeEditIdC | Retrieves content of a file from a change edit. |
| getChangesChangeIdEditChangeEditIdMetaB | Retrieves meta data of a file from a change edit. Currently only web links are returned. |
| getChangesChangeIdEditMessageC | Retrieves commit message from change edit. |
| getChangesChangeIdFlowsB | Lists the flows of a change that are visible to the caller. |
| getChangesChangeIdFlowsActionsC | Lists the flows actions that are configured for the given change. |
| getChangesChangeIdFlowsFlowIdC | Gets a flow on the change. |
| getChangesChangeIdHashtagsB | Gets the hashtags associated with a change. |
| getChangesChangeIdInC | Retrieves the branches and tags in which a change is included. As result an IncludedInInfo entity is returned. |
| getChangesChangeIdIsFlowsEnabledB | Returns whether flows are enabled for this change. |
| getChangesChangeIdMessageB | Returns the commit message of the change (from the current patch set). |
| getChangesChangeIdMessagesC | Lists the messages of a change as ChangeMessageInfo entities. |
| getChangesChangeIdMessagesChangeMessageIdD | As response a ChangeMessageInfo entity is returned. |
| getChangesChangeIdMetaDiffC | Retrieves the difference between two historical states of a change by specifying the old=SHA-1 and the meta=SHA-1 parameters. |
| getChangesChangeIdPureRevertA | Check if the given change is a pure revert of the change it references in revertOf. Optionally, the query parameter o can be passed in to specify a commit (SHA-1 in 40 digit hex representation) to check against. It takes precedence over revertOf. If the change has no reference in revertOf, the parameter is mandatory. |
| getChangesChangeIdQueryC | Evaluates whether the given change query expression matches the change. |
| getChangesChangeIdReviewersC | Lists the reviewers of a change as ReviewerInfo entities. |
| getChangesChangeIdReviewersReviewerIdC | Retrieves a reviewer of a change. |
| getChangesChangeIdReviewersReviewerIdVotesC | Lists the votes for a specific reviewer of the change. |
| getChangesChangeIdRevisionsRevisionIdC | Retrieves a revision of a change. |
| getChangesChangeIdRevisionsRevisionIdActionsC | Retrieves revision actions of the revision of a change. |
| getChangesChangeIdRevisionsRevisionIdArchiveC | Retrieves an archive of the files in a revision. |
| getChangesChangeIdRevisionsRevisionIdCommentsC | Lists the published comments of a revision, grouped by file path. |
| getChangesChangeIdRevisionsRevisionIdCommentsCommentIdC | Retrieves a published comment of a revision. |
| getChangesChangeIdRevisionsRevisionIdCommitC | Retrieves the commit of a revision as a CommitInfo entity. |
| getChangesChangeIdRevisionsRevisionIdDescriptionC | Retrieves the description of a patch set. |
| getChangesChangeIdRevisionsRevisionIdDraftsB | Lists the draft comments of the calling user on a revision, grouped by file path. |
| getChangesChangeIdRevisionsRevisionIdDraftsDraftCommentIB | Retrieves a draft comment of a revision that belongs to the calling user. |
| getChangesChangeIdRevisionsRevisionIdFilesC | Lists the files that were added, modified, or deleted in a revision. |
| getChangesChangeIdRevisionsRevisionIdFilesFileIdBlameC | Gets the blame of a file from a certain revision. |
| getChangesChangeIdRevisionsRevisionIdFilesFileIdContentC | Gets the content of a file from a certain revision. |
| getChangesChangeIdRevisionsRevisionIdFilesFileIdDiffC | Gets the diff of a file from a certain revision. |
| getChangesChangeIdRevisionsRevisionIdFilesFileIdDownloadC | Downloads the content of a file from a certain revision, in a safe format that poses no risk for inadvertent execution of untrusted code. |
| getChangesChangeIdRevisionsRevisionIdFixesFixIdPreviewC | Gets the diffs of all files for a certain \{fix-id\}. As response, a map of DiffInfo entities is returned that describes the diffs. |
| getChangesChangeIdRevisionsRevisionIdMergeableC | Returns whether a revision can be merged into the destination branch as a MergeableInfo entity. |
| getChangesChangeIdRevisionsRevisionIdMergelistB | Returns the list of commits that are being integrated into a target branch by a merge commit. By default the first parent is assumed to be uninteresting. By using the parent option another parent can be set as uninteresting (parents are 1-based). |
| getChangesChangeIdRevisionsRevisionIdPatchB | Returns the formatted patch of a revision (base64-encoded unless the raw content type is requested). |
| getChangesChangeIdRevisionsRevisionIdPortedCommentsC | Ports comments of other revisions to the requested revision. |
| getChangesChangeIdRevisionsRevisionIdPortedDraftsC | Ports draft comments of other revisions to the requested revision. |
| getChangesChangeIdRevisionsRevisionIdRelatedC | Lists the changes related to a revision by ancestry as a RelatedChangesInfo entity. |
| getChangesChangeIdRevisionsRevisionIdReviewC | Retrieves a change with the review-relevant fields (labels, messages) for a revision. |
| getChangesChangeIdRevisionsRevisionIdReviewersC | Lists the reviewers of a revision. |
| getChangesChangeIdRevisionsRevisionIdReviewersReviewerIdC | Retrieves a reviewer of a change. |
| getChangesChangeIdRevisionsRevisionIdReviewersReviewerId_2C | Lists the votes for a specific reviewer of the revision. |
| getChangesChangeIdRevisionsRevisionIdRobotcommentsC | Lists the robot comments of a revision. |
| getChangesChangeIdRevisionsRevisionIdRobotcommentsRobotCC | Retrieves a robot comment of a revision. |
| getChangesChangeIdRevisionsRevisionIdSubmitTypeC | Gets the method the server will use to submit (merge) the change. |
| getChangesChangeIdRobotcommentsC | Lists the robot comments of all revisions of the change. |
| getChangesChangeIdSubmittedTogetherB | Computes list of all changes which are submitted when Submit is called for this change, including the current change itself. |
| getChangesChangeIdSuggestReviewersC | Suggest the reviewers for a given query q and result limit n. If result limit is not passed, then the default 10 is used. |
| getChangesChangeIdTopicC | Retrieves the topic of a change. |
| getChangesChangeIdValidationOptionsC | Retrieves the validation options that apply to the change. |
| getConfigServerCachesB | Lists the caches of the server. Caches defined by plugins are included. |
| getConfigServerCachesCacheIdC | Retrieves information about a cache. |
| getConfigServerCapabilitiesA | Lists the capabilities that are available in the system. There are two kinds of capabilities: core and plugin-owned capabilities. |
| getConfigServerExperimentsC | Lists the experiments that are available in the system. |
| getConfigServerExperimentsExperimentIdC | Retrieves the details of the experiment with the given name. |
| getConfigServerIndexesA | Lists the indexes used by Gerrit. It provides details about the index versions, which index version is used to search and which versions are written to. |
| getConfigServerIndexesIndexIdB | Get an index used by Gerrit. It provides details about the index versions, which index version is used to search and which versions are written to. |
| getConfigServerIndexesIndexIdVersionsC | Lists versions of an index used by Gerrit. |
| getConfigServerIndexesIndexIdVersionsIndexVersionIdB | Get info about one version of an index used by Gerrit. |
| getConfigServerInfoB | Returns the public configuration of the Gerrit server as a ServerInfo entity. |
| getConfigServerLabelsA | Lists the globally defined labels (labels that are added programmatically via the LabelType extension point). |
| getConfigServerMetricsC | Lists the metrics of the server, returning a map of metric name to a MetricInfo entity. |
| getConfigServerMetricsMetricIdA | Retrieves a single metric of the server. The metric name is used as the \{metric-id\} and must be URL-encoded because it may contain slashes. |
| getConfigServerPreferencesB | Returns the default user preferences for the server. |
| getConfigServerPreferencesDiffA | Returns the default diff preferences for the server. |
| getConfigServerPreferencesEditB | Returns the default edit preferences for the server. |
| getConfigServerSubmitRequirementsA | Lists the globally defined submit requirements (submit requirements that are added programmatically via the SubmitRequirement extension point). |
| getConfigServerSummaryC | Retrieves a summary of the current server state. |
| getConfigServerTasksC | Lists the tasks from the background work queues that the Gerrit daemon is currently performing, or will perform in the near future. |
| getConfigServerTasksTaskIdB | Retrieves a task from the background work queue that the Gerrit daemon is currently performing, or will perform in the near future. |
| getConfigServerTopMenusC | Returns the list of additional top menu entries. |
| getConfigServerVersionC | Returns the version of the Gerrit server. |
| getGroupsC | Lists the internal groups visible to the caller. |
| getGroupsGroupIdC | Retrieves a single group as a GroupInfo entity. |
| getGroupsGroupIdDescriptionB | Retrieves the description of a group. |
| getGroupsGroupIdDetailB | Retrieves a group with the direct members and the directly included groups. |
| getGroupsGroupIdGroupsB | Lists the direct subgroups of a group. |
| getGroupsGroupIdGroupsSubgroupIdD | Retrieves a subgroup. |
| getGroupsGroupIdLogAuditC | Gets the audit log of a Gerrit internal group. |
| getGroupsGroupIdMembersC | Lists the direct members of a Gerrit internal group. |
| getGroupsGroupIdMembersMemberIdC | Retrieves a group member. |
| getGroupsGroupIdNameC | Retrieves the name of a group. |
| getGroupsGroupIdOptionsC | Retrieves the options of a group. |
| getGroupsGroupIdOwnerB | Retrieves the owner group of a Gerrit internal group. |
| getPluginsA | Lists the plugins installed on the Gerrit server. Only the enabled plugins are returned unless the all option is specified. |
| getPluginsPluginIdGerritStatusC | Retrieves the status of a plugin on the Gerrit server. |
| getProjectsC | Lists the projects accessible by the caller, optionally filtered by prefix, regex, or substring. |
| getProjectsProjectIdC | Retrieves a single project as a ProjectInfo entity. |
| getProjectsProjectIdHEADB | Retrieves for a project the name of the branch to which HEAD points. |
| getProjectsProjectIdAccessC | Lists the access rights for a single project. |
| getProjectsProjectIdBranchesC | Lists the branches of a project as BranchInfo entities. |
| getProjectsProjectIdBranchesBranchIdA | Retrieves a branch of a project. For the "All-Users" repository, the magic branch "refs/users/self" is automatically resolved to the user branch of the calling user. |
| getProjectsProjectIdBranchesBranchIdFilesFileIdContentB | Gets the content of a file from the HEAD revision of a certain branch. |
| getProjectsProjectIdBranchesBranchIdFilesFileIdDiffC | Gets the diff for a single file between two commits. The base query parameter is required (same as Diff Between Commits). |
| getProjectsProjectIdBranchesBranchIdMergeableC | Gets whether the source is mergeable with the target branch. |
| getProjectsProjectIdBranchesBranchIdReflogC | Gets the reflog of a certain branch. |
| getProjectsProjectIdBranchesBranchIdSuggestReviewersC | Suggest the reviewers for a given query q and result limit n. If result limit is not passed, then the default 10 is used. |
| getProjectsProjectIdBranchesBranchIdValidationOptionsC | Retrieves the validation options applicable for the given project and branch. |
| getProjectsProjectIdCheckAccessB | This command runs access checks for other users. This requires the View Access global capability. |
| getProjectsProjectIdChildrenC | List the direct child projects of a project. |
| getProjectsProjectIdChildrenChildProjectIdB | Retrieves a child project. If a non-direct child project should be retrieved the parameter recursive must be set. |
| getProjectsProjectIdCommitsCommitIdC | Retrieves a commit of a project. |
| getProjectsProjectIdCommitsCommitIdDiffC | Lists the files that differ between two commits. This is useful for comparing commits across multiple changes (similar to a pull request diff). |
| getProjectsProjectIdCommitsCommitIdFilesC | Lists the files that were modified, added or deleted in a commit. |
| getProjectsProjectIdCommitsCommitIdFilesFileIdContentC | Gets the content of a file from a certain commit. |
| getProjectsProjectIdCommitsCommitIdFilesFileIdDiffC | Gets the diff for a single file between two commits. The base query parameter is required (same as Diff Between Commits). |
| getProjectsProjectIdCommitsCommitIdInB | Retrieves the branches and tags in which a change is included. As result an IncludedInInfo entity is returned. |
| getProjectsProjectIdCommitsInC | Gets refs in which the specified commits were merged into. Returns a map of commits to sets of full ref names. |
| getProjectsProjectIdConfigC | Gets some configuration information about a project. Note that this config info is not simply the contents of project.config; it generally contains fields that may have been inherited from parent projects. |
| getProjectsProjectIdDashboardsC | List custom dashboards for a project. |
| getProjectsProjectIdDashboardsDashboardIdC | Retrieves a project dashboard. The dashboard can be defined on that project or be inherited from a parent project. |
| getProjectsProjectIdDescriptionC | Retrieves the description of a project. |
| getProjectsProjectIdLabelsC | Lists the labels that are defined in this project. |
| getProjectsProjectIdLabelsLabelIdB | Retrieves the definition of a label that is defined in this project. |
| getProjectsProjectIdParentB | Retrieves the name of a project's parent project. For the All-Projects root project an empty string is returned. |
| getProjectsProjectIdStatisticsGitC | Return statistics for the repository of a project. |
| getProjectsProjectIdSubmitRequirementsB | Retrieves a list of all submit requirements for this project. The inherited parameter can be supplied to also list submit requirements from parent projects. |
| getProjectsProjectIdSubmitRequirementsSubmitRequirementIC | Retrieves the definition of a submit requirement that is defined in this project. |
| getProjectsProjectIdSubmitRequirementsTemplatesA | Retrieves submit requirement templates configured in project.config and in its parent projects. |
| getProjectsProjectIdSubmitRequirementsTemplatesSubmitReqB | Retrieves a single effective submit requirement template for a project. The returned template may be defined in the project itself or inherited from one of its parent projects. |
| getProjectsProjectIdTagsC | List the tags of a project. |
| getProjectsProjectIdTagsTagIdC | Retrieves a tag of a project. |
| checks_getChangesChangeIdRevisionsRevisionIdChecksC | Retrieves all checks for a given revision and change. |
| checks_getChangesChangeIdRevisionsRevisionIdChecksCheckIdC | Retrieves a check. |
| checks_getPluginsChecksCheckersC | Retrieves all checkers. |
| checks_getPluginsChecksCheckersCheckerIdC | Retrieves a checker. |
| code_owners_getChangesChangeIdCodeOwnersStatusC | Gets the code owner statuses for the files in a change. |
| code_owners_getChangesChangeIdRevisionsRevisionIdCodeOwnersPathIdC | Suggests accounts that are code owners of a file in a change revision. |
| code_owners_getChangesChangeIdRevisionsRevisionIdOwnedPathsC | Lists the files of the revision that are owned by the specified user (see user request parameter below). |
| code_owners_getProjectsProjectIdBranchesBranchIdCodeOwnersBranchConfC | Gets the code owner branch configuration. |
| code_owners_getProjectsProjectIdBranchesBranchIdCodeOwnersCheckC | Checks the code ownership of a user for a path in a branch. |
| code_owners_getProjectsProjectIdBranchesBranchIdCodeOwnersConfigPathC | Gets a code owner config for a path in a branch. |
| code_owners_getProjectsProjectIdBranchesBranchIdCodeOwnersConfigFileC | Lists the code owner config files in a branch. |
| code_owners_getProjectsProjectIdBranchesBranchIdCodeOwnersPathIdC | Lists the accounts that are code owners of a file or folder in a branch. |
| code_owners_getProjectsProjectIdCodeOwnersProjectConfigC | Gets the code owner project configuration. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| gerrit-change-screen/SKILL.md | Render the Gerrit "change screen" for a change number using the gerrit-openapi OpenAPI→MCP bridge. Use whenever the user asks to "show the change screen", "show change screen for change N", "render change N", or otherwise display a Gerrit change's info, votes/submit-requirements, files, and comments. Read-only; never posts votes or comments. |
| gerrit-change-screen/template.html | |
| gerrit-change-screen/_manifest | File listing for gerrit-change-screen |
| gerrit-changes-list/SKILL.md | Render the Gerrit "changes list" dashboard for a query using the gerrit-openapi OpenAPI→MCP bridge. Use whenever the user asks to "show my changes", "show open changes", "show the dashboard", "list changes matching <query>", or otherwise display a table of Gerrit changes with owner, reviewers, repo/branch, size, status, and label votes. Read-only; never posts votes or comments. |
| gerrit-changes-list/template.html | |
| gerrit-changes-list/_manifest | File listing for gerrit-changes-list |
TDQS
Scored across 173 tools
With 173 tools there is heavy structural overlap: getChangesChangeIdReviewers vs getChangesChangeIdRevisionsRevisionIdReviewers, getChangesChangeIdComments vs the per-revision comments, and getAccountsAccountId vs getAccountsAccountIdDetail/State/Name all target closely-related data. The presence of a literal getChangesChangeIdRevisionsRevisionIdReviewersReviewerId_2 suffix signals near-duplicate tools an agent cannot easily distinguish. Descriptions are precise individually but the sheer volume of near-identical reviewer/comment/diff variants makes misselection likely.
Names are mechanically generated path concatenations in camelCase (getChangesChangeIdRevisionsRevisionIdFilesFileIdDiff) mixed with snake_case namespace prefixes (code_owners_, checks_), so conventions are not unified. The get-verb prefix is used throughout but conveys little since almost every tool is a read. Length and case mixing break any clean verb_noun pattern.
173 tools for a single server is a massive, machine-dumped surface far beyond what an agent can navigate coherently. It is essentially an entire REST API flattened into one namespace rather than a curated tool set. This is the extreme-mismatch end of the scale.
Read coverage is exhaustive (accounts, changes, projects, groups, config, plugins), but the surface appears to be get-only with no create/update/delete operations—no posting reviews, submitting changes, creating changes, or adding reviewers. For a code-review domain this leaves critical write workflows as dead ends despite the enormous read surface.