Skip to main content
Glama
adepanges

TeamRetro MCP Server

list_users

Retrieve and manage user data with pagination on TeamRetro MCP Server. Specify limit and offset to filter results for efficient user list retrieval.

Instructions

List users with pagination

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNonumber
offsetNonumber

Implementation Reference

  • Core handler function that executes the API request to list users with optional pagination parameters offset and limit.
    async listUsers(params?: {
      offset?: number;
      limit?: number;
    }): Promise<ListApiResponse<User>> {
      const searchString = createSearchParams({
        offset: { value: params?.offset },
        limit: { value: params?.limit },
      });
    
      return this.get<ListApiResponse<User>>(`/v1/users?${searchString}`);
    }
  • Registration of the 'list_users' tool, including schema, description, and wrapper handler that calls the service.
    list_users: {
      schema: paginationSchema,
      description: "List users with pagination using offset and limit parameters to control the number of results returned",
      handler: async (args: { offset?: number; limit?: number }) =>
        createToolResponse(usersService.listUsers(args)),
    },
  • Zod input schema for pagination parameters (offset, limit) used by the list_users tool.
    export const paginationSchema = z.object({
      offset: z.number().int().min(0).default(0).describe("number"),
      limit: z.number().int().min(1).max(1000).default(1000).describe("number"),
    });
  • src/tools.ts:13-22 (registration)
    Top-level aggregation and registration of all feature tools including userTools (which contains list_users).
    const tools = {
      ...userTools,
      ...teamTools,
      ...teamMembersTools,
      ...actionTools,
      ...retrospectiveTools,
      ...agreementTools,
      ...healthModelTools,
      ...healthCheckTools,
    };
  • Export of the usersService instance used by the list_users handler.
    export const usersService = new UsersService();
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It mentions 'pagination' which hints at a read-only, list operation, but doesn't specify whether this requires authentication, rate limits, or what the output format looks like (e.g., array of user objects). For a tool with zero annotation coverage, this is insufficient.

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 a single, efficient sentence with zero waste. It's front-loaded with the core purpose ('List users') and adds only essential context ('with pagination'). Every word earns its place, making it highly concise and well-structured.

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 tool's complexity (a list operation with pagination), lack of annotations, and no output schema, the description is incomplete. It doesn't explain what the tool returns (e.g., user objects, total count), authentication needs, or error conditions. For a tool with no structured behavioral data, more context is needed.

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

Parameters3/5

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

Schema description coverage is 100%, so the schema fully documents the 'limit' and 'offset' parameters with defaults and constraints. The description adds no additional meaning beyond implying pagination, which is already clear from the parameter names. Baseline 3 is appropriate when the schema does the heavy lifting.

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 clearly states the verb ('List') and resource ('users'), making the purpose immediately understandable. It distinguishes from siblings like 'get_user' (singular) and 'add_user' (creation). However, it doesn't specify what kind of listing this is (e.g., all users, filtered users) beyond pagination.

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 like 'get_user' (for single user details) or 'list_team_members' (for users within a team). There's no mention of prerequisites, context, or exclusions, leaving the agent to infer usage from tool names alone.

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

Related 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/adepanges/teamretro-mcp-server'

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