Skip to main content
Glama

get_workplan

Retrieve GitHub issue workplan content to access detailed implementation plans and code feedback for development projects.

Instructions

Retrieves the workplan content (GitHub issue body) for a specified issue number.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
issue_numberYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Implementation Reference

  • The main handler function that executes the get_workplan tool logic. It extracts the repository path from the context and calls get_issue_body to retrieve the GitHub issue body content for the specified issue number.
    async def get_workplan(ctx: Context, issue_number: str) -> str:
        """Retrieves the workplan content for a specified issue number.
    
        Args:
            ctx: Server context.
            issue_number: The GitHub issue number to retrieve.
    
        Returns:
            The workplan content as a string.
    
        Raises:
            YellhornMCPError: If retrieval fails.
        """
        try:
            repo_path: Path = ctx.request_context.lifespan_context["repo_path"]
            return await get_issue_body(repo_path, issue_number)
        except Exception as e:
            raise YellhornMCPError(f"Failed to retrieve workplan: {str(e)}")
  • The @mcp.tool decorator that registers the get_workplan tool with the FastMCP server, including its name and description.
    @mcp.tool(
        name="get_workplan",
        description="Retrieves the workplan content (GitHub issue body) for a specified issue number.",
    )

Tool Definition Quality

Score is being calculated. Check back soon.

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/msnidal/yellhorn-mcp'

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