Skip to main content
Glama

list_issues

Retrieve Redmine issues by project, status, or assignee to track and manage development tasks with customizable filters and pagination.

Instructions

Returns a list of issues.

Args:
    project_id: Project ID (all projects if omitted)
    status_id: Status ID or "open" / "closed" / "*"
    assigned_to_id: Assignee ID
    limit: Number of results (max 100)
    offset: Starting offset

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idNo
status_idNo
assigned_to_idNo
limitNo
offsetNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Implementation Reference

  • The core logic implementation of the list_issues method within the RedmineClient class.
    def list_issues(
        self,
        project_id: Optional[str] = None,
        status_id: Optional[str] = None,
        assigned_to_id: Optional[int] = None,
        limit: int = 25,
        offset: int = 0,
    ) -> List[Dict[str, Any]]:
        try:
            kwargs: Dict[str, Any] = {"limit": limit, "offset": offset}
            if project_id is not None:
                kwargs["project_id"] = project_id
            if status_id is not None:
                kwargs["status_id"] = status_id
            if assigned_to_id is not None:
                kwargs["assigned_to_id"] = assigned_to_id
            return [_issue_dict(i) for i in self._redmine.issue.filter(**kwargs)]
        except (AuthError, ForbiddenError) as e:
            raise RedmineError(f"Authentication failed: {e}") from e
        except Exception as e:
            raise RedmineError(f"list_issues failed: {e}") from e
  • The MCP tool registration and wrapper function for list_issues.
    @mcp.tool()
    def list_issues(
        project_id: Optional[str] = None,
        status_id: Optional[str] = None,
        assigned_to_id: Optional[int] = None,
        limit: int = 25,
        offset: int = 0,
    ) -> List[Dict[str, Any]]:
        """Returns a list of issues.
    
        Args:
            project_id: Project ID (all projects if omitted)
            status_id: Status ID or "open" / "closed" / "*"
            assigned_to_id: Assignee ID
            limit: Number of results (max 100)
            offset: Starting offset
        """
        logger.info(
            f"tool=list_issues project_id={project_id} status_id={status_id} limit={limit}"
        )
        try:
            return _client().list_issues(
                project_id=project_id,
                status_id=status_id,
                assigned_to_id=assigned_to_id,
                limit=limit,
                offset=offset,
            )
        except RedmineError as e:
            logger.error(f"list_issues error: {e}")
            raise
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. It mentions 'max 100' for the limit parameter, which is useful, but doesn't cover other important aspects like authentication requirements, rate limits, pagination behavior, or what happens when parameters are omitted. The description is insufficient for a tool with 5 parameters and no annotation coverage.

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?

The description is efficiently structured with a brief purpose statement followed by parameter explanations. Each sentence adds value, though the initial 'Returns a list of issues' could be more specific. The parameter documentation is clear and well-organized.

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

Completeness3/5

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

Given that there's an output schema (which reduces the need to describe return values), 5 parameters with 0% schema coverage, and no annotations, the description does provide some parameter semantics but lacks important behavioral context. It's minimally adequate but has clear gaps in usage guidance and behavioral transparency.

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 provides valuable parameter semantics that aren't in the schema. It explains what each parameter does (e.g., 'all projects if omitted' for project_id, 'open/closed/*' for status_id, 'max 100' for limit) and adds meaning beyond the bare schema. However, it doesn't fully document all parameter behaviors (like what 'null' means for each parameter).

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 'Returns a list of issues' which is a clear verb+resource combination, but it doesn't distinguish this tool from sibling tools like 'search_issues_full' or 'list_issues_with_journals'. The purpose is understandable but lacks sibling differentiation.

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?

No guidance is provided about when to use this tool versus alternatives like 'search_issues_full' or 'list_issues_with_journals'. The description only lists parameters without context about appropriate use cases or exclusions.

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/daiji-sshr/redmine-mcp-stateless'

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