Skip to main content
Glama

update_account

Modify existing Apollo.io account details like name, domain, or phone number by providing the account ID and specific fields to update.

Instructions

Update an existing account in Apollo.io.

This tool updates account information with the provided data. Only specified fields will be updated.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
account_idYes
nameNo
domainNo
phone_numberNo

Implementation Reference

  • The main handler function for the 'update_account' MCP tool. Decorated with @mcp.tool() for automatic registration and schema inference. Implements updating an Apollo.io account via PUT API request with optional fields: name, domain, phone_number.
    @mcp.tool() async def update_account( account_id: str, name: Optional[str] = None, domain: Optional[str] = None, phone_number: Optional[str] = None ) -> Dict[str, Any]: """ Update an existing account in Apollo.io. This tool updates account information with the provided data. Only specified fields will be updated. """ endpoint = f"/v1/accounts/{account_id}" data = {} if name: data["name"] = name if domain: data["domain"] = domain if phone_number: data["phone_number"] = phone_number if not data: return {"error": "At least one field must be provided for update"} try: result = await apollo_client.make_request("PUT", endpoint, data=data) return result except httpx.HTTPStatusError as e: return {"error": f"API request failed: {e.response.status_code} {e.response.text}"} except Exception as e: return {"error": f"Request failed: {str(e)}"}

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/FromSmall2Big/Apollo-MCP'

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