Skip to main content
Glama

get_issues_by_severity

Retrieve technical debt issues filtered by severity level (low, medium, high, or critical) for a given project path to prioritize remediation.

Instructions

Get all issues of a specific severity level.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "path": "<path>",
      "severity": "<severity>"
    },
    "name": "get_issues_by_severity"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesAbsolute path to the project root directory
severityYesSeverity level to filter by

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.1

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden. It does not state that this is a read-only operation, whether results are paginated or capped despite the word 'all', whether issues are deduplicated, or what fields each issue contains. For a tool with zero annotation coverage, one sentence of behavior is a significant gap.

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

Conciseness4/5

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

A single front-loaded sentence with zero filler, so it is maximally concise. However, the brevity is partly under-specification rather than efficiency, since no sentence carries behavioral or usage information.

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?

With no output schema, the description must explain the return value, and it does not say what an 'issue' object looks like, whether the list is bounded, or how results are ordered. For a simple two-parameter tool the gaps are limited but real, and none are covered elsewhere.

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?

Schema coverage is 100%, and both parameters (path, severity enum) are fully documented in the schema itself, so the baseline is 3. The description adds only that severity acts as a filter, which the schema already conveys; it adds no meaning about path scope (project root vs. file) or what happens if the path is invalid.

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

Purpose4/5

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

The description states a specific verb ('Get') and resource ('issues') with an explicit filter dimension ('specific severity level'), which lets an agent distinguish it from get_issues_by_category. It stops short of naming or contrasting any sibling explicitly, so it sits at clear-but-undifferentiated.

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?

There is no when-to-use guidance, no mention of when to prefer get_issues_by_category or get_vulnerability_report, and no prerequisites or exclusions. The only implied usage is 'call this when you want issues filtered by severity,' which is fully derivable from the name alone.

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