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

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

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
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It states the tool returns project details, implying a read-only operation, but does not cover aspects like authentication needs, error handling, rate limits, or what specific details are included in the return. This leaves significant gaps in understanding the tool's behavior.

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 concise and front-loaded, with the main purpose stated first followed by parameter details. It avoids unnecessary words, but the parameter section could be more integrated into the flow rather than a separate 'Args' block, slightly affecting structure.

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 the tool's low complexity (one parameter) and the presence of an output schema, the description is somewhat complete but lacks depth. It covers the basic purpose and parameter, but without annotations and with minimal behavioral details, it falls short of providing a full understanding for effective tool invocation.

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 minimal semantics beyond the input schema, which has 0% description coverage. It specifies that 'project_id' is a 'Project ID or identifier', but this is basic and does not elaborate on format, constraints, or examples. With one parameter and low schema coverage, the description provides some value but is insufficient for full clarity.

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 clearly states the tool's purpose with a specific verb ('Returns') and resource ('details of the specified project'), making it easy to understand what it does. However, it does not explicitly differentiate from sibling tools like 'list_projects', which returns multiple projects rather than details of a single one.

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 alternatives. It does not mention sibling tools like 'list_projects' for listing multiple projects or 'get_issue' for related resources, leaving the agent to infer usage context without explicit direction.

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