Skip to main content
Glama
anggakawa

SonarQube MCP Server

by anggakawa

list_projects

Read-onlyIdempotent

Retrieve and filter SonarQube projects to analyze code quality and security findings. Use search queries and pagination to manage project lists efficiently.

Instructions

List or search SonarQube projects with pagination.

Args: query: Optional search string to filter project names/keys. page: Page number (1-indexed). page_size: Results per page (1–500).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryNo
pageNo
page_sizeNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

Annotations already provide readOnlyHint=true, destructiveHint=false, idempotentHint=true, and openWorldHint=false, covering safety and idempotency. The description adds pagination behavior and search capability context, which is useful but doesn't disclose rate limits, authentication needs, or return format details beyond what annotations provide.

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 efficiently structured with a clear purpose statement followed by parameter explanations. Every sentence adds value, and it's appropriately sized without redundancy or fluff.

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

Completeness5/5

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

Given the tool's moderate complexity, rich annotations covering safety and behavior, and the presence of an output schema (which handles return values), the description is complete enough. It explains the core functionality and parameters adequately for an agent to use it correctly.

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?

With 0% schema description coverage, the description fully compensates by explaining all three parameters: query (search filter), page (1-indexed page number), and page_size (results per page with range). It adds meaningful semantics beyond the bare schema, though it doesn't specify default values already in the schema.

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 specific action ('List or search') and resource ('SonarQube projects'), and distinguishes it from siblings by specifying it's for projects rather than issues, rules, or metrics. The mention of pagination further clarifies scope.

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

Usage Guidelines4/5

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

The description implies usage context (listing/searching projects with pagination) but doesn't explicitly state when to use this tool versus alternatives like get_project_metrics or search_issues. It provides clear operational context but lacks explicit sibling differentiation.

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/anggakawa/sonarqube-ce-mcp'

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