Skip to main content
Glama
coveyjorjet

mcp-gerrit-code-review

by coveyjorjet

query_changes

Retrieve Gerrit changes matching a query by status, project, owner, or reviewer. Returns a list of review items for further inspection.

Instructions

Query Gerrit changes using Gerrit's query syntax. Returns a list of changes matching the query. Common queries: 'status:open', 'status:merged', 'project:myproject', 'owner:self', 'reviewer:self', 'is:watched'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of results to return
queryNoGerrit query string (e.g. 'status:open', 'project:myproject')status:open
startNoOffset for pagination
optionsNoAdditional options (e.g. 'CURRENT_REVISION', 'DETAILED_ACCOUNTS')
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden. It implies a read-only operation through 'Query' and 'Returns a list', but it does not explicitly disclose that no changes are made, or mention permission requirements, error behavior, or pagination defaults. However, the read-only nature is reasonably clear from the verb.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is succinct and front-loaded with the purpose. It uses two sentences plus a list of useful query examples, with no wasted words or repetition of schema details.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description covers the tool's purpose and provides common query examples, while the schema documents all parameters. Although there is no output schema, the statement that it returns a list is sufficient for basic use. It lacks details on response fields, but that is not critical for a query tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema already describes all four parameters with examples, giving 100% coverage. The description adds value by providing additional query examples (owner:self, reviewer:self, is:watched) beyond those in the schema, which enriches the semantics of the query parameter without being redundant.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's function: 'Query Gerrit changes using Gerrit's query syntax' with a specific verb and resource. It also distinguishes from sibling tools like query_accounts and get_change_details by focusing on changes and returning a list.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides common query examples that imply usage scenarios, but it does not explicitly state when to use this tool versus alternatives such as get_change_details or list_change_files. There is no mention of when-not-to-use or alternative tool recommendations.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/coveyjorjet/mcp-gerrit-code-review'

If you have feedback or need assistance with the MCP directory API, please join our Discord server