Skip to main content
Glama

update_client

Modify client information in FreshBooks by specifying the client ID and desired changes to fields like contact details or billing preferences.

Instructions

Update a client. Pass any writable client fields.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
client_idYes
updatesYes

Implementation Reference

  • The update_client tool definition and handler in the FreshBooks MCP server. It uses the accounting_update client helper to perform the update.
    @mcp.tool()
    @_handle_errors
    async def update_client(client_id: int, updates: dict) -> str:
        """Update a client. Pass any writable client fields."""
        result = await client.accounting_update("users/clients", client_id, "client", updates)
        c = result.get("client", result)
        return f"Client {c.get('id')} updated."

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/AlexlaGuardia/MCP-Freshbooks'

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