Skip to main content
Glama

read_wins

Extract achievement data from wins.md files to populate CV/resume sections with documented accomplishments.

Instructions

Read wins.md achievements file

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The core handler function for the 'read_wins' tool. It reads the 'wins.md' file from the repository path (REPO_PATH), checks if it exists, and returns its content prefixed with 'Achievements:' as TextContent, or a 'No wins.md found' message if absent.
    async def read_wins() -> list[TextContent]:
        """Read the wins.md file."""
        wins_path = Path(REPO_PATH) / "wins.md"
        
        if not wins_path.exists():
            return [TextContent(type="text", text="No wins.md found")]
        
        content = wins_path.read_text()
        return [TextContent(type="text", text=f"Achievements:\n\n{content}")]
  • Registration of the 'read_wins' tool in the @app.list_tools() function, defining its name, description, and input schema (empty object, no parameters required).
    Tool(
        name="read_wins",
        description="Read wins.md achievements file",
        inputSchema={
            "type": "object",
            "properties": {}
        }
    ),
  • Dispatch logic in the @app.call_tool() handler that routes calls to the 'read_wins' function when the tool name matches.
    elif name == "read_wins":
        return await read_wins()
  • Input schema for the 'read_wins' tool, specifying an empty object (no input parameters required).
    inputSchema={
        "type": "object",
        "properties": {}
    }

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/eyaab/cv-resume-builder-mcp'

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