Skip to main content
Glama
jdlar1

Siigo MCP Server

by jdlar1

siigo_get_users

Retrieve the users catalog from Siigo accounting software to access and manage user information within the system.

Instructions

Get users catalog

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • MCP tool handler that invokes SiigoClient.getUsers() and returns JSON-formatted response.
    private async handleGetUsers(args: any) {
      const result = await this.siigoClient.getUsers();
      return { content: [{ type: 'text', text: JSON.stringify(result, null, 2) }] };
    }
  • src/index.ts:155-156 (registration)
    Dispatch registration in the tool switch statement.
    case 'siigo_get_users':
      return await this.handleGetUsers(args);
  • Tool registration including schema (empty input schema).
    {
      name: 'siigo_get_users',
      description: 'Get users catalog',
      inputSchema: { type: 'object', properties: {} },
    },
  • SiigoClient method that performs the GET request to /v1/users endpoint.
    async getUsers(): Promise<SiigoApiResponse<any>> {
      return this.makeRequest<any>('GET', '/v1/users');
    }
  • Generic HTTP request helper used by getUsers, handles auth and API calls.
    private async makeRequest<T>(method: string, endpoint: string, data?: any, params?: any): Promise<SiigoApiResponse<T>> {
      await this.authenticate();
    
      try {
        const response: AxiosResponse<SiigoApiResponse<T>> = await this.httpClient.request({
          method,
          url: endpoint,
          data,
          params,
        });
    
        return response.data;
      } catch (error: any) {
        if (error.response?.data) {
          return error.response.data;
        }
        throw new Error(`API request failed: ${error.message}`);
      }
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden of behavioral disclosure. 'Get users catalog' implies a read-only operation, but it lacks details on permissions, rate limits, pagination, or response format. This is inadequate for a tool with zero annotation coverage, leaving significant gaps in understanding its behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely concise ('Get users catalog') and front-loaded with the core action. There's no wasted language, making it efficient for quick comprehension, though this brevity contributes to gaps in other dimensions.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the lack of annotations and output schema, the description is incomplete. It doesn't explain what 'users catalog' entails, the return format, or any behavioral aspects like error handling. For a tool in a complex system with many siblings, more context is needed to ensure proper usage.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 0 parameters with 100% description coverage, so no parameter documentation is needed. The description doesn't add parameter details, which is appropriate here. A baseline score of 4 is given as it aligns with the schema's completeness, though it doesn't provide extra value beyond confirming the lack of parameters.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'Get users catalog' clearly states the verb ('Get') and resource ('users catalog'), making the tool's purpose understandable. However, it doesn't explicitly differentiate from sibling tools like 'siigo_get_customer' or 'siigo_get_customers', which follow a similar pattern but target different resources.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. With many sibling tools for retrieving different catalogs (e.g., 'siigo_get_customers', 'siigo_get_products'), there's no indication of context, prerequisites, or exclusions to help an agent choose appropriately.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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

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