Skip to main content
Glama
x51xxx

OSP Marketing Tools MCP Server

by x51xxx

get_editing_codes

Access standardized semantic editing marks for content review with a teaching focus, enabling structured feedback on texts using Open Strategy Partners' documentation and protocols.

Instructions

Get the Open Strategy Partners (OSP) editing codes documentation and usage protocol for editing texts. These semantic editing marks provide a standardized framework for content review with a teaching/learning focus.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function that implements the core logic of the 'get_editing_codes' tool. It asynchronously reads the 'codes-llm.md' markdown file using the ContentReader utility and returns the content wrapped in a standardized MCP response format, or an error response if reading fails.
    async (_extra) => { try { const content = await contentReader.readMarkdownFile('codes-llm.md'); return { content: [{ type: "text", text: JSON.stringify({ success: true, data: { content } }) }] }; } catch (error) { return { content: [{ type: "text", text: JSON.stringify({ success: false, error: error instanceof Error ? error.message : String(error) }) }], isError: true }; } }
  • The registration of the 'get_editing_codes' tool within the registerTools function, specifying the tool name, description, and handler function passed to McpServer.tool().
    server.tool( "get_editing_codes", "Get the Open Strategy Partners (OSP) editing codes documentation and usage protocol for editing texts. These semantic editing marks provide a standardized framework for content review with a teaching/learning focus.", async (_extra) => { try { const content = await contentReader.readMarkdownFile('codes-llm.md'); return { content: [{ type: "text", text: JSON.stringify({ success: true, data: { content } }) }] }; } catch (error) { return { content: [{ type: "text", text: JSON.stringify({ success: false, error: error instanceof Error ? error.message : String(error) }) }], isError: true }; } } );
  • src/sse.ts:24-24 (registration)
    Invocation of registerTools in the main server setup, which registers the 'get_editing_codes' tool (and others) on the MCP server instance.
    registerTools(server, contentReader);

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/x51xxx/osp-marketing-tools-mcp'

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