Skip to main content
Glama

get_users

Retrieve all users from a Siigo account to assign them as sellers or responsible parties for electronic invoicing and business 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 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' using the get_client utility.
    @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 the main server file that loads the reference.py module, thereby registering the get_users tool (and other reference tools) via their @mcp.tool decorators when not operating in lazy tools mode.
    from siigo_mcp.tools import reference # noqa: E402, F401
  • Registration of the get_users tool in the lazy-loading tool functions dictionary, mapping the tool name to the imported reference.get_users function.
    "get_users": reference.get_users,
  • Schema/discovery entry in TOOL_INDEX providing metadata (name, category, summary) for the get_users tool, used by 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