Skip to main content
Glama

cleanup_old_ranges

Delete test and temporary ranges while preserving production ranges for specified users. Requires confirmation to prevent accidental deletion.

Instructions

Delete all ranges EXCEPT those belonging to specified users.

Useful for cleaning up test/temporary ranges while keeping production ones.

Args: keep_user_ids: List of user IDs whose ranges should be KEPT (not deleted) confirm: Must be set to True to actually delete (safety measure)

Returns: Deletion results

Example: # Keep ranges for 'admin' and 'tjnull', delete all others result = await cleanup_old_ranges( keep_user_ids=["admin", "tjnull"], confirm=True )

Safety: - Requires confirm=True to prevent accidental deletion - Shows preview of what will be deleted - Explicitly protects specified user ranges

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keep_user_idsYes
confirmNo

Other 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/tjnull/Ludus-FastMCP'

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