Skip to main content
Glama
avivshafir

revenuebase-mcp-server

cancel_process

Stop or cancel a batch email processing job in Revenuebase by specifying the process ID. Use this tool to halt ongoing or queued tasks efficiently.

Instructions

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
process_idYes

Implementation Reference

  • Handler function for the 'cancel_process' tool. It cancels a batch email processing job by sending 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()
  • server.py:109-109 (registration)
    The @mcp.tool() decorator registers the cancel_process function as an MCP tool.
    @mcp.tool()

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

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