get_writing_guide
Access the Open Strategy Partners writing guide and editing protocols to improve technical content and product positioning using established methodologies.
Instructions
Get the Open Strategy Partners (OSP) writing guide and usage protocol for editing texts.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/osp_marketing_tools/server.py:49-66 (handler)The handler function for the 'get_writing_guide' tool. It reads the OSP writing guide from 'guide-llm.md' and returns it, with error handling for missing file.@mcp.tool() async def get_writing_guide() -> dict: """Get the Open Strategy Partners (OSP) writing guide and usage protocol for editing texts.""" script_dir = os.path.dirname(os.path.abspath(__file__)) try: with open(os.path.join(script_dir, 'guide-llm.md'), 'r') as f: content = f.read() return { "success": True, "data": { "content": content } } except FileNotFoundError: return { "success": False, "error": "Required file 'writing-llm.md' not found in script directory" }
- src/osp_marketing_tools/server.py:49-49 (registration)Registers the get_writing_guide function as an MCP tool using the FastMCP decorator.@mcp.tool()