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
| Name | Required | Description | Default |
|---|---|---|---|
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}")]
- src/cv_resume_builder_mcp/server.py:211-218 (registration)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": {} } ),
- src/cv_resume_builder_mcp/server.py:341-342 (registration)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": {} }