Skip to main content
Glama

get_taxes

Retrieve all configured tax rates from your Siigo account to apply correct taxes when creating invoices or products.

Instructions

Get all configured taxes in the Siigo account.

Returns a list of taxes with their IDs, names, and percentages. Use these tax IDs when creating invoices or products.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The main handler function for the 'get_taxes' tool, decorated with @mcp.tool. It retrieves all configured taxes from the Siigo API using get_client.
    @mcp.tool async def get_taxes(ctx: Context) -> list[dict[str, Any]]: """Get all configured taxes in the Siigo account. Returns a list of taxes with their IDs, names, and percentages. Use these tax IDs when creating invoices or products. """ return await get_client(ctx).get("/taxes")
  • Registration of the 'get_taxes' tool in the lazy loading tool functions map, pointing to reference.get_taxes.
    "get_taxes": reference.get_taxes,
  • Metadata entry for 'get_taxes' in the TOOL_INDEX, providing name, category, and summary for discovery.
    {"name": "get_taxes", "category": "reference", "summary": "Get all configured taxes"},

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/dsfaccini/siigo-mcp'

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