Skip to main content
Glama

get_editing_codes

Retrieve the Open Strategy Partners (OSP) editing codes documentation and usage protocol to ensure accurate text editing and alignment with OSP methodologies.

Instructions

Get the Open Strategy Partners (OSP) editing codes documentation and usage protocol for editing texts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function for the 'get_editing_codes' tool, decorated with @mcp.tool() for automatic registration in the FastMCP server. It reads the content of 'codes-llm.md' from the script directory and returns it wrapped in a success dict, or an error if the file is missing.
    @mcp.tool() async def get_editing_codes() -> dict: """Get the Open Strategy Partners (OSP) editing codes documentation and usage protocol for editing texts.""" script_dir = os.path.dirname(os.path.abspath(__file__)) try: with open(os.path.join(script_dir, 'codes-llm.md'), 'r') as f: content = f.read() return { "success": True, "data": { "content": content } } except FileNotFoundError: return { "success": False, "error": "Required file 'codes-llm.md' not found in script directory" }

Other Tools

Related 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/open-strategy-partners/osp_marketing_tools'

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