Skip to main content
Glama

get_expense

Retrieve detailed information for a specific expense entry in FreshBooks to track costs and manage business finances.

Instructions

Get full details of a specific expense.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
expense_idYes

Implementation Reference

  • The handler function for the 'get_expense' tool, which fetches details of a specific expense from FreshBooks.
    @mcp.tool()
    @_handle_errors
    async def get_expense(expense_id: int) -> str:
        """Get full details of a specific expense."""
        result = await client.accounting_get("expenses/expenses", expense_id)
        return _fmt(result.get("expense", result))

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