Skip to main content
Glama
avivshafir

revenuebase-mcp-server

batch_email_submission

Process batch email submissions efficiently by uploading a file reference via the Revenuebase API. Automates email workflows for streamlined communication.

Instructions

Submits a file reference for batch email processing using the Revenuebase API.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filenameYes

Implementation Reference

  • The main handler function for the 'batch_email_submission' tool. It is registered via the @mcp.tool() decorator and handles submitting a filename to the Revenuebase API endpoint for batch email processing, returning the API response.
    @mcp.tool() def batch_email_submission(filename: str) -> dict: """ Submits a file reference for batch email processing using the Revenuebase API. """ if not api_key: raise RuntimeError("Environment variable REVENUEBASE_API_KEY is not set") url = "https://api.revenuebase.ai/v1/batch-process-email" headers = { "x-key": api_key, "Content-Type": "application/json", "Accept": "application/json", } payload = {"filename": filename} resp = requests.post(url, json=payload, headers=headers, verify=False) resp.raise_for_status() return resp.json()

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