Skip to main content
Glama

get_project

Retrieve project details by ID from Redmine to access information about specific projects in your team's workflow.

Instructions

Returns details of the specified project.

Args:
    project_id: Project ID or identifier

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYes

Implementation Reference

  • The implementation of the get_project logic in the RedmineClient class.
    def get_project(self, project_id: str) -> Dict[str, Any]:
        try:
            return _project_dict(self._redmine.project.get(project_id))
        except ResourceNotFoundError:
            raise RedmineError(f"Project not found: {project_id}")
        except (AuthError, ForbiddenError) as e:
            raise RedmineError(f"Authentication failed: {e}") from e
        except Exception as e:
            raise RedmineError(f"get_project failed: {e}") from e
  • The MCP tool registration and wrapper for the get_project tool.
    @mcp.tool()
    def get_project(project_id: str) -> Dict[str, Any]:
        """Returns details of the specified project.
    
        Args:
            project_id: Project ID or identifier
        """
        logger.info(f"tool=get_project project_id={project_id}")
        try:
            return _client().get_project(project_id)
        except RedmineError as e:
            logger.error(f"get_project error: {e}")
            raise

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