Skip to main content
Glama
dozzman
by dozzman

fetch_sonarcloud_issues

Retrieve and filter SonarCloud issues for a specific pull request, enabling developers to identify and address code quality problems efficiently.

Instructions

Fetch SonarCloud issues for a specific pull request

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
additionalFieldsNoComma-separated list of the optional fields to be returned in response. Action plans are dropped in 5.5, it is not returned in the response.
ascNoAscending sort (default: true)
assignedNoTo retrieve assigned or unassigned issues
assigneesNoComma-separated list of assignee logins. The value '__me__' can be used as a placeholder for user who performs the request
authorNoSCM accounts. To set several values, the parameter must be called once for each value.
branchNoBranch key
cleanCodeAttributeCategoriesNoComma-separated list of clean code attribute categories.
componentKeysNoComma-separated list of component keys. Retrieve issues associated to a specific list of components (and all its descendants). A component can be a project, directory or file.
createdAfterNoTo retrieve issues created after the given date (inclusive). Either a date (server timezone) or datetime can be provided. If this parameter is set, createdSince must not be set
createdAtNoDatetime to retrieve issues created during a specific analysis
createdBeforeNoTo retrieve issues created before the given date (inclusive). Either a date (server timezone) or datetime can be provided.
createdInLastNoTo retrieve issues created during a time span before the current time (exclusive). Accepted units are 'y' for year, 'm' for month, 'w' for week and 'd' for day. If this parameter is set, createdAfter must not be set
cweNoComma-separated list of CWE identifiers. Use 'unknown' to select issues not associated to any CWE.
facetsNoComma-separated list of the facets to be computed. No facet is computed by default.
impactSeveritiesNoComma-separated list of impact severities.
impactSoftwareQualitiesNoComma-separated list of software qualities.
issueStatusesNoComma-separated list of issue statuses
issuesNoComma-separated list of issue keys
languagesNoComma-separated list of languages. Available since 4.4
onComponentOnlyNoReturn only issues at a component's level, not on its descendants (modules, directories, files, etc). This parameter is only considered when componentKeys or componentUuids is set. (default: false)
organizationNoOrganization key
owaspTop10NoComma-separated list of OWASP Top 10 lowercase categories.
owaspTop10-2021NoComma-separated list of OWASP Top 10 - 2021 lowercase categories.
pNo1-based page number (default: 1)
psNoPage size. Must be greater than 0 and less or equal than 500 (default: 100)
pullRequestNoPull request id
resolvedNoTo match resolved or unresolved issues
rulesNoComma-separated list of coding rule keys. Format is <repository>:<rule>
sNoSort field
sinceLeakPeriodNoTo retrieve issues created since the leak period. If this parameter is set to a truthy value, createdAfter must not be set and one component id or key must be provided. (default: false)
sonarsourceSecurityNoComma-separated list of SonarSource security categories. Use 'others' to select issues not associated with any category
tagsNoComma-separated list of tags.
tokenNoSonarCloud API token (optional if set in environment)
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure but fails to do so. It doesn't mention whether this is a read-only operation, if it requires authentication (implied by the 'token' parameter but not stated), rate limits, pagination behavior (implied by 'p' and 'ps' parameters), or what the response format looks like. This is inadequate for a tool with 33 parameters and no output schema.

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 a single, efficient sentence that directly states the tool's purpose without unnecessary words. It's appropriately sized and front-loaded, making it easy for an agent to parse quickly, though its brevity contributes to gaps in other dimensions.

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

Completeness2/5

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

Given the tool's complexity (33 parameters, no annotations, no output schema), the description is incomplete. It doesn't address behavioral aspects like authentication needs, pagination, or response format, nor does it guide usage relative to the sibling tool. For a data-fetching tool with many filtering options, more context is needed to help the agent use it effectively.

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

Parameters3/5

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

The description adds no parameter semantics beyond what the input schema provides. Since schema description coverage is 100%, the schema already documents all 33 parameters thoroughly. The description doesn't explain key parameters like 'pullRequest' or how filtering works, so it meets the baseline of 3 without adding value over the structured data.

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

Purpose3/5

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

The description states the tool's purpose as 'Fetch SonarCloud issues for a specific pull request', which includes a verb ('fetch') and resource ('SonarCloud issues'). However, it's vague about what 'fetch' entails (e.g., retrieving, listing, or filtering issues) and doesn't differentiate from the sibling tool 'summarize_sonarcloud_issues', leaving ambiguity about when to use each.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus the sibling 'summarize_sonarcloud_issues' or other alternatives. It lacks context about prerequisites, such as needing a pull request ID or authentication, and offers no explicit when/when-not scenarios, leaving the agent to infer usage from parameters alone.

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

Related 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/dozzman/sonarcloud-mcp'

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