Skip to main content
Glama
avivshafir

revenuebase-mcp-server

batch_process_email_status

Check the status of batch email processing jobs in RevenueBase to monitor progress and completion.

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 that executes the tool logic: checks for API key, constructs headers and payload, makes a POST 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()
  • Implicit schema via type hints: input process_id as int, output as dict.
    def batch_process_email_status(process_id: int) -> dict:

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