Skip to main content
Glama
avivshafir

revenuebase-mcp-server

batch_process_email_status

Retrieve the status of batch email processing jobs by providing the process ID. Useful for monitoring and managing email workflows efficiently.

Instructions

Retrieves status of batch email processing job.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
process_idYes

Implementation Reference

  • server.py:11-26 (handler)
    The main handler function for the 'batch_process_email_status' tool. It checks for API key, constructs the request to the Revenuebase API endpoint for batch email status, and returns the JSON response.
    def batch_process_email_status(process_id: int) -> dict: """ Retrieves status of batch email processing job. """ if not api_key: raise RuntimeError("Environment variable REVENUEBASE_API_KEY is not set") url = "https://api.revenuebase.ai/v1/batch-process-email-status" 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:10-10 (registration)
    Registers the batch_process_email_status function as an MCP tool using the FastMCP decorator.
    @mcp.tool()
  • Function signature defining the input schema (process_id: int) and output (dict).
    def batch_process_email_status(process_id: int) -> dict:

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