get_writing_guide
Access the OSP writing guide and usage protocol to edit and optimize technical content, ensuring alignment with Open Strategy Partners' methodologies for effective product positioning.
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 main handler function for the 'get_writing_guide' tool. It is decorated with @mcp.tool() which also serves as the registration. The function reads the content from 'guide-llm.md' file in the script directory and returns it wrapped in a success dict, or an error if the file is not found.@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)The @mcp.tool() decorator registers the get_writing_guide function as an MCP tool.@mcp.tool()