Skip to main content
Glama

delete_inbox

Remove an email inbox and all associated messages to clean up disposable email accounts after use.

Instructions

Delete an inbox and all its emails.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inbox_idYesThe inbox ID to delete

Implementation Reference

  • The implementation and registration of the 'delete_inbox' tool. It uses the 'blipFetch' helper to send a DELETE request to the API.
    server.tool(
      "delete_inbox",
      "Delete an inbox and all its emails.",
      {
        inbox_id: z.string().describe("The inbox ID to delete"),
      },
      async ({ inbox_id }) => {
        await blipFetch(`/v1/inboxes/${inbox_id}`, { method: "DELETE" });
        return {
          content: [{ type: "text", text: `Inbox ${inbox_id} deleted.` }],
        };
      }
    );

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/blipemail/blip'

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