Skip to main content
Glama
norman-finance

Norman Finance MCP Server

Official

get_company_balance

Retrieve company balance details using the Norman Finance MCP Server to access and manage financial data for accounting and tax workflows.

Instructions

Get the current balance of the company. Returns: Company balance information

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The async handler function that implements the get_company_balance tool logic, fetching the balance via the Norman API after checking authentication.
    @mcp.tool() async def get_company_balance(ctx: Context) -> Dict[str, Any]: """ Get the current balance of the company. Returns: Company balance information """ api = ctx.request_context.lifespan_context["api"] company_id = api.company_id if not company_id: return {"error": "No company available. Please authenticate first."} balance_url = urljoin( config.api_base_url, f"api/v1/companies/{company_id}/balance/" ) return api._make_request("GET", balance_url)
  • Registration call that adds the company tools (including get_company_balance) to the MCP server instance.
    register_company_tools(server)
  • Function that defines and registers the company tools using @mcp.tool() decorators.
    def register_company_tools(mcp): """Register all company-related tools with the MCP server."""

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/norman-finance/norman-mcp-server'

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