Skip to main content
Glama
lemenkov
by lemenkov

get_project_info

Retrieve detailed project information from Pagure git forges to access repository data, manage files, and handle pull request workflows.

Instructions

Get detailed information about a Pagure project.

Args: project: Project name (e.g., 'python3', 'kernel') namespace: Project namespace (default: rpms)

Returns: JSON string with project details

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectYes
namespaceNorpms

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Implementation Reference

  • The handler for the 'get_project_info' MCP tool, defined as an async function and decorated with @mcp.tool(). It retrieves project details using the Pagure client.
    async def get_project_info(
        project: str,
        namespace: str = "rpms",
    ) -> str:
        """Get detailed information about a Pagure project.
    
        Args:
            project: Project name (e.g., 'python3', 'kernel')
            namespace: Project namespace (default: rpms)
    
        Returns:
            JSON string with project details
        """
        client = get_client()
        result = await client.get_project(project, namespace)
    
        return result.model_dump_json(indent=2)
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. It states this is a read operation ('Get'), which is helpful, but lacks details on permissions, rate limits, error handling, or what 'detailed information' includes beyond the return format. For a tool with no annotations, this leaves significant behavioral gaps.

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 well-structured with a clear purpose statement followed by Args and Returns sections. It's front-loaded and efficient, with no wasted sentences, though the formatting as a code block might slightly reduce readability in some contexts.

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 (2 parameters, no nested objects) and the presence of an output schema (which covers return values), the description is minimally adequate. However, with no annotations and incomplete behavioral details, it doesn't fully prepare the agent for edge cases or integration nuances.

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 compensates by explaining both parameters: 'project' as the project name with examples, and 'namespace' with its default value. This adds meaningful context beyond the bare schema, though it doesn't cover all possible nuances like format constraints or valid namespaces.

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 verb 'Get' and resource 'detailed information about a Pagure project', making the purpose specific and understandable. It doesn't explicitly distinguish from siblings like 'list_projects' or 'get_pull_request', but the focus on detailed information for a specific project is clear enough to avoid confusion.

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 on when to use this tool versus alternatives like 'list_projects' (for listing) or 'get_pull_request' (for PR details). The description implies usage for retrieving project details but lacks explicit context, prerequisites, or exclusions, leaving the agent to infer based on tool names 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

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/lemenkov/mcp-pagure'

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