Skip to main content
Glama

get_account_groups

Retrieve account groups for categorizing products or customers in Siigo's electronic invoicing system.

Instructions

Get all account groups/classifications.

Returns a list of account groups for categorizing products or customers.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The main handler function decorated with @mcp.tool that implements the tool logic by calling the Siigo API endpoint for account groups.
    @mcp.tool async def get_account_groups(ctx: Context) -> list[dict[str, Any]]: """Get all account groups/classifications. Returns a list of account groups for categorizing products or customers. """ return await get_client(ctx).get("/account-groups")
  • Import statement in the server that loads the reference.py module, thereby registering the get_account_groups tool via its decorator in non-lazy mode.
    from siigo_mcp.tools import reference # noqa: E402, F401
  • Discovery metadata in TOOL_INDEX providing the tool's name, category, and summary description for list_siigo_tools.
    {"name": "get_account_groups", "category": "reference", "summary": "Get all account groups"},
  • Dynamic tool function mapping in lazy loading mode for executing get_account_groups via call_siigo_tool.
    "get_account_groups": reference.get_account_groups,

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