Skip to main content
Glama

get_users

Retrieve all users from a Siigo account to assign as sellers or responsible parties for electronic invoicing and customer management.

Instructions

Get all users in the Siigo account.

Returns a list of users who can be assigned as sellers or responsible parties.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The main handler function for the get_users tool. It is decorated with @mcp.tool for automatic registration and fetches the list of users from the Siigo API endpoint /users.
    @mcp.tool async def get_users(ctx: Context) -> list[dict[str, Any]]: """Get all users in the Siigo account. Returns a list of users who can be assigned as sellers or responsible parties. """ return await get_client(ctx).get("/users")
  • Import statement in server.py that loads the reference.py module, thereby registering the get_users tool (along with others) via its @mcp.tool decorator in non-lazy loading mode.
    from siigo_mcp.tools import reference # noqa: E402, F401
  • Maps the get_users function to its name in the dynamic tool functions dictionary used for lazy loading and on-demand execution.
    "get_users": reference.get_users,
  • Discovery index entry for get_users, providing metadata like category and summary used in list_siigo_tools.
    {"name": "get_users", "category": "reference", "summary": "Get all users in the account"},

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