Skip to main content
Glama

delete_runbook

Remove a runbook by specifying its name to manage and organize your runbook operations effectively on the MCP Runbook server.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes

Implementation Reference

  • The main handler function for the 'delete_runbook' tool. It is registered via the @mcp.tool() decorator. Deletes the runbook file by name using the search engine and removes it from the filesystem.
    @mcp.tool()
    async def delete_runbook(name: str) -> str:
        r = store.get_runbook_by_name(name)
    
        file_path = os.path.join(conf.runbooks_dir, r)
        if os.path.exists(file_path):
            os.remove(file_path)
    
        search_engine.create_index()
        return "Deleted the runbook"

Tool Definition Quality

Score is being calculated. Check back soon.

Install Server

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/runbookai/runbook-mcp-server'

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