Skip to main content
Glama
avivshafir

revenuebase-mcp-server

cancel_process

Stop batch email processing jobs in Revenuebase by providing the process ID to halt ongoing or queued operations.

Instructions

Cancels an ongoing or queued batch email processing job using the Revenuebase API.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
process_idYes

Implementation Reference

  • The main handler function for the 'cancel_process' tool. It is decorated with @mcp.tool() for registration and handles canceling a batch email processing job by making a POST request to the Revenuebase API with the process_id.
    @mcp.tool() def cancel_process(process_id: int) -> dict: """ Cancels an ongoing or queued batch email processing job using the Revenuebase API. """ if not api_key: raise RuntimeError("Environment variable REVENUEBASE_API_KEY is not set") url = "https://api.revenuebase.ai/v1/cancel-process" headers = { "x-key": api_key, "Content-Type": "application/json", "Accept": "application/json", } payload = {"process_id": process_id} resp = requests.post(url, json=payload, headers=headers, verify=False) resp.raise_for_status() return resp.json()

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/avivshafir/revenuebase-mcp-server'

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